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 02-05-2012, 01:13 PM   #1
linzerkipferl
Member
linzerkipferl began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Feb 2012
Device: Kindle
Calibre-Conversion: Parts and Chapters

Hello everybody!

I prepared a text using OpenOffice.org 3.3. This text consists of two stories, both with chapters.
I marked the titles with Heading 1, the chapters with Heading 2, converted everything to .html, then wanted Calibre to convert everything to .mobi, using the h1 as Level 1-TOC for the two stories and the h2 as Level 2-TOC for the chapters.
In the resulting TOC, only the two stories show up, the chapters are ignored.

What did I do wrong?
linzerkipferl is offline   Reply With Quote
Old 02-05-2012, 02:37 PM   #2
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,568
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Are there <span> tags inside the <h2> tags that are causing the XPath expression used by calibre to find the chapter headers to fail?

You did tell calibre which tags to use for the different levels of the toc, right?
DiapDealer is offline   Reply With Quote
Advert
Old 02-05-2012, 03:14 PM   #3
linzerkipferl
Member
linzerkipferl began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Feb 2012
Device: Kindle
No <span> tags to confuse Calibre, and yes, I filled in the different levels.

But you know what, I just tried once more, this time thinking of the advice to "remove spacing between paragraphs" (which I might have forgotten the other time, I am not sure), and suddenly it worked like a charm.

Can anybody explain to me, why it is important to remove those spacings to get a proper TOC?
linzerkipferl is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Double Chapters epub after Conversion mara1212 Conversion 1 04-25-2011 09:25 AM
azw to mobi: Not detecting chapters/page break at chapters and no TOC RachDvn Calibre 3 01-16-2011 09:53 AM
using the Calibre GREP to format chapters in RTFs raingod Amazon Kindle 1 10-08-2010 02:52 AM
Detecting Chapters in PDF -> ePub conversion jUgGsY Calibre 2 07-15-2010 04:53 AM
Calibre adds horizontal rule before chapters K-Thom Calibre 3 08-01-2009 04:46 PM


All times are GMT -4. The time now is 09:26 PM.


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