View Single Post
Old 08-10-2008, 09:00 AM   #3
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,979
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3 and Fire
Quote:
Originally Posted by maggotb0y View Post
For those who are just interested in seeing the output, I've attached "Ivanhoe" by Sir Walter Scott in a bookDesigner generated Sony Reader file, and the .epub version as well.
The ePub version is entirely in italics under FBReader. This is because of a missing in </div> in Ivanhoe-title.html (after Prior.):

Code:
<div class="justify">&nbsp;&nbsp;&nbsp;&nbsp;</div>
<div class="epigraph"><em><div class="justify">&nbsp;&nbsp;&nbsp;&nbsp;Now fitted the halter, now traversed the cart, And often took leave,  but seemed loath to depart!*</div>
<div class="justify">&nbsp;&nbsp;&nbsp;&nbsp;* The motto alludes to the Author returning to the stage * repeatedly after having taken leave.</div>
<div class="justify">&nbsp;&nbsp;&nbsp;&nbsp;Prior.</em>
</div>
Should be:
Code:
<div class="justify">&nbsp;&nbsp;&nbsp;&nbsp;</div>
<div class="epigraph"><em>
<div class="justify">&nbsp;&nbsp;&nbsp;&nbsp;Now fitted the halter, now traversed the cart, And often took leave,  but seemed loath to depart!*</div>
<div class="justify">&nbsp;&nbsp;&nbsp;&nbsp;* The motto alludes to the Author returning to the stage * repeatedly after having taken leave.</div>
<div class="justify">&nbsp;&nbsp;&nbsp;&nbsp;Prior.</div></em>
</div>
Adobe DE does not care, because it treats each HTML file separately, but FBReader merges all the HTML into one ebook on startup.

I also suggest adding an option to remove the "justify" of each paragraph. Or, better still, promote the justify and the initial spaces of each paragraph (added by BD) into the CSS file (with an option to remove the justify).
wallcraft is offline   Reply With Quote