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 12-30-2012, 11:25 AM   #1
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
Changing out a chapter for a new one--best way?

Good morning! I have an epub built in Sigil from an html file, CSS file, and several images. The epub has been much edited, so I don't want to go back to the original html and start over again. OTOH I have rewritten my final chapter, using Open Office (the OO document will be used to create a PDF for the printed edition). What is the best way to get that revision into the epub? I can for example paste it into a new html file. And I suppose I can make a new epub of just that chapter. But how do I get the new, Sigil-generated epub text into the existing book? Shall I just delete all the old paragraphs, go to the new epub, copy the substitute paragraphs to clipboard, and paste them into the book?

Having typed that question, it now seems quite reasonable to me. Shall I do it?

Thanks!
Notjohn is offline   Reply With Quote
Old 12-30-2012, 11:37 AM   #2
theducks
Well trained by Cats
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: 29,775
Karma: 54401244
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Notjohn View Post
Good morning! I have an epub built in Sigil from an html file, CSS file, and several images. The epub has been much edited, so I don't want to go back to the original html and start over again. OTOH I have rewritten my final chapter, using Open Office (the OO document will be used to create a PDF for the printed edition). What is the best way to get that revision into the epub? I can for example paste it into a new html file. And I suppose I can make a new epub of just that chapter. But how do I get the new, Sigil-generated epub text into the existing book? Shall I just delete all the old paragraphs, go to the new epub, copy the substitute paragraphs to clipboard, and paste them into the book?

Having typed that question, it now seems quite reasonable to me. Shall I do it?

Thanks!
If you are wanting to do a sleight-o-hand replacement, I use the tweak-EPUB feature that is included in calibre. I explode the epub, replace the desired file with one of the EXACT same name. then click rebuild. Done
Note. this works with any file inside the EPUB (Note: Changing a pictures size, may need other adjustments)
theducks is offline   Reply With Quote
Advert
Old 12-30-2012, 12:12 PM   #3
Ahmad Samir
Zealot
Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!
 
Posts: 114
Karma: 5246
Join Date: Jul 2010
Device: none
You can add files (HTML, css, images.. etc) to an existing EPUB from Sigil (File -> Add -> Existing Files). You can save just the new final chapter from OOo as an HTML file and add it to the epub you have. (Don't forget to create a backup copy of the epub, just in case anything goes wrong).
Ahmad Samir is offline   Reply With Quote
Old 12-31-2012, 12:53 PM   #4
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
In the end, I just pasted the requsite <p class="normal"> tags into my plain-text file to replace the <p> that was already there, checked to make sure that italics were tagged as <em>, and pasted it into the chapter ahead of the old pages. I checked it in Book View and it was fine, so I then deleted what I had originally written. Looks good.

Thanks!
Notjohn 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
Chapter #s or Chapter Titles? bmcox Writers' Corner 33 02-01-2013 07:03 AM
Ebook chapter titles: with or without chapter number? amoroso Writers' Corner 16 06-14-2011 06:35 AM
What are SGF Chapter Marker and Chapter Break? webphone Sigil 1 05-25-2011 02:43 PM
Next Chapter skips to End in last chapter? JoGoCo Kobo Reader 5 07-13-2010 09:23 PM
K2 v K1: Chapter-to-chapter missing from some books? Starhawk Amazon Kindle 4 03-10-2009 06:27 PM


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


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