View Single Post
Old 04-21-2010, 10:13 PM   #7
EnergyLens
Hack
EnergyLens began at the beginning.
 
Posts: 34
Karma: 12
Join Date: Dec 2009
Device: Kobo Aura HD, Kindle Paperwhite
I'm beginning to suspect that ebook-convert also ignores --level1-toc= & etc. directives when parse_index is used. I've gotten --levelX-toc to work fine when converting .txt documents and individual .html documents to .epub, but cannot make it work with recipes that use parse_index.

Perhaps I'm not understanding something, but I expected it to build a TOC from the Xpath matches in each article returned in feeds.

p.s. am I right that --foo= is the only command line argument that ebook-convert will accept apart from those documented? I was trying to pass command line date to my recipes and just happened to use --foo= the first time and it worked. all other attempts to pass command line variables cause ebook-convert to stop with an exception that there is no such option. Ah, the power of FOO! (please don't remove --foo= as that is my only way to pass my own command line arguments !-)
EnergyLens is offline   Reply With Quote