|  09-19-2017, 05:54 AM | #31 | |
| Wizard            Posts: 2,625 Karma: 3120635 Join Date: Jan 2009 Device: Kindle PW3 (wifi) | Quote: 
 Last edited by roger64; 09-19-2017 at 05:57 AM. | |
|   |   | 
|  09-19-2017, 05:58 AM | #32 | 
| Wizard            Posts: 2,625 Karma: 3120635 Join Date: Jan 2009 Device: Kindle PW3 (wifi) | 
			
			mistake
		 | 
|   |   | 
| Advert | |
|  | 
|  09-19-2017, 08:08 AM | #33 | 
| Resident Curmudgeon            Posts: 80,740 Karma: 150249619 Join Date: Nov 2006 Location: Roslindale, Massachusetts Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 | 
			
			What firmware are you using and are you reading ePub or kepub? I've not see a space between quotes with ePub or kepub. I'm using firmware 4.5.9587. But, I've never seen this on any of the firmware I've used.
		 | 
|   |   | 
|  09-19-2017, 08:10 AM | #34 | |
| Resident Curmudgeon            Posts: 80,740 Karma: 150249619 Join Date: Nov 2006 Location: Roslindale, Massachusetts Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 | Quote: 
 What version ADE are you using? I don't recall seeing this on my H2O reading ePub. | |
|   |   | 
|  09-19-2017, 07:49 PM | #35 | |
| Fanatic            Posts: 531 Karma: 10000000 Join Date: Aug 2013 Location: Hamden, CT Device: Kindle Paperwhite (11th gen), Scribe, Kindle 4 Touch | 
			
			It shouldn't be.  It's punctuation just like any other, and should always "glue" to the previous characters. I've never seen a typeset book (where things like line breaks are manually controlled) where an em-dash immediately preceded by a letter starts a line, with the letter on the previous line. Quote: 
 Assuming no automatic hyphenation using a dictionary, white space is the only place a line should break in HTML. If a break has to be forced because there just isn't any white space (or no white space near enough to allow reasonably sized spaces in justified text), then breaking after a punctuation mark and before a non punctuation mark is the only choice that matches the style of nearly 100 years of typesetting. My problem is that I read with a renderer that follow line break rules strictly, and won't break after punctuation that often has no spaces around it (em- and en-dashes, ellipsis, etc.), so I get some very weird spacing on justified lines with at lot of those characters. My solution is to put a thin space (&thinsp  after those kind of marks.  It is almost not visible, but allows breaking where it should happen. | |
|   |   | 
| Advert | |
|  | 
|  09-19-2017, 08:33 PM | #36 | 
| Wizard            Posts: 3,413 Karma: 13369310 Join Date: May 2008 Location: Launceston, Tasmania Device: Sony PRS T3, Kobo Glo, Kindle Touch, iPad, Samsung SB 2 tablet | |
|   |   | 
|  09-23-2017, 05:25 AM | #37 | ||
| Wizard            Posts: 2,306 Karma: 13057279 Join Date: Jul 2012 Device: Kobo Forma, Nook | Quote: 
 http://www.unicode.org/reports/tr14/#Table1 or more specifically, this section: http://www.unicode.org/reports/tr14/#B2 Last year, we also discussed a similar situation with linebreaking around thin spaces: https://www.mobileread.com/forums/sh...=278187&page=4 Quote: 
 In reality, you would want language- and locale-specific linebreaking rules + low-level access to tweaking which characters allow linebreaks before/after. Nothing I know currently does this (LaTeX is probably the closest). For now, you are mostly at the mercy of the people who coded the renderers (and you do get some abominations like GrannyGrump's examples). Last edited by Tex2002ans; 09-23-2017 at 06:23 AM. | ||
|   |   | 
|  09-23-2017, 12:54 PM | #38 | 
| Wizard            Posts: 4,520 Karma: 121692313 Join Date: Oct 2009 Location: Heemskerk, NL Device: PRS-T1, Kobo Touch, Kobo Aura | 
			
			In some typography a dash at the beginning of the line can also mean start of a dialogue. So, there is more than one use for the dash at the beginning.
		 | 
|   |   | 
|  09-23-2017, 07:08 PM | #39 | ||
| null operator (he/him)            Posts: 22,010 Karma: 30277294 Join Date: Mar 2012 Location: Sydney Australia Device: none | Quote: 
 Quote: 
 I've often seen the emdash at the end of dialogue (to indicate interrupted speech) dropped to a new line, even though its coded as “Blah blah blah—” it appears as “Blah blah blah —” rather than “Blah blah blah—” I've never seen an ellipsis (used to indicate incomplete speech) dropped to a new line in the same way. I first saw it in DISOSS and PROFS - in pre-historic times. It's long been my belief that just because IBM made a blunder in their code, some others have been doing the same ever since. Contagion or inheritance - take your pick. BR Last edited by BetterRed; 09-23-2017 at 07:17 PM. | ||
|   |   | 
|  09-24-2017, 03:39 AM | #40 | ||
| Wizard            Posts: 2,306 Karma: 13057279 Join Date: Jul 2012 Device: Kobo Forma, Nook | Quote: 
 https://en.wikipedia.org/wiki/Non-En...Quotation_dash Quote: 
 Original: As Mr. F—— said. Wrong: As Mr. F— — said. or this: Original: And then …… nothing. Wrong: And then … … nothing. I've also seen crappy breaks like: Original: Example Sentence..." Wrong: Example Sentence.. ." This is where the weird edge cases come into play. So you can't just implement broad rules (break after an em dash or always break after a period), you have to take into account what kinds of characters are also in/around them. One of the best discussions I've come across on the em dash line breaking was this post on the TeX Stack Exchange: https://tex.stackexchange.com/a/60038 | ||
|   |   | 
|  09-26-2017, 07:20 PM | #41 | |
| mostly an observer            Posts: 1,519 Karma: 996810 Join Date: Dec 2012 Device: Kindle | Quote: 
 | |
|   |   | 
|  10-11-2017, 03:20 AM | #42 | 
| Unicycle Daredevil            Posts: 13,944 Karma: 185432100 Join Date: Jan 2011 Location: Planet of the Pudding Brains Device: Aura HD (R.I.P. After six years the USB socket died.) tolino shine 3 | 
			
			This has been a very informative thread. Thanks to all. Very useful for me in particular, because I like making poetry ebooks, and a dash at the end of a verse dropping to the next line looks plain awful. To avoid it, I've started to use the "nowrap" method proposed by Rubén in post #17. Works great. And I've come up with a regex that puts the nowrap span around the last word plus dash of each verse: Find (note that there's a space at the beginning): Code: ([^\s]*)—</p> Code:  <span class="nowrap">\1—</span></p> | 
|   |   | 
|  10-17-2017, 02:49 PM | #43 | |
| mostly an observer            Posts: 1,519 Karma: 996810 Join Date: Dec 2012 Device: Kindle | Quote: 
 I don't know if Donna Leon is much given to dashes, but I will check the book I'm currently reading. | |
|   |   | 
|  10-17-2017, 02:55 PM | #44 | 
| mostly an observer            Posts: 1,519 Karma: 996810 Join Date: Dec 2012 Device: Kindle | 
			
			Yeah, here's one, page 194 of The Waters of Eternal Youth, published in Canada but printed in the US, third line from the top ends as undefined --
		 | 
|   |   | 
|  10-31-2017, 06:30 AM | #45 | 
| Wizard            Posts: 1,166 Karma: 1410083 Join Date: Nov 2010 Location: Germany Device: Sony PRS-650 | 
			
			I've just seen this thread. Very informative. Thanks to all.
		 | 
|   |   | 
|  | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| italic at end of line causes next line to start with a space | ebookreadr | Sigil | 29 | 03-20-2017 11:25 AM | 
| Preventing chemical symbol from being split by page or line break | Nick Payne | ePub | 8 | 10-23-2013 03:06 AM | 
| Line breaks on Kindle, no line breaks on 4 PC | Siavahda | Kindle Formats | 0 | 10-20-2012 05:50 AM | 
| Spurious Line Breaks | Halk | Workshop | 1 | 05-15-2010 01:22 PM | 
| No line breaks | ecpepper | Amazon Kindle | 3 | 08-09-2009 06:42 PM |