View Single Post
Old 09-04-2024, 01:40 PM   #15
Whip
Member
Whip began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Sep 2024
Device: none
Thank you DNSB for the suggestion, that was very helpful.

I am so close!

I have the Xpath expression I can use in the editor which lets me enter separate XPath expressions for header-depths of 1-5. However, the command-line tool ebook-convert only has flags for levels 1-3 (--level1-toc, --level2-toc, --level3-toc).

Is it possible to use the command line tool to generate a toc with levels 4+5?
Whip is offline   Reply With Quote