Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 06-03-2015, 06:00 AM   #1
Neurone
Junior Member
Neurone began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jun 2015
Device: none
automatic TOC generation

Hi,

I've been using Calibre to convert pdf files to htmlz. Almost all the time, it generates a section called document outline at the bottom of the document, that accurately lists the sections of the documents. However, clicking on the links don't actually bring me to the appropriate section of the book, and the title of that section is not marked up with headings. These are my current command-line options.

ebook-convert input_file output_file --unsmarten-punctuation --enable-heuristics --duplicate-links-in-toc --max-toc-links 10000 --toc-threshold 10000 --remove-paragraph-spacing --disable-italicize-common-cases

I also tried appending the --new-pdf-engine option hoping that it would help, but it usually generates an exception during conversion and crashes.

What am I doing wrong?
Neurone is offline   Reply With Quote
Old 06-03-2015, 06:36 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
What you are doing wrong is starting with PDF.

http://manual.calibre-ebook.com/conv...-pdf-documents
kovidgoyal is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
automatic language tag generation donald1 Plugins 1 07-25-2013 10:12 AM
Automatic ToC for Zip files - solution timepiece Conversion 0 03-25-2012 10:07 AM
Why does automatic TOC disappear in iBooks? nonsequito ePub 1 06-07-2011 02:52 PM
ToC generation issue tecgeo Calibre 6 09-21-2010 08:44 PM
How to force TOC generation out of scanned PDF magphil Calibre 5 10-01-2009 04:53 PM


All times are GMT -4. The time now is 02:03 PM.


MobileRead.com is a privately owned, operated and funded community.