09-08-2020, 01:04 PM | #1 |
the rook, bossing Never.
Posts: 11,582
Karma: 87456643
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Prime Marks Question
Most word processors not only get leading apostrophes wrong (like using ‘85 for “back in ’85”) but also use double closing quote and single closing quote on measurements like feet and inches or minutes and seconds (time or angular).
5’ 3” is wrong. 5' 3" is better. 5′ 3″ is correct. The Prime and Double Prime marks. You can fake the marks by italic straight quotes: 5' 3". Done in Georgia and larger so to show it. Obviously if you embed a font and the ereader device or app supports it you can use the professional Prime marks (not related to Prime Numbers). But if you don't embed a font or it's an old ereader? What happens if you you use real prime marks? Should we always fake it with italics and straight quotes and then the fall back is " and ' rather than [] and [] or space? No issue on paper. Use real prime marks. The " and ' are only for programming languages, in English. A throw back to typewriters as actually is the underline. IMO real ebooks and paper books should never use the underline except for URLs, they meant "typeset this in italic". |
09-08-2020, 02:35 PM | #2 | |||
frumious Bandersnatch
Posts: 7,516
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
Quote:
Quote:
|
|||
Advert | |
|
09-08-2020, 02:44 PM | #3 |
the rook, bossing Never.
Posts: 11,582
Karma: 87456643
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
I'd not underline a URL in a paperbook, you can't tap/click it. It badly reduces readibility The Underline is certainly a typewriter thing and should be rarely if ever used in fiction. There might be some use for it, but I can't think of it.
"No, we should use the proper characters and blame the reader (the device, not the person) if they don't work." That's not useful. The reader (the human) must not be penalised when they buy a book due to limitations of the reader hardware/software. I guess I'll test a Kindle DXG and Palm PDA. Maybe a Binatone. What I meant was does anyone know what devices don't support Prime marks? |
09-08-2020, 04:08 PM | #4 |
Bibliophagist
Posts: 36,582
Karma: 146059340
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
I would suspect that it would be a matter of whether a font supports prime marks rather than a device. On a Kobo using a kepub, the renderer will look in other fonts for a non-supported glyph but an epub is limited to the font in use.
|
09-08-2020, 04:09 PM | #5 |
Addict
Posts: 311
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
|
I could see underlining a book's title if it appears within an italicized blockquote. I'm not dead sure whether the usual approach of reverting to roman text is suitable in that context.
ETA, my vote is to use proper primes as it seems impossible to account for every font. By which I mean a user using a very flexible e-reader app could hypothetically choose a homemade font that doesn’t even include proper curly quotes. So, being impossible to entirely avoid an ugly fallback, better to just code the intended. Last edited by phillipgessert; 09-08-2020 at 08:11 PM. |
Advert | |
|
09-21-2020, 02:35 PM | #6 |
the rook, bossing Never.
Posts: 11,582
Karma: 87456643
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Primes work in mobi, epub and azw.
Finally I got round to testing.
The proper prime marks, rather than italic ' and " giving ' and " do work on old mobi only Kindles. Not a problem on epubs or azw, of course. I've not tested a pre-epub Sony. To enter the the real Prime and Double Prime characters on Windows if you have a separate number pad, then press Alt+8242 (press and hold the Alt key while you type 8242) for prime, or Alt+8243 for double prime. On MacOS either use the Character viewer or add the International Unicode Hex Keyboard and switch to it to enter 2032 for prime or 2033 for double prime in Unicode Hex. Windows and Linux have similar utilities. In MS Word go Insert > Symbol. Enter 2032 for prime or 2033 for double prime in Unicode Hex. In LO Writer, on any platform, go Insert > Special Character and put 2032 for ′ or 2033 for ″ in the Hexadecimal U box. Click on Add to Favourites and then the symbol. The prime characters can only be inserted if they are actually in the character set. Actual symbols: ′ and ″. The relative weight will depend on the font family. They are a little bolder than italic ' and " in Georgia and quite light on the normal serif font on the Kindle DXG. I didn't try them in Courier, on the DXG, which does seem to render as a font. I'm sure I've seen Sans on an unmodified DXG or older Kindle, but currently I've forgotten the recipe. Last edited by Quoth; 09-21-2020 at 02:38 PM. |
09-25-2020, 06:02 PM | #7 | |||
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
My response in Diap's "PunctuationSmarten Sigil plugin" thread. Also see mine + Jellby's thorough discussion on Primes (and various other typographical questions) in: "Punctuation rules of thumb?" Some old readers, like my original Nook, had issues with the actual prime characters missing in fonts... but honestly, I currently recommend using the proper primes no matter what (for TTS and Accessibility reasons). Quote:
Quote:
In modern documents/typography, underline should be relegated to URLs only. (And as Jellby said, in Print, no underline needed.) In the case of books/documents that originally were typeset using underline, but are now digitized/modernized, this is what I've done: Original: Code:
<p>This is an <u>Example Book Title</u> from a typewriter.</p> You digitize what the original author intended to write: Code:
<p>This is an <i>Example Book Title</i> from a typewriter.</p> You mark the "original visuals", but override it with modern typography: Code:
<p>This is an <span class="underline">Example Book Title</span> from a typewriter.</p> span.underline { font-style: italic; } Code:
span.underline { text-decoration: underline; } Side Note: This reminds me of a book I digitized back in 2014. It was written on a typewriter, and the author used bold instead of italics: Clearly, you can tell the bold text was meant to be italics, and the (50) markup was meant to be footnotes. Modernizing and retypesetting the book, I updated to this: The new print/ebook doesn't have an underline in sight. (The original also had ASCII art diagrams/equations... which I recreated + vectorized.) Last edited by Tex2002ans; 09-25-2020 at 07:36 PM. |
|||
09-26-2020, 09:43 AM | #8 |
the rook, bossing Never.
Posts: 11,582
Karma: 87456643
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
I've decided to replace ' and " with prime marks on measurements as it seems very few ereaders don't support it and unless you switch off Smart Quotes it can mess them up. I'm considering turning off SmartQuotes as I can easily do AltGr-v, AltGr-b, AltGr-V, and AltGr-B for “ ” ‘ ’ and have the primes saved in Insert Custom Character. I may add them later to Compose, though compose ' and compose " are in use.
SmartQuotes is actually dumb and broken. '89 gives ‘89 instead of ’89. Also on LO it does “ instead of ” after — or …! I wonder does the old Nook without them work if the epub has an embedded font like Georgia that does have them? Last edited by Quoth; 09-26-2020 at 09:46 AM. |
09-26-2020, 02:04 PM | #9 |
Running with scissors
Posts: 1,552
Karma: 14325282
Join Date: Nov 2019
Device: none
|
In old novels, like the ones on Project Gutenberg, there are often letters that the characters write to each other. Sometimes the book even says that the letter was handwritten but in the printed book they'll change fonts within the letter; e.g., using small caps for the writer's signature. Whenever I redo the formatting for a PG book I set the letters in italics since it's vaguely sort of handwritten looking (and I don't embed fonts). Whenever the PG version has italics in the body of the letter (not the address or whatever) I switch to underline.
|
09-26-2020, 02:09 PM | #10 | ||
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
The only reason why the Nook couldn't display many "foreign"/"rare" characters was because of poor character support across the device's fonts. (If I remember correctly, the Nook also didn't have a fallback font like Kindles with Code2000, so if the selected font didn't have it... you got the '?'.) Even many Eastern European characters were missing (like 'č' or 'Š'). But in 2020, I wouldn't worry about it. Just use the proper characters. Quote:
Read Post #19+ in "[old thread] non breaking spaces (* and *) automatically removed". Not too much has changed since then, but there have been some enhancements:
At the very bottom of my 2016 post, I also gave 2 Regexes I use to catch the shortened years + common ones like the "exception list" above: "Proof reading help please - General, How to" So that's mostly how I've been handling this the past many years:
Last edited by Tex2002ans; 09-26-2020 at 02:25 PM. |
||
09-26-2020, 02:13 PM | #11 | |
Resident Curmudgeon
Posts: 74,563
Karma: 129670952
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
09-27-2020, 08:29 AM | #12 | |
the rook, bossing Never.
Posts: 11,582
Karma: 87456643
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Quote:
Pity about 1/2 width spaces for numbers and units, or thin spaces either side of dashes (not hyphens). Still, it's one less difference between eink and paper publishing sorted. I was thinking this morning that everyone that designed ebook formats too much concentrated on existing displays, fonts in PDAs etc and current HTML at the time rather than putting a complete set of typography support and specifying how the renderers should fall back to use the local device or display limitations. Another strange limitation lacking that could have been in ebooks from the beginning was client side image map HTML. It's dead simple. Rather than a single link with an image you have rectangles defined for each link in the image. No javascript, CSS or complex processing needed other than subtracting location selected from image location on page. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Tons of question marks? | Belle2Be | Amazon Kindle | 17 | 02-22-2011 06:18 PM |
Quotes and question marks | VelvetElvis | Conversion | 19 | 01-30-2011 10:48 AM |
Tons of question marks | jtndesigner | Calibre | 1 | 01-20-2011 06:32 AM |
Questionable Question Marks | diggozo | Sony Reader | 2 | 12-29-2009 11:01 AM |
Question Marks | goose61282 | Sigil | 4 | 10-23-2009 08:33 AM |