Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-14-2011, 04:16 PM   #1
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
reorgainse epub into 1 file per chapter

what is the easiest way to restructure a large book to be 1 file per chapter so that page breaks do not occur within chapters when reading it - due to file segment boundaries.

e.g. in the source file let's say there are 17 segments ( xhtml splits) for the story text, but that the story has 93 chapters ( & I have 93 entries in TOC already )
- I want to convert so that there are 93 segments in the output epub.

are there any auto solutions. i thought that "flatten epub" may be a clue but I think it's actually a red herring!
cybmole is offline   Reply With Quote
Old 01-14-2011, 06:55 PM   #2
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
Quote:
Originally Posted by cybmole View Post
what is the easiest way to restructure a large book to be 1 file per chapter so that page breaks do not occur within chapters when reading it - due to file segment boundaries.
By default, Calibre will insert a page break before each chapter and split files on page breaks. So this should be automatic, unless you have changed the chapter mark (common options -> structure detection) or the splitting (output options -> ePub).
wallcraft is offline   Reply With Quote
Advert
Old 01-15-2011, 02:37 AM   #3
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
yes, but it can only do that if the book has proper chapter tags. i want a workaround for where the book has no chapter tags as such but does already have a toc pointing to chapter staarts.
cybmole is offline   Reply With Quote
Old 01-15-2011, 07:24 AM   #4
carmenchu
Groupie
carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.
 
Posts: 183
Karma: 266070
Join Date: Dec 2010
Device: Win7,Win10,Lubuntu,smartphone
Don't know if this can be of any use.
Had similar problem when converting plain text: clicking the wizards for headers (without using it) I got a fairly good view of what Calibre was reading in the file. After a couple of trials, regular expression to detect chapters did ALMOST all the work. Had to refine through Sigil to split 5 chapters still overlooked.
carmenchu is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Epub to Mobi Chapter Detection ice2097 Calibre 4 12-29-2010 02:14 AM
Delay between chapter changes on Epub? Gemok Sony Reader 25 07-21-2010 03:08 PM
Odt to ePub chapter link errors Chrysanthemum Calibre 8 07-15-2010 09:24 PM
How can i convert HTML or txt file to EPUB file ? guguqiaqia ePub 7 05-28-2010 09:15 PM
Zipped HTML to EPUB only gets one chapter bookmunkie Calibre 5 10-04-2009 02:47 PM


All times are GMT -4. The time now is 06:38 PM.


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