Sounds like it would be sanest for you to insert a blank page where the TOC would be, build your file while keeping track of pertinent info, then go back and open that blank page and put your TOC in.
Another solution would be to build each piece separately. So, you build your file and keep track of info. Then, you build your TOC as a completely separate PDF. There are dozens of ways of concatenating PDFs together, many of which use ghostscript (gs). YMMV
My criteria for good software:
- Does it work?
- Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
| [reply] |
There is a way to generate pdf that gives you a table of contents for free: By generating a latex file and then using dvipdf to make a pdf out of that. Table of content generation is built into latex
I don't know if that is possible or even advisable for what you want to do, since you didn't say. But if you know some latex already and you need to generate professional looking text, it might be just the right solution for you
| [reply] |