Closed caraya closed 9 years ago
Table of content is now working.
Issue was that we were creating IDs in the wrong element during XSLT transformation. Title elements are also transformed to h1. I was creating the IDs in h1, not title elements :-)
Remaining issue is to place the table of content as the first child after the title page. RIght now it's either at the top of the document or at the end.
The table works and links to the right content but now displays either as the first page of the document or as the last, not in the place where apply template with toc mode
Added an empty toc element to the Document Model to indicate where the TOC is to be generated. It seems to be working
Figuring out how to build the table of contents for PDF output