I am trying to generate a RTF document by hand and eventually will do it programtically. I plan to improve pyRTF so that it can generate \"Table of contents\", which I think
I am creating a Table with hyperlinks to bookmarks to title on various pages.
e.g.
'{\\field{\\*\\fldinst HYPERLINK \\\\l "%s"} {\\fldrslt %s}}'%(bookmark, text) "{\\field{\\*\\fldinst PAGEREF %s }}"%bookmark