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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 10-08-2011, 11:45 AM   #1
Paxman53
Connoisseur
Paxman53 began at the beginning.
 
Posts: 55
Karma: 10
Join Date: Jan 2011
Device: 7" Tablet - Aldiko Reader Premium
Red face Chapter Headings

Hi,

I'm new to posting on this forum and I was wondering if anyone can help me.

I use calibre to convert various formats to E-Pub and use Structure Detection to get it to split on Chapters (//*[re:test(., "Chapter", "i")]).

My problem is that if the input doc has a table of contents it also splits these individually as well.

This is OK if there are only a few chapters as I can then use Sigil to re-merge, however some books have upwards of 100 chapters and this gets tedious.

Is there any way to allow Calibre to split on Chapters but leave the TOC intact?
Paxman53 is offline   Reply With Quote
Old 10-08-2011, 07:12 PM   #2
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,768
Karma: 12516053
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by Paxman53 View Post
My problem is that if the input doc has a table of contents it also splits these individually as well.
You may not want to hear this, but delete the inline TOC, ePub books store their TOC in the toc.ncx file.

Quote:
Originally Posted by Paxman53 View Post
Is there any way to allow Calibre to split on Chapters but leave the TOC intact?
Chapters and the inline TOC you're referring to are both plain xhtml so I don't think there is a way to protect it.

Maybe someone will describe a work flow that does what you want.
DoctorOhh is offline   Reply With Quote
 
Enthusiast
Old 10-08-2011, 10:12 PM   #3
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: 25,352
Karma: 4961459
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
There are conversion options that tell calibre not to create splits on chapter titles and another to specify exactly where the splits should be made.
kovidgoyal is offline   Reply With Quote
Old 10-12-2011, 12:31 PM   #4
Paxman53
Connoisseur
Paxman53 began at the beginning.
 
Posts: 55
Karma: 10
Join Date: Jan 2011
Device: 7" Tablet - Aldiko Reader Premium
Thanks for the replies guys.

Kovid can you be more specific (sorry I'm still virtually a novice as far as Calibre is concerned - learning as I go - Best conversion tool by the way).

What would I need to input to achieve what I require.

Your help is greatly appreciated
Paxman53 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre: Chapter Headings Paxman53 Introduce Yourself 5 10-22-2011 09:13 AM
Chapter Headings on their own page? Help! Lee5150 Calibre 3 10-06-2011 08:12 AM
Why H1 and H2 Chapter Headings? Ransom Calibre 11 08-10-2011 04:29 PM
Help converting chapter headings p3aul Conversion 6 04-03-2011 12:56 PM
Image maps as Chapter Headings? kjk Sigil 6 10-17-2009 06:27 PM


All times are GMT -4. The time now is 09:35 AM.


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