Lars Vogel wrote: > I believe my question was lost due to mailing list troubles...
Paulo answered your question: "There's a couple of examples in the book but you must realize that there isn't any automatic way to create TOCs in PDFs. The best way is to do two passes, collecting the page positions in the first pass and generating the TOC and the content in the second pass." I saw your question too (with some delay), but I didn't really understand what you were asking. "how to create a table of content referrening to the correct page number of the sections?" can be interpreted in different ways. Are you saying you are using Chapter/Section and the outlines don't point to the correct page? Do you want to page number to appear in the outlines? Are you even talking about the outlines in the Bookmarks panel, or are you talking about a TOC on a page in the PDF? You should specify. br, Bruno ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/