ToC in PDF with Arbortext editor
Forum topic: Submitted by sorenweimann on Tue, 2009-06-02 11:03.
Anyone out there who can tell me how to a ToC in my PDF output?
I have a map that incudes some preface stuff and then I'd like a ToC before the actual content.
I assume I will need to include an element of some sort, but I can't figure out which one.
Regards,
Søren Weimann
It will depend on the PDF output processing
It kinda depends on what you are using to process your content to PDF.
If the output processing knows that the TOC goes after the preface, it can just do this automatically without requiring you to specify that the table of contents goes there.
Bookmaps have a <toc/> element to indicate that the location of the <toc/> element is the location where you want the table of contents generated. It won't do anything unless you're both using bookmaps and have output processing for PDF output which respects the element, though.
What are you using to get PDF output?
Bookmaps was the answer
I figured it out.
I was working in map, not a bookmap.
For those of you who don't know the answer, but want to...
1. I moved to a bookmap
2. created a <booklists> in the <frontmatter>
3. Created a <toc> in the <booklists>