Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > PDF

Notices

Reply
 
Thread Tools Search this Thread
Old 09-03-2023, 12:33 AM   #1
mdw123456
Junior Member
mdw123456 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2015
Device: Kindle
How to create TOC at the start of PDF using ebook-convert

ebook-convert man pages show

I am converting from md to pdf

--pdf-add-toc
Add a Table of Contents at the end of the PDF that lists page numbers.

is there a way I can add this TOC at the start of the pdf. Also with links to the chapter
mdw123456 is offline   Reply With Quote
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,263
Karma: 98804578
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 offline   Reply With Quote
Advert
Old 09-03-2023, 03:00 PM   #3
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 10,794
Karma: 83992591
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
Export to docx or rtf.
Read and edit in MS Word or LO Writer.
Add page numbers, headers, footers, TOC, indexes, front & rear matter style etc as desired. Export a PDF.
Quoth is offline   Reply With Quote
Reply

Tags
calibre, ebook-convert, markdown pdf md

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ebook-convert changes width of pdf pdf-odd-even-offset and pdf-add-toc used both Lafisrap Conversion 4 09-04-2020 06:43 AM
How can I format the TOC in a PDF created by ebook-convert cli command? Lafisrap Conversion 1 07-28-2020 12:04 PM
Ho do I create a TOC for ePub which does convert to an active TOC in Kindle Previewer K-Thom Calibre 1 09-24-2013 06:32 PM
Convert TOC to PDF Bookmarks Dillinquent Conversion 1 08-23-2011 09:19 AM
create Periodical from HTML with ebook-convert. schnidrig Conversion 11 03-30-2011 10:34 AM


All times are GMT -4. The time now is 09:57 AM.


MobileRead.com is a privately owned, operated and funded community.