View Single Post
Old 07-18-2010, 04:15 PM   #11
JulianL
Junior Member
JulianL began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2010
Location: London, UK
Device: iPhone & iPad
Jackie (& Kovid) - I've installed 7-zip and have used it to look inside one of the converted ePubs and have the toc.ncx file open in a text editor at the moment. Fixing this up in an editor is my fallback position. Currently for a given book I can get Calibre to either generate a TOC with all the correct entries and titles but no nesting (if I convert directly from PML), or a correctly nested TOC but will all the entries marked as "Untitled" if I convert from xhtml. I'm going to run both convertions, look at the format of the two TOCs, each broken in a different way, and I'm sure that by comparing the two I can work out what I need to do to fix it all up.

Kovid - If you mean using XPath expressions in the "Level 1 TOC ..." and "Level 2 TOC ..." in the TOC section of the Calibre convertion options rather than relying on the general "Detect chapters at ..." XPath expression in the "Structure Detection" section of the options then that's encouraging because that was definitely on my list of things to try. It'll be a nicer solution if I can get it right so that's what I'll try first.

user_none - That explains my experiences with Sigil. I'm glad in a way, I already have the 2 different options above to explore so I'll set aside Sigil as an option and try to get a satisfactory result with one of the approaches above.

Thanks everyone for all the various bits of advice. I'm pretty confident that I'll get there in the end, and hopefully without coming back here with too many stupid questions, but it's great to find everyone here so helpful.

- Julian
JulianL is offline   Reply With Quote