View Single Post
Old 06-01-2020, 10:35 PM   #25
AlanHK
Guru
AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.
 
AlanHK's Avatar
 
Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
Quote:
Originally Posted by carmenchu View Post
Thanks! Attaching the corrected version.
Can I suggest you update the first post in the thread so it always has the latest version.

Wishlist for other "fixes":

Calibre seems to always name the cover "titlepage.xhtml", which is really grating to me, since it's not the title page. I always rename it to cover.xhtml (except if there is already a cover.xhtml). Can that be an option?

Seems that Calibre always adds "display: block;" to style definitions. Can that be removed optionally?

The <body> tag is invariably <body class="calibre">
Can that be made just <body> and the style .calibre renamed "body"?


Quote:
Originally Posted by JSWolf View Post
I have never seen an <i class="calibreX"> where you cannot remove the class and leave just <i>.
Yeah, I just made it up. You got me.

Has anyone ever asked Kovid why Calibre does these redundant styles? Does Calibre still do it?

It's not hard to fix by S&R, but it does get tedious. But I can't see the structure of the file until I clean away all the cruft.

Last edited by AlanHK; 06-01-2020 at 11:30 PM.
AlanHK is offline   Reply With Quote