![]() |
#1 |
Junior Member
![]() 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 |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,414
Karma: 99236514
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. |
![]() |
![]() |
![]() |
#3 |
the rook, bossing Never.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,226
Karma: 89531599
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. |
![]() |
![]() |
![]() |
Tags |
calibre, ebook-convert, markdown pdf md |
|
![]() |
||||
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 |