Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 04-02-2012, 04:15 PM   #1
ChrisKaos
Enthusiast
ChrisKaos began at the beginning.
 
Posts: 36
Karma: 10
Join Date: Apr 2012
Device: Kindle Touch
Can I split one epub into more than one file?

That is to say, I have an epub with multiple books/series in it, and I would like to split it into multiple separate epub files. I imagine this can be done with something like Calibre or Sigil, but I just haven't been able to figure out how.
ChrisKaos is offline   Reply With Quote
Old 04-02-2012, 05:27 PM   #2
dwig
Wizard
dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.
 
dwig's Avatar
 
Posts: 1,613
Karma: 6718479
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Surface Go & Kindle 3 - Retired: DellV8p, Clie UX50, ...
Strictly speaking, I don't think that there is any way to actually split a single book with either tool. That said ...

One method would be to make several copies of the original omnibus ePub, one for each of the individual books and rename them using their new single titles. Then open each, one at a time, in Sigil and:
  1. Use Sigil's split function to isolate one book if necessary.
  2. Delete the (x)HTML files that contain the pieces of the other books
  3. Edit the title page to reflect the new proper title
  4. Edit the metadata to set the correct title and remove any spurious references to the deleted titles that might exist.
  5. Regenerate the TOC
  6. Save.
You'll likely find that step one isn't necessary. Most such omnibuses will contain a number of (x)HTML files and won't have any two book's pieces share a file. Also, you'll probably want to replace the cover image in each to something appropriate. That is easy to do in calibre if you add the Tweak ePub plugin to update the ePub after pasting in a new cover. If you can't find covers you could add the Generate Cover plugin to calibre to generate a cover a bit nicer than calibre's core cover generator.

Last edited by dwig; 04-02-2012 at 05:31 PM.
dwig is offline   Reply With Quote
Advert
Old 04-02-2012, 07:16 PM   #3
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,975
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Actually, I've found the copyright in an omnibus can be shared. The title page can also be shared. But don't forget the cover is also shared even if it is a generic cover.

Last edited by JSWolf; 04-02-2012 at 07:18 PM.
JSWolf is offline   Reply With Quote
Old 04-02-2012, 08:36 PM   #4
dwig
Wizard
dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.
 
dwig's Avatar
 
Posts: 1,613
Karma: 6718479
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Surface Go & Kindle 3 - Retired: DellV8p, Clie UX50, ...
Quote:
Originally Posted by JSWolf View Post
Actually, I've found the copyright in an omnibus can be shared. The title page can also be shared. But don't forget the cover is also shared even if it is a generic cover.
By "shared", I was referring to copy for two different books being in the same (x)HTML file. I wasn't referring to being "shareable". I did note that the title page and cover should need editing to reflect the single title.

If the copyright info in present and one its one page, it too may need editing if the individual titles have different copyright status. If it is a typical PD omnibus then each of the separated titles would have the same copyright status.

I should have noted that if there is an (x)HTML TOC it would also need significant edits. Sigil's ability to rebuild the TOC is limited to the real NCX TOC.

Last edited by dwig; 04-02-2012 at 08:38 PM.
dwig is offline   Reply With Quote
Old 04-03-2012, 01:57 PM   #5
FatDog
Witless protection Agent
FatDog ought to be getting tired of karma fortunes by now.FatDog ought to be getting tired of karma fortunes by now.FatDog ought to be getting tired of karma fortunes by now.FatDog ought to be getting tired of karma fortunes by now.FatDog ought to be getting tired of karma fortunes by now.FatDog ought to be getting tired of karma fortunes by now.FatDog ought to be getting tired of karma fortunes by now.FatDog ought to be getting tired of karma fortunes by now.FatDog ought to be getting tired of karma fortunes by now.FatDog ought to be getting tired of karma fortunes by now.FatDog ought to be getting tired of karma fortunes by now.
 
Posts: 290
Karma: 1002898
Join Date: Nov 2009
Location: Los Angeles
Device: Kindle
If you dont mind my asking - what book has this?

I would like to see a good example.

And why are you trying to pull it apart? Is the size too large or are you trying to bounce around the novels?
FatDog is offline   Reply With Quote
Advert
Old 04-03-2012, 07:15 PM   #6
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,975
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by dwig View Post
By "shared", I was referring to copy for two different books being in the same (x)HTML file. I wasn't referring to being "shareable". I did note that the title page and cover should need editing to reflect the single title.

If the copyright info in present and one its one page, it too may need editing if the individual titles have different copyright status. If it is a typical PD omnibus then each of the separated titles would have the same copyright status.

I should have noted that if there is an (x)HTML TOC it would also need significant edits. Sigil's ability to rebuild the TOC is limited to the real NCX TOC.
Here is what I would do...

i would try to find all the separate images for the covers for each book.

If the one copyright file is used for each book, edit as needed for each book by removing the stuff not needed for the book at hand.

Edit the title page as needed.

Delete any internal ToC as it's more work then it's worth and it's not worth any work.

Edit toc.ncx as it's just needed to delete the entries for the files you've deleted.

The only other thing you have to watch for is what CSS you'll need to keep as some omnibuses use multiple CSS.

Load into Sigil and delete the files you don't need, edit the ones you do need to edit, change the graphic for the cover, clean up the CSS & maybe the XML (as needed), save to a different name and done.
JSWolf is offline   Reply With Quote
Old 04-04-2012, 06:59 AM   #7
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
Since he is trying to keep the HTML TOC, gutting it might not work so easily.

I wonder if HTTrack, a website copier, might allow him to follow only one track at a time. It has the option of excluding selected directories. It could be run several times to yield separate outputs.

Much depends on exactly how the thing is structured.
mrmikel is offline   Reply With Quote
Old 04-04-2012, 10:02 AM   #8
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,975
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by mrmikel View Post
Since he is trying to keep the HTML TOC, gutting it might not work so easily.

I wonder if HTTrack, a website copier, might allow him to follow only one track at a time. It has the option of excluding selected directories. It could be run several times to yield separate outputs.

Much depends on exactly how the thing is structured.
The internal ToC is not needed and it's more work then it's worth to get it sorted. Editing toc.ncx is a lot easier and will provide a lot more satisfactory results.

The OP has not replied in this thread since the initial post. No place in the OP's post does it say he wants to keep the internal ToC when he splits the collection.
JSWolf is offline   Reply With Quote
Old 04-04-2012, 06:12 PM   #9
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
I assumed since he has a Kindle that that is what he has to have.

I am a Sony guy myself.
mrmikel is offline   Reply With Quote
Old 04-04-2012, 10:40 PM   #10
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,975
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by mrmikel View Post
I assumed since he has a Kindle that that is what he has to have.

I am a Sony guy myself.
Maybe you've forgotten that Calibre will convert toc.ncx into a working ToC for Mobipocket. So there's no need to have to deal with an internal ToC when it's just easier to edit toc.ncx.
JSWolf is offline   Reply With Quote
Old 04-05-2012, 06:05 AM   #11
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
That does simplify matters! Thanks for the reminder!
mrmikel is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Split EPUB/MOBI File with Multiple Books jwh88 Calibre 3 02-03-2012 12:00 AM
[Request] Optional 'No File Split' Michael_ZZ Writer2ePub 2 02-04-2011 12:32 PM
Split file when converting files in Calibre larlarcook Conversion 2 01-29-2011 12:26 AM
How To split .Lit file into several epub books bluesbeat Calibre 4 09-11-2010 07:05 PM
After split pdf file, use Rasterfarian. harpum Sony Reader 0 07-14-2007 01:20 AM


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


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