Single HTML file with TOC


Frank Dissinger
 

Hi list,


Using DITA-OT, I would like to generate a single HTML file from a single dita reference file. The HTML file should have a TOC at the beginning, generated from all headings (topic and section titles). In other words, a TOC followed by the actual file contents, all in one HTML file. Can this be done?


I know that a TOC is usually created from the files referenced by a ditamap. But this use case requires a very simple source file which is easy to edit. Creating separate files for each heading would be too much work.


Regards,

Frank

--

Frank Dissinger

Documentation Manager

....................................................................

CGS Publishing Technologies International GmbH

Email frank.dissinger@... | Web www.cgs-oris.com

Address Kettelerstr. 24 | D-63512 Hainburg | Germany

Phone +49 6182 9626-27 | Fax +49 6182 9626-99

Commercial register Offenbach, HRB no. 21495

Managing directors Bernd Rückert, Andreas Kämmerer, Christoph Thommessen

Join main@dita-users.groups.io to automatically receive all group messages.