![]() |
#1 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 86
Karma: 470352
Join Date: Dec 2012
Device: Kindle Fire, IPad
|
compiling multiple epubs to one
I have 20 separate chapters of e pubs saved in Sigil. I now need to combine all of them into one e pub and then separate the pages.
I have tried the following so far: open chapter 1 and 2 in Sigil select all html( in code view) in chapter 2 copy paste into chapter 1 this gives me no styling and no images second attempt with chapter one e pub open select all html ( in graphic view )in chapter 2 copy paste into chapter 1 this gives me the styling BUT no images is there a better way to do this as I cannot figure a way to copy all the images into the image folder. any help? HI |
![]() |
![]() |
![]() |
#2 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,903
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Open the starting book:
Add Existing: <second epub> Add Existing: <third epub> (Wash, spin: REPEAT) Note: each additional EPUB will ADD the Stylesheet (renumbered if it has an name that is already used). If they ANY are the same, SELECT (in the Book Browser) JUST those sections: Right-click: Link stylesheets: (select only ONE VERSION of the duplicated sheets . Any previous sheets will be de-referenced in those files. Be sure to re-link all necessary sheets if you use multiple sheets per section. If a section started out with 3 sheets used, it still needs 3 sheets) Or just Search and replace the old sheet name with the current . Run flight crew: It should report Unused CSS, Delete those ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
Quote:
Now ... is there a downside to consolidating epubs like that? It would seem that the advantages outway the increase in size, etc. Paul |
|
![]() |
![]() |
![]() |
#4 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
|
Quote:
Last edited by exaltedwombat; 05-15-2013 at 01:14 PM. |
|
![]() |
![]() |
![]() |
#5 |
Sigil developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
If you use Add Existing to add a .epub file, you'll just end up with a .epub file in the Misc directory. So it won't be very useful. You would have to first unzip each of the epubs into separate directories, and then add all their .html files (which will also load their images and stylesheets). Or try the epubmerge plugin of calibre.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,903
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
![]() ![]() That is what I did, Sigil did bring in the referenced stylesheet automatically Sorry, forgot the unpack step |
|
![]() |
![]() |
![]() |
#7 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
I thought that just clicking the [+] button was too easy
![]() Still, unzipping into folders works Paul |
![]() |
![]() |
![]() |
#8 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,903
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
![]() |
![]() |
![]() |
#9 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
Thanks for the tip -- EPubMerge does what it says, and seems to do it very well
Also seems to sequence number files with the same name (cover.jpg, cover1.jpg for ex) of course you end up with all the stylesheets, but I think that for multi-part series this will work nicely and I'll be able to clean and re-format (assuming I don't make dumb RegEx mistakes) Paul |
![]() |
![]() |
![]() |
#10 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
It might be as well to just clean it up enough to pass validation without trying to make it pretty by eliminating extra references. Removing much of anything could unravel the whole thing and make a lot of work.
|
![]() |
![]() |
![]() |
#11 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 86
Karma: 470352
Join Date: Dec 2012
Device: Kindle Fire, IPad
|
I found a good way to do this since I was having problems using the articles panel in InDesign using threaded text. I have 10 indd files, I exported each one as a straight e pub then opened each in Sigil. Unzipped each e pub and put in a folder then re opened each epub in Sigil and arranged the order of the elements. Copied all the HTML using "add existing HTML file" into a new Sigil doc. This copied over the style but no images.
Then select add Insert file and look for the folder which has the images inside ( the unzipped e pub) select the images and it will paste the images in there places as well as put the images at the end of the doc. Simply delete the images at the end of the doc and save. Works like a charm, I'm sure there is a few different ways to do this but it worked for me. thx HI |
![]() |
![]() |
![]() |
#12 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
@mrmikel --
Quote:
NOW you tell me. It was a little more effort than I had envisioned. Combination of my C- knowledge of RegEx and the multiple passes through Calibre before I got them. I started by adding my preferred CSS and Fonts, and deleting a lot of multiple TOC's, and gif/jpg 'embellisments' that don't do well on my Kindle. Deleted a lot of <p></p> breaks, things like that. Paul |
|
![]() |
![]() |
![]() |
#13 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
Better to work on the text elsewhere and bring it into Sigil at the end. That is where Sigil shines. Having to keep up all the overhead of an epub is time consuming and not really necessary until you are nearing the end anyway.
I think there is a big hole in the workflow for an html editor that is aimed at epubs instead of web pages. One that is relatively simple and does not add a lot of extraneous stuff and that will resave as html would be helpful for many, I believe. The word processors are too much. inDesign is way too much being designed for print media, though understandable if you are designing for print media and want ereader output too. Using Sigil too early is like using the polishing cloth you use to put on the shiny finish on a car to get off road gunk. Last edited by mrmikel; 05-17-2013 at 06:33 AM. |
![]() |
![]() |
![]() |
#14 |
mostly an observer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,518
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
>inDesign is way too much being designed for print media, though understandable if you are designing for print media and want ereader output too.
I spend a lot of time on the Kindle forums, and one of the recurring plaints is from people who have used InDesign and as a result made a mess of the e-book output. Previously I have used Word and Open Office (OO seems to do a better job of pagination and exporting to PDF) to make my paperbacks. Should I investigate InDesign? Is it primarily a word processor or a publisher's tool? (I apologize for hijacking the thread! When I had to do something similar, I went back to the html and started over again, in part so as not to have twenty style sheets in a twenty-chapter book. This seemed a very quick fix.) |
![]() |
![]() |
![]() |
#15 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
We have and use INDD, but never for a book that isn't going to print. The headaches with exporting various styles, etc., are endless. I would never--never--abandon any word-processing program's output for INDD's. It is far simpler and easier to convert Word or OO or LO or Wordperfect or Atlantis' output to an ePUB than IDD's. Period. INDD is not a "word processor," by any means; you import (essentially) word-processed output to it and use it as a layout program. It's simply Pagemaker with a crapload of features on steroids. Hitch |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Automate epubsplit for multiple epubs | cakiran | Plugins | 41 | 03-27-2013 07:47 PM |
Compiling for Lubuntu (regarding compiling instructions) | jgratero | Sigil | 5 | 07-15-2012 07:54 PM |
trouble when converting many epubs to epubs | comet | Conversion | 13 | 03-21-2012 01:57 AM |
Touch Problem with all epubs, my epubs, or my kobo? (line clipping) | plague006 | Kobo Reader | 14 | 12-02-2011 11:32 PM |
Help Merging Multiple Small Epubs into One Large Epub | kazbates | Workshop | 14 | 09-15-2011 02:18 AM |