Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 05-13-2010, 12:00 AM   #1
sherman
Guru
sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.
 
Posts: 849
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.
If anyone can shed some light on the matter, it would be much appreciated. Thanks!
sherman is offline   Reply With Quote
Old 05-13-2010, 12:16 AM   #2
frabjous
Wizard
frabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
frabjous's Avatar
 
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?
frabjous is offline   Reply With Quote
Advert
Old 05-13-2010, 01:18 AM   #3
paulpeer
Zealot
paulpeer is on a distinguished road
 
paulpeer's Avatar
 
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.
paulpeer is offline   Reply With Quote
Old 05-13-2010, 01:27 AM   #4
sherman
Guru
sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.
 
Posts: 849
Karma: 2641698
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
Quote:
Originally Posted by frabjous View Post
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?
I took a quick screenshot on where it happens in the calibre ebook viewer. (see attachment for image.
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
Quote:
Originally Posted by paulpeer View Post
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.
I haven't payed much attention to what kind of quotes it happens with, so you could be right there.
Attached Thumbnails
Click image for larger version

Name:	ebook-v-example.JPG
Views:	334
Size:	26.6 KB
ID:	51488  
sherman is offline   Reply With Quote
Old 05-13-2010, 05:59 AM   #5
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,514
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.
Jellby is offline   Reply With Quote
Advert
Old 05-13-2010, 06:54 AM   #6
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
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.
HarryT is offline   Reply With Quote
Old 05-13-2010, 02:52 PM   #7
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
Quote:
Originally Posted by frabjous View Post
I've never seen ADE do that, nor calibre's viewer, and no viewer should.
I can't speak for Calibre's viewer, but ADE does this sometimes. And man, is it annoying...
Valloric is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 02:24 AM.


MobileRead.com is a privately owned, operated and funded community.