05-13-2010, 12:00 AM | #1 |
Guru
Posts: 850
Karma: 2641698
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
|
Stop line wrapping at quotes at the end of a paragraph
Hi,
Basically, I'm getting annoyed with the epub renderers I use (mostly ADE, but also calibre's ebook viewer) choosing to wrap lines at an ending quote. Is there any CSS that would stop this behavior? Seems to mostly happen at the end of a paragraph. example of what I mean: Code:
An example of how the remderers handle the mentioned line wrapping. "this is a bit of dialog at the end of a paragraph " A new paragraph starts here. |
05-13-2010, 12:16 AM | #2 |
Wizard
Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
|
I've never seen ADE do that, nor calibre's viewer, and no viewer should.
Are you sure there aren't spaces before the quotation marks in the source file? Could you post a snippet of the xhtml where this happens? |
Advert | |
|
05-13-2010, 01:18 AM | #3 |
Zealot
Posts: 147
Karma: 56
Join Date: Dec 2009
Location: Antwerpen
Device: iPhone, Sony PRS-505, EPUBreader
|
I've seen this phenomen too but as far as I can remember it happens only with typographical quotes, not with the ordinary quotes you find on your keyboard.
|
05-13-2010, 01:27 AM | #4 | |
Guru
Posts: 850
Karma: 2641698
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
|
Quote:
The corresponding xhtml in the epub is: Code:
...you know nothing about may get you in a lot of trouble.”</p> <p class="calibre1">I must have |
|
05-13-2010, 05:59 AM | #5 |
frumious Bandersnatch
Posts: 7,515
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
That's a bug/problem of the underlying XHTML renderer, there's nothing you can do with CSS. At most, you could insert a zero width joiner and hope for the best, but that's a really ugly patch.
|
Advert | |
|
05-13-2010, 06:54 AM | #6 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
I'm pretty sure that none of my reading device do this. Sounds like a bug - along the lines of Bookeen's Mobi reader not regarding a dash as a valid place at which to break a line.
|
05-13-2010, 02:52 PM | #7 |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Line un-wrapping Factor | jjansen | Calibre | 6 | 08-18-2010 12:21 AM |
Prevent Calibre to paragraph each line | armkbdotcom | Calibre | 3 | 05-29-2010 03:15 PM |
EPUB: End of paragraph after letters with accent? | wildbilly | Calibre | 3 | 01-29-2010 09:15 AM |
Paragraph indents from command line | JSWolf | Calibre | 4 | 11-06-2008 08:41 PM |
last line in each paragraph centred | scgf | Calibre | 9 | 09-10-2008 02:23 PM |