View Single Post
Old 05-09-2013, 03:50 PM   #15
EliW
Junior Member
EliW began at the beginning.
 
Posts: 8
Karma: 10
Join Date: May 2013
Device: iPad, iPhone, Kindle (Any), Desktop, etc
Thanks kovidgoyal, I tested this by removing the references to nav.xhtml, and you are correct, they are not included then in the mobi.

I'll need to do some more research into a final solution for myself, because I am using pandoc to generate this ePub, and even when telling pandoc to not create a TOC, it's creating that nav.xhtml, and just setting it as non-linear.

So either I need a find a way to tell it to not generate it at all, or as part of my automated process, after generating the epub (since every reader I've tested doesn't display the TOC). I would then need to unzip it, clean out the nav, rezip it) just to then run the mobi converter on it.

Ah well.

On the flip side, I don't guess there's any configuration options, or hope of a configuration option in ebook-convert to say "Ignore this one item", or even a more generic "ignore any non-linear items"?

if I could just give it a filter option to say "when converting ignore any nav.xhtml" or 'ignore id="nav"' ... that would also solve my problems.

Thanks,
Eli
EliW is offline   Reply With Quote