View Single Post
Old 12-30-2012, 11:37 AM   #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,518
Karma: 5567081
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
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