View Single Post
Old 02-26-2015, 01:04 PM   #1
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
azw hyphenation question ( how to spot it)

background.
I started reading a direct from amazon book on Kindle fire
a £ zero purchase - The tube Riders vol 1
and I am seeing hyphenation at some line ends. I thought Amazon reader apps did not / could not do that, so I have the book open in calibre AZW editor now to see if I can understand how this is being done...

( at first I thought it was being caused by a recent a Kindle firmware upgrade, but when I checked several other direct-from-amazon books, it only happens in this one single book )

so, having gotten in into calibre & opened it up i see:
1, that the text is one big 1.6Mb html file - that should not be a cause
2. that every para had an inline style. see below.
[ Now as I don't usually edit azw I don't know if this is normal or abnormal - I usually edit only in epub so I am used to seeing a separate stylesheet.]
here's what I see in every p tag:

<p style="margin:0.00% 0.00%; text-indent:1.5em; text-align:justify; widows:0; orphans:0"><span style=" font-size:1.0rem">...

for TOC entries, there are hard coded anchors within that one big file, like this
<p style="margin:0.00% 0.00%; text-align:center; widows:0; orphans:0"><a name="c24newborn"></a><a href="part0000.html#toc"><span style=" font-size:1.0rem; text-decoration:underline; color:#0000ff">Chapter Twenty-Four</span></a></p>

it is not obvious to me how the above code would "turn on" hyphenation in the kindle reader.

If I calibre-convert the book epub and view that, it looks like any other book, and if I read the original in Kindle for PC it looks normal there also.

I am pretty sure that it's not hidden soft hyphens, unless every multi-syllable word has them, as I can rotate the tablet to landscape view and see different line-end hyphens.

I pasted a chunk of code into notepad++ but no special character soft hyphens showed up there, though I did not try all encoding options,
I don't think calibre editor has a "show soft hyphens" option ?

any ideas anyone - I am stumped ?

as it is a free book, maybe someone else could "buy" it and take a look
The Tube riders , Chris Ward, kindle edition

Last edited by cybmole; 02-26-2015 at 01:07 PM.
cybmole is offline   Reply With Quote