View Single Post
Old 06-27-2011, 11:59 AM   #6
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
Quote:
Originally Posted by wannabee View Post
Lucky they are identical in each file. If I had that problem I would open one of the files and copy the opening CSS and paste it into the find field and write the link to the new CSS file in the replace field in notepad++ You can find and replace in all files in a directory. Brows to the package and replace. Make a new CSS file and update the manifest.
Or if you do the same thing in Sigil itself you can avoid some work. The SGC entries are a giveaway that these were done in Sigil.

Open the CSS files in Sigil and copy and paste contents into the master CSS and then use the code view to update the CSS entry in the top of the xhtml files to point to the master. Sigil multiple files replace can be used to do this all at once. You can then remove the uneeded CSS files and then save the ePUB. All the manifest stuff will be fixed automatically.

Dale

Last edited by DaleDe; 06-27-2011 at 12:02 PM.
DaleDe is offline   Reply With Quote