View Single Post
Old 02-23-2015, 10:22 AM   #1
JD-Kaplan
Junior Member
JD-Kaplan began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Feb 2015
Device: none
Conversion to mobi changes in text size after italics

I've got this input (the entire file is copyright protected):

“It is Friday, Col. Are you okay?”

My issue is that all of the text before the italics is one font size (.75em) and then everything after the italics is another font size (1.25em). I tried going to AZW3 instead but get the same output. When I examine the output of the AZW3 file in the calibre book editor, I see this:

<p class="calibre2"><span class="none2">“It </span><span class="none3">is</span> Friday, Col. Are you okay?”</p>

I can fix this manually by changing the css rule for 'none2' via the editor. it's an easy enough fix but I'd really prefer if I could find some setting in the conversion process to go to the .mobi output. The challenge is that for a .mobi I don't think I can alter the .css rules. I tried overriding them (span tag & .none2 class) but that didn't change anything.

Another awesome (preferable solution) would be if there was a way to flat out remove any span tags with none2 as the class.

Any suggestions?
JD-Kaplan is offline   Reply With Quote