[tex4ht] TOC as an HTML aside

Daniel Becker d.becker at jpberlin.de
Wed Jun 1 13:13:31 CEST 2016

Hallo -

>> I would like to see the table of contents of my TeX document displayed
>> as some kind of navigation menu, probably as an HTML aside in a fixed
>> position on the side of the page.  I am sure I can hack it up with a
>> bit of scripting, but I am not sure which is the best approach to start.
> you can create such navigational menu using simple CSS:

here is another example:

Website: http://www.jpberlin.de/d.becker/
TeX-File: http://www.jpberlin.de/d.becker/website.tex
Configuration: http://www.jpberlin.de/d.becker/htlatexconf.cfg

pdflatex --shell-escape website.tex

bibtex website.tex

pdflatex --shell-escape website.tex

pdflatex --shell-escape website.tex

htlatex website.tex "htlatexconf"

Hope this helps -


More information about the tex4ht mailing list