I had a TOC problem and fixed it in a kind of round-about way. I had converted a PDF to ePub using Calibre. This produced a nicely readable file, but the table of contents didn't work. I'm not sure if there was something in Calibre I could do.
But I happened to be reading a thread on this forum where someone said Mobipocket Creator got them a good TOC (different PDF but it was worth a shot). I already had Mobireader on my computer, so installed Mobipocket Creator (selecting "for publishers", or whatever the advanced version is).
I imported the PDF to Mobipocket Creator, looked at the html file with a text editor, saw that <h1> tag was the chapter heading tag, specified that, and published the .prc file. Then used Calibre to convert the .prc to ePub. This gave me a working Table of Contents.
I'm not saying it's the best way, or that it will work for any other PDF, but it worked for me for this file. I don't know if you need Mobireader first or not but I happened to have it. All these tools are free, so it only cost me time to try it out.
Last edited by dmacmart; 02-27-2011 at 05:19 AM.
Reason: typo
|