View Single Post
Old 05-06-2015, 05:00 AM   #1
cramoisi
Librarian
cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.
 
Posts: 346
Karma: 72225
Join Date: Apr 2015
Location: Liège - Belgium
Device: kobo gloHD - KA1
delete an attribute + value during calibre conversion

Hi there !

I know Calibre could remove an attribute in the CSS via the look and feel panel. I mainly use it to delete the "line-height" which I prefer to manage with my Kobo ereader.

The fact is I also want to suppress the paragraph alignment in CSS to manage it the same way. But if I tell Calibre to suppress "text-align" , all alignment, even those not in paragraph, are wiped.

I'm searching a way to tell Calibre to suppress only "text-align: justify;" or "text-align: left;". This way, the alignment of the title, etc. are kept but the Kobo could manage the alignment of the main text.

Is there a way to achieve this in mass conversion ?
cramoisi is offline   Reply With Quote