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

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 02-05-2011, 07:29 PM   #1
dicknskip
Zealot
dicknskip began at the beginning.
 
Posts: 110
Karma: 10
Join Date: Nov 2009
Location: Okotoks, AB, Canada
Device: iPad V-3
Combine epub segments

This may have been asked, but all my searches don't find the answer. If an epub has been split into segments, as many eReaders require, and I have a reason to edit it, I know that Sigil works well, but - how can I put it back together into one xhtml file to ease the WYSIWIG process? I tried Calibre epub-epub conversion and it doesn't combine the segments. Am I missing a -- option on the ebook-convert? It can be a pain doing copy-paste on a 40 or 50 chapter book.
dicknskip is offline   Reply With Quote
Old 02-05-2011, 08:49 PM   #2
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,645
Karma: 5629001
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by dicknskip View Post
This may have been asked, but all my searches don't find the answer. If an epub has been split into segments, as many eReaders require, and I have a reason to edit it, I know that Sigil works well, but - how can I put it back together into one xhtml file to ease the WYSIWIG process? I tried Calibre epub-epub conversion and it doesn't combine the segments. Am I missing a -- option on the ebook-convert? It can be a pain doing copy-paste on a 40 or 50 chapter book.
If you can find (in CV) a unique 'Find' expression, Sigil will replace with your text over all X/HTML. ( a simple find- Next: <body , will open each section. Past in the right place and hit Find-Next. Repeat )
theducks is offline   Reply With Quote
Old 02-05-2011, 09:51 PM   #3
dicknskip
Zealot
dicknskip began at the beginning.
 
Posts: 110
Karma: 10
Join Date: Nov 2009
Location: Okotoks, AB, Canada
Device: iPad V-3
Sorry, should have mentioned that I know Sigil will deal with the code across units. However, it does an amazing job as a WYSIWYG and I just wanted to pull things together and use that facility.
dicknskip is offline   Reply With Quote
Old 02-05-2011, 10:47 PM   #4
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,645
Karma: 5629001
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by dicknskip View Post
Sorry, should have mentioned that I know Sigil will deal with the code across units. However, it does an amazing job as a WYSIWYG and I just wanted to pull things together and use that facility.
Then, No option
Sigil can put them back (Merge), but that is almost as much work
I have done Global Image inserts for Chapter starts, scene breaks.
A little REGEX can go a long way.

Manichean (over at Calibre group) has a REGEX tutorial that made me see the on how easy. most can be.

Just finished a run.
Chapter number was the first digit(s) in th Paragraph. I split that out, added the word "Chapter " in front, made that a h3 tag and followed that with a <hr />
total time for 27 chapters: 15min includes the split/merges
OH and I validated with Flightcrew
theducks is offline   Reply With Quote
Old 02-06-2011, 09:56 AM   #5
dwig
Guru
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: 969
Karma: 1382338
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Dell Venue 8 Pro, Kindle 3/WiFi - Retired:Clie UX50, T415, ...
Quote:
Originally Posted by theducks View Post
...
Sigil can put them back (Merge), but that is almost as much work...
Its not much work in Sigil, especially if you are already going to use Sigil to do further edits.

Simply open the ePub in Sigil and display the segments in the Text section of the Book View panel. Right-click on the last segment and select "Merge with previous". Repeat until there is only one text segment or until the block of segments you wish to edit as a unit are assembled (you may want to leave the various front matter segments as they are).
dwig is offline   Reply With Quote
Old 02-06-2011, 11:33 AM   #6
dicknskip
Zealot
dicknskip began at the beginning.
 
Posts: 110
Karma: 10
Join Date: Nov 2009
Location: Okotoks, AB, Canada
Device: iPad V-3
How to feel really stupid in one easy lesson! I had looked at that menu option several times and for some reason it never registered. That's exactly what I was looking for. Thanks so much.
dicknskip is offline   Reply With Quote
Old 02-09-2011, 05:27 AM   #7
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: 2,793
Karma: 1089170
Join Date: Sep 2010
Device: Kobo aura HD, Kobo Arc, Kindle Fire HDX 8.9 , Kindle for PC
Quote:
Originally Posted by dwig View Post
Its not much work in Sigil, especially if you are already going to use Sigil to do further edits.

Simply open the ePub in Sigil and display the segments in the Text section of the Book View panel. Right-click on the last segment and select "Merge with previous". Repeat until there is only one text segment or until the block of segments you wish to edit as a unit are assembled (you may want to leave the various front matter segments as they are).
that works , but it is tedious if you have 50+ segments.

an auto option would be nice to have
cybmole 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
Combine Calibre libaries Peter Swallow Library Management 4 02-01-2011 01:50 PM
Combine two formats of the same ebook edgreenberg Calibre 7 09-17-2010 12:53 PM
Combine two libraries? whoever Calibre 4 08-25-2010 11:00 PM
Combine Books? pghaworth Calibre 4 08-13-2010 10:25 AM
V3 Screen Display Broken - Only segments being drawn clixto HanLin eBook 5 08-12-2009 12:52 AM


All times are GMT -4. The time now is 02:42 PM.


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