theducks: thanks for replying.
Looks like we're doing things quite differently.
I can live with having an inline TOC from my index.html in the epub. I don't like having that AND another TOC at the end AND the TOC.ncx in the mobi.
My index.html is being placed in the flow as a Table of Contents, right after the cover and this is happening even though I am not asking Calibri to do that.
Is there an XPath expression I can use to get Calibri to NOT include the index.html in the flow? If I apply a class to the index.html header, can I say "bring in all the files with the class of "chapter" but leave out files with the class of "whatever"?
Here's the Xpath expression I use:
Code:
//h:p[re:test(@class, "chapter", "i")]
Thanks!