View Single Post
Old 09-03-2023, 01:55 PM   #2
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 5,302
Karma: 98809518
Join Date: Apr 2011
Device: pb360
You might try using pandoc to do the PDF conversion. I don't know where it would put the TOC or whether there is some option to control the location.

Another possibility is using pandoc to convert to asciidoc format, then use either asciidoc or asciidoctor to make the PDF.

It has been a long time since I have used pandoc, asciidoc, or asciidoctor. All of these have had a lot of development since then. The last time I generated a PDF with asciidoc, the in document TOC was near the front with a link to each entry and a TOC which PDF viewers with TOC support can use.
j.p.s is online now   Reply With Quote