View Single Post
Old 08-18-2022, 02:32 PM   #12
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,238
Karma: 148951761
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by philja View Post
Quite a coincidence. I was just sent an epub which I decided to look at in Sigil. Sigil complained with an error message: "Files exist in epub that are not listed in the manifest, they will be ignored." I clicked on the Details button and read simply: OEBPS/cover.xhtml. The first time I've ever seen this message.

I renamed the epub as a zip and opened it in an archive manager. I found the cover.xhtml file in the OEBPS folder but it had failed to be referenced in the manifest although it was in the guide section. I typed in a reference, saved it and renamed to epub. Sigil opened it without complaining.

The epub had been created with Vellum for a "Generic" target. The CSS in the styles sheet seems terribly complex. Every chapter heading is wrapped in 6 <div> tags. Every paragraph has multiple class attributes and when I check what some of them do, they appear to have no effect at all.
First thing I do with this sort of mess is drop the HTML files I don't need. Then I remove all unused CSS in the CSS and HTML. I'll use Diap's Editing Toolbag to remove more garbage. I'll again remove the unused CSS. When I am done enough, I'll add in my code to the CSS and delete any duplicates. Then I'll proceed from there to fix the code (HTML/CSS). And yes, I'll simplify the CSS.

Vellum is a terrible program and should go away forever. All the eBooks I've seen made with Vellum have terrible code.
JSWolf is online now   Reply With Quote