|08-01-2011, 08:19 PM||#1|
Join Date: May 2011
Calibre Inserting Its Own CSS Classes
I'm a little bit confused about something. I sent a draft of an epub conversion to a client to check out. He went in with the "tweak ePub" feature to make some edits to the text, and the resulting document that he sent back has some pretty radical differences from the one I sent: two CSS files have disappeared, leaving only the style.css file, and that one has several numbered "Calibre" classes. (e.g., calibre1, calibre2, etc.) What's going on? I've never had this issue when I exploded and rebuilt Calibre files myself.
|08-01-2011, 10:38 PM||#2|
Join Date: Apr 2009
Device: PRS-650, iPhone
You would only see css styles like that if he did an ePub to ePub conversion - one of the major reasons Tweak ePub was created was to avoid having Calibre manipulate the css the way it does in a full conversion.
If his edits were actually edits to the content and not formatting, and you need to find and merge them into your original ePub the simplest method I've found is to convert both versions to txt - I usually enable smarten punctuation under look and feel to attempt to normalize the txt across both versions. Then compare the two versions in a diff tool - I've found P4merge (free download) seems to work best with book length docs.
Last edited by ldolse; 08-01-2011 at 10:43 PM.
|08-02-2011, 11:21 PM||#3|
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 1, iPhone 5
I use Notepad++ since it allows me to have multiple tabs, regex, and search/replace across tabs. I use Forefox to view the XML files and if they look OK, I put the ePub back together and have a look in ADE.
|css, editing, epub, glitches|
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Images in an ePub lost when inserting it in Calibre||jmatute||Conversion||6||07-06-2011 03:04 AM|
|possible to change classes name,id,stylename that generated by calibre?||hard13||Conversion||2||02-24-2011 10:23 PM|
|Classes in CSS in recipes?||Tegan||Recipes||10||01-17-2011 08:30 PM|
|NCX creation -- nested or not, css classes||illustrata||ePub||3||08-25-2010 09:56 AM|
|Norton 2010 classes Calibre as high risk||roger the rabbit||Calibre||36||02-24-2010 05:54 PM|