01-14-2011, 04:16 PM | #1 |
Wizard
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! |
01-14-2011, 06:55 PM | #2 |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
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).
|
Advert | |
|
01-15-2011, 02:37 AM | #3 |
Wizard
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.
|
01-15-2011, 07:24 AM | #4 |
Groupie
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. |
|
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 |