View Single Post
Old 02-15-2015, 04:17 PM   #20
Skydog
Wizard
Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.
 
Skydog's Avatar
 
Posts: 2,286
Karma: 7409537
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Elipsa 2E, Sage, Libra Colour, Libra 2, Clara 2E, Oasis3, Voyage
Quote:
Originally Posted by jswinden View Post
Then the issue is not the gap being too big. Open the HTML file that contains the non-justfied line(s) and search for the text that didn't justify. Look for any goofy tag at the point where the line broke without justfying. As I recall, calibre wraps everything inside of gosh awful SPAN tags, or something similar, then assigns CSS that is a royal PITA to trace back. It reminds me of the garbage MS Word produces when you convert text to HTML. I never use calibre for converting formats.
I did indeed have a look at the HTML file for something odd but there was nothing unusual inserted where the incorrect justification was occuring. Keep in mind, I am a self-taught novice when it comes to CSS. As you suggested, I looked again and do see the SPAN tags you mention (see attached, gaps appear following words highlighted in blue). The big head scratcher for me is why this particular book is displaying the problem and no previous mobi files converted with Calibre. I expect to have the same problem with the second book in the series as it has the same ugly font and paragraph spacing as this one.

What would you suggest to fix/convert the original problem and retain the proper justification of the mobi?

Thank you, Jack.

Spoiler:
<p class="calibre_4"><span class="calibre_1">Most of the “heavies,” or the general officers, had their offices on the second deck, as did the commandant, the top Marine. Because the corps was so very small, they all knew Newman, and even though the assignment was highly classified, they also knew he had a brother serving with Delta who had been dispatched with Task Force Ranger to Mogadishu. Newman went immediately to the command center and presented his ID card to the sentry, a Marine corporal.</span></p><div class="calibre_2">*</div>
<p class="calibre_4"><span class="calibre_1">After checking the ID card against a list of names on a clipboard and making sure that the photo on the card matched the officer standing in front of him, the corporal hit a button beneath the counter. There was a buzzing sound as the electronic lock on the door opened and Newman stepped into the command center.</span></p><div class="calibre_2">*</div>
Skydog is offline   Reply With Quote