Thread: Regex examples
View Single Post
Old 06-11-2013, 02:47 PM   #247
Leonatus
Wizard
Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.
 
Leonatus's Avatar
 
Posts: 1,060
Karma: 11391181
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
Quote:
Originally Posted by theducks View Post
If I understand
you are saying your device is breaking (padding) between characters?
Code:
"Nice to know becomes " Nice   to   know
when viewed (BV or device?)?
Exactly, only that - strange enough - no "normal" (double) quotation marks are concerned (as far as I can see), but only the single ones, and - don't know if it matters - of this type that I showed (›...‹). But it looks on the device just as you demonstrated.

Quote:
Originally Posted by Doitsu View Post
Non-breaking spaces should work: Insert > Special Character > nbsp
I shall try this. But: with this option I would have to have a look at each case where the issue happens? No regex?

Quote:
Originally Posted by Doitsu View Post
You might also occasionally see extra spaces if the value of the paragraph's text-align property is set to justify.

Try changing it to left to see if it makes a difference. E.g.

Code:
<p style="text-align: left;">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
If it works, change the corresponding paragraph style in the stylesheet to:

Code:
p { text-align: left; }
Well, as I said, I would principally prefer the text jusificated (and rather accept issues of lower importance).

I have a Kobo Touch, and I'm always trying to format the text alignment with Sigil, and not so by the internal options of the reader. Perhapsd, I should look if there are any changes.

BTW: I'm using the Kobo Touch Extended plugin, but not the "Soft Hyphenate"-option, for it dissolves, in my case, any kind of text justification.

Anyway, thanks a lot! I appreciate!

Last edited by Leonatus; 06-11-2013 at 02:51 PM.
Leonatus is offline   Reply With Quote