ebook-convert and Kindle guid problem
Hello everybody,
I am having problems compiling the Table of contents for Calibre news' recipes such as spiegel.de and bbc news.
If I compile the corresponding .mobi files in Calibre and send them to my Kindle everything works fine and the TOCs are displayed properly. However, if I use the command line tool ebook-convert to compile the mobi there isn't a TOC displayed at all. Is anybody else having similar problems and know how to fix this?
In particular I used the command:
ebook-convert spiegel.mobi spiegel-news.mobi --output-profile kindle
and also tried the modified version:
ebook-convert spiegel.mobi spiegel-news.mobi --output-profile kindle --level1-toc "//*[((name()='h1' or name()='h2') and re:test(., '\s*((chapter|book|section|part)\s+)|((prolog|prol ogue|epilogue)(\s+|$))', 'i')) or @class = 'chapter']"
Thank you very much in advance
Andre
|