ParentFull threadadzicg·"pandoc --toc" puts a TOC in when creating pdf files. You can also use "--toc-depth=XXX" to select how many levels of headings you want in the toc. page numbers also get added automatically I think when using the book docclass.View on HN