View Single Post
Old 02-27-2011, 05:18 AM   #2
dmacmart
Fanatic
dmacmart ought to be getting tired of karma fortunes by now.dmacmart ought to be getting tired of karma fortunes by now.dmacmart ought to be getting tired of karma fortunes by now.dmacmart ought to be getting tired of karma fortunes by now.dmacmart ought to be getting tired of karma fortunes by now.dmacmart ought to be getting tired of karma fortunes by now.dmacmart ought to be getting tired of karma fortunes by now.dmacmart ought to be getting tired of karma fortunes by now.dmacmart ought to be getting tired of karma fortunes by now.dmacmart ought to be getting tired of karma fortunes by now.dmacmart ought to be getting tired of karma fortunes by now.
 
dmacmart's Avatar
 
Posts: 534
Karma: 696908
Join Date: Jul 2010
Location: Ottawa Canada
Device: Kobo Mini, Glo, Arc, H2O, iPhone, iPad 2, (husband)Touch
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
dmacmart is offline   Reply With Quote