Removed special handling of table of contents (only saves a little typing in documents), and patched up regular expression handling a bit.  Now this extension is benign in operation on most of the rst2pdf tests.
Removed special handling of table of contents (only saves
a little typing in documents), and patched up regular expression
handling a bit.  Now this extension is benign in operation on
most of the rst2pdf tests.



git-svn-id: 305ad3fa995f01f9ce4b4f46c2a806ba00a97020@1725 3777fadb-0f44-0410-9e7f-9d8fa6171d72

sychen/rst2pdf,aquavitae/rst2pdf,aquavitae/rst2pdf,aquavitae/rst2pdf-py3-dev,tonioo/rst2pdf,aquavitae/rst2pdf-py3-dev,sychen/rst2pdf,openpolis/rst2pdf-patched-docutils-0.8,tonioo/rst2pdf,openpolis/rst2pdf-patched-docutils-0.8