View Single Post
Old 11-29-2012, 10:11 AM   #18
rrt
Member
rrt began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Nov 2012
Device: none
Calibre, a Nook and FBReaderJ all open the book at the trivial table of contents, which is unhelpful.

As kovidgoyal pointed out, the problem was actually in the HTML I used to generate the EPUB. I have now modified my conversion script to remove the trivial TOC information from the HTML before calling ebook-convert; Calibre then generates the desired empty TOC, and the various readers open the book at the start of the story.

The only remaining task I have is to modify my script so that it only removes the TOC when it is trivial: obviously I do not want to remove non-trivial TOCs.

When I've done this I'll publish my script for other users of LaTeXML.
rrt is offline   Reply With Quote