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

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 07-28-2020, 09:55 AM   #1
Lafisrap
Junior Member
Lafisrap began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jul 2020
Device: Kindle Reader
How can I format the TOC in a PDF created by ebook-convert cli command?

I convert an md file to PDF using ebook-convert. At the end of the text a TOC is created from the <H1> and <H2> tags in the document. This is because I use

--level1--toc '//h:h1' and
--level2--toc '//h:h2'

command line options. How can I format the TOC using the css file I link in by

--extra-css <... css file>

?

How are the tag names of the table of content in the PDF?
Lafisrap is offline   Reply With Quote
Old 07-28-2020, 12:04 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,080
Karma: 57259778
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Moderator Notice
Please read stickies before posting (in development). Development is for Developer interactions. Moved to conversions
theducks is online now   Reply With Quote
Advert
Reply

Tags
css, ebook-convert, markdown, pdf, toc

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert Image PDF to PDF with text or other ebook format. Memes PDF 7 05-01-2023 04:52 PM
ebook-convert pdf to mobi command bosun120 Conversion 0 03-28-2012 11:22 PM
How to easily convert a MobiPocket created E-book Quiz to a .pdf format ACLinn Introduce Yourself 5 03-12-2011 07:37 AM
Convert PDF To Sony eBook Format? Sjwdavies Sony Reader 12 12-13-2009 03:15 AM


All times are GMT -4. The time now is 11:22 PM.


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