View Single Post
Old 12-20-2019, 09:21 AM   #8
Brett Merkey
Not Quite Dead
Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.
 
Posts: 195
Karma: 654170
Join Date: Jul 2015
Device: Paperwhite 4; Galaxy Tab
Quote:
...did you not believe in the stability of the CSS standard?
No lack of CSS religion here. It is important to keep in mind that Calibre is not primarily an editing tool. Even so, for those comfortable with code view and with regex, Calibre (with add-ons) serves as a more than adequate editing tool, supporting far more HTML/CSS standards than most e-reader devices are capable of.

Quote:
some problem with CSS support from the various ereaders?
The code example you offered is way beyond anything implemented in most devices. Many devices don't even support basic pseudo classes or pseudo elements or can handle floats or simple dropcaps or columns or call-outs. Perhaps you can mention the device you are coding this non-humble e-book for?

Even the Kindle Paperwhite, a fairly nice device, has problems with basic typography. For instance, CSS font-size keywords are blown up for any user who has the device set to non-default font-size increments. I have to use a custom regex-function (a cool Calibre feature) on the stylesheet to eliminate/modify all font-size keywords.

Last edited by Brett Merkey; 12-20-2019 at 09:46 AM.
Brett Merkey is offline   Reply With Quote