Register Guidelines E-Books Search Today's Posts Mark Forums Read

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


Thread Tools Search this Thread
Old 01-11-2012, 05:29 PM   #1
captpete began at the beginning.
Posts: 18
Karma: 10
Join Date: Aug 2010
Location: Florida
Device: Samsung Galaxy Tab A 8" (2017)
TOC convert to FB2 fails on 0.8.34

This seems to be a problem that re-occurs with some updates. Converting a book to FB2 loses the TOC. De-bug has everything OK in all steps but looking at the FB2 output shows the <h1 tags are now <p STRONG tags.

In Show Job Details the TOC is detected fine. The only thing that might match is this:
Auto generated TOC with 20 entries.
Structured HTML written to: C:\Users\Peter\temp\structure
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Parsing stylesheet.css ...
Found 20 items of level: div_3
Found 35 items of level: div_2
Found 1034 items of level: p_1
Ignoring level div_3

(there are 19 chapters so div_3 is suspect).

//h:h1 is set as level1 in Table of Contents.

Don't remember which version last worked correctly - some do and some don't and I don't have the space to try different versions (I assume I'd need seperate VM's for each version I wanted to test). BTW the conversion to EPUB works fine but FB2 works better with JetBook Lite (it sorts by author or title where EPUB does not).

(I really don't want to open another account on the debug server - I've got too many accounts on too many servers to keep track and I don't have a fast home internet connection - WiFi only on my laptop.)
captpete is offline   Reply With Quote

convert, fb2, toc

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
TOC reference in Guide section of OPF fails Jeff L Calibre 0 10-20-2011 05:04 AM
FB2 and TOC mtravellerh Calibre 7 02-28-2010 05:22 PM
Fb2 Input (Do not insert a ToC at the beginning) Garfunkel Calibre 0 10-08-2009 02:49 PM
TOC not created converting from FB2 regul8or Calibre 1 08-03-2009 01:26 PM
ConvertLit fails to convert pclady LRF 8 02-28-2009 04:39 PM

All times are GMT -4. The time now is 05:42 PM. is a privately owned, operated and funded community.