Quote:
Originally Posted by theducks
just remove the whole line instead of leaving a nil
font-family: .+?\;
But EMBEDDED fonts have @font-face {... }
The font-family in the rest of the places, just connects the pieces together
So the real questions are
1) Turning off "Publishers styling" (or similar naming) does not accomplish the VISUAL goal?
2) Do you really want to destroy all typeface manipulation within the book?
serif, sans-serif, monospaced, slanted may convey story elements,
and the sign said: KEEP OUT
|
I'll use that search string moving forward, but it still doesn't delete the now-empty line. Should I still be using "Beautify all files" afterwards to get rid of the empty line? (I wasn't sure if leaving empty line breaks in was affecting it somehow.)
I will also clarify, the
font-family: serif; is part of a style class. I'm unable to edit the OP with this but here is the unedited stylesheet.css:
and here is an xhtml file where the style classes are used:
1) I couldn't figure out what "Publisher's styling" was referring to, is it a feature in the Book Editor or Calibre's library ?
2) The files I'm formatting don't really use typeface manipulation for story elements, so I wouldn't mind if that was a solution.
Another thing to add to OP: I have tried using Convert Books > Look & feel > Styling > Select what style information you want completely removed: Fonts. It does work on the unaccessed files*, but still no dice on previously accessed files.
*While this seems like a more elegant way of removing
font-family: serif; in a way that can be done in batches, this had the side effect of generating a
titlepage.xhtml where there wasn't one before, despite selecting "No default cover" under EPUB output