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?
|