I am trying generate html from a reST document, both the body of the document and a table of contents, each contained in separate variables. I had initially assumed that there would be a 'toc' key in publish_parts, but apparently there is not. Is there a relatively easy way to achieve this? -- http://mail.python.org/mailman/listinfo/python-list