![]() |
#31 | |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,544
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
You may get surprises with ’em, days’, ’tis, evermo’, etc. Not to mention ‘em and ‘tis (I have seen them too often). |
|
![]() |
![]() |
![]() |
#32 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,210
Karma: 168808723
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
![]() |
![]() |
![]() |
#33 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,356
Karma: 145488914
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#34 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,798
Karma: 103895653
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
I'd use ¬ and ^ or ~
It depends on context. I've a UK keyboard, Linux (more AltGr characters) and the CapsLock mapped as Compose, so plenty of choice. I first search to make sure the replacement character isn't used. þ ß ð ĸ ł § « » · Ω ® Ŧ đ ŋ etc are on the AltGr |
![]() |
![]() |
![]() |
#35 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Nothing has really changed in the American “” (Outer) ‘’ (Inner) <-> British ‘’ (Outer) “” (Inner)...
See the 2016 topic, "How to convert straight quotes to smart 'curly' typographer's quotes" (especially my post #26, but read the entire topic). Same exact people have the same exact comments 4 years later. But I'll go into a bit more detail here. Flipping Inner/Outer Quotes The vast majority could be flipped with no issue (using Jellby's "intermediate symbol" method):
(Personally, I wouldn't use the @, too common. But you can pick any obscure Unicode characters, like ¤ CURRENCY SIGN (U+00A4)) Then you just have to search/replace the INNER/OUTER symbols to their opposite. Outer -> Inner:
Inner -> Outer:
* * * "Actual Apostrophe" Note: You could do this pass before or after substition. It's up to you. Look for very common apostrophe word-endings:
Mark those with a different symbol for "actual apostrophe" (let's pick the ¤ CURRENCY SIGN):
You could even mark those words that actually use a RIGHT SINGLE QUOTE:
You'll also have to check possessives that end with s + apostrophe:
(These have to be decided on a case-by-case basis, because you don't know if it's the end of a quotation or not.) * * * Now you replace all those intermediate symbols with the new INNER/OUTER quotations. Outer -> Inner:
Inner -> Outer:
"Actual Apostrophe":
Look For Mismatches Afterwards, like the above 2016 topic discusses, you have to do a more thorough check (like Toxaris's Dialogue Check) which looks for mismatching sets of outer/inner quotes. You could roughly get it with some Regex that looks for these in the same paragraph:
(If you're doing this, you'll probably want to do this while you still have "Actual Apostrophes" marked as ¤... so they don't interfere.) Note: Pure Regex will definitely miss a few though. You need something slightly more intelligent that checks both forwards/backwards for mismatches (Toxaris's Dialogue Check is the only thing I know of that does this). Note 2: Like Jellby says, there are typically a lot of wrong LEFT/RIGHT errors in lots of ebooks (especially around em dashes), so a program may want to squash a lot of those BEFORE doing the flipping steps. Note 3: Depending on the language, you may have even more "actual apostrophes" in the middle of words... like French uses a lot of:
so another "actual apostrophe" check may just be assume anything in the middle of a word is one: Search: (\w)’(\w) Replace: \1¤\2 Last edited by Tex2002ans; 02-12-2020 at 05:39 PM. |
![]() |
![]() |
![]() |
#36 |
Running with scissors
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,584
Karma: 14328510
Join Date: Nov 2019
Device: none
|
And while you're at it you can fix all those misspelled words that the British insist on using; catalogue, criticise, programme, colour, etc.
Last edited by hobnail; 02-12-2020 at 05:56 PM. |
![]() |
![]() |
![]() |
#37 | |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,798
Karma: 103895653
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Quote:
![]() Actually I believe the Author's regional spelling should be used. You did mean while, not why? Typos can be fixed. The style of Quotes and Layout are publisher things, and UK / Irish publishers use all the different conventions, both single and double quoted text. Consistent house styles for decades. |
|
![]() |
![]() |
![]() |
#38 |
Running with scissors
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,584
Karma: 14328510
Join Date: Nov 2019
Device: none
|
|
![]() |
![]() |
![]() |
#39 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,656
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@Jellby - curious: in Spanish would you use an em-dash (u2014) '—' or a quotation dash (horizontal bar) (u2015) '―'. In some fonts a quote dash a tad shorter and heavier than an em dash , e.g. TNR
Em dash : — Quote dash : ― BR |
![]() |
![]() |
![]() |
#40 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,656
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
If I had my druthers we'd all use corners to mark dialogue, they work for RTL, LTR and UP and DOWN languages - clever people them Chinese/Japanese/Koreans. I've been experimenting with using unicode emojis for temporary replacement markers - they're hard to miss if you fail to remove them. Forgot to say, via AHK. BR Last edited by BetterRed; 02-12-2020 at 06:42 PM. |
|
![]() |
![]() |
![]() |
#41 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
That HORIZONTAL BAR/"quotation dash" character is missing on a lot of fonts... probably not safe to use in ebooks. Quote:
LibreOffice is still plagued with it, but they've been working on some autocorrect bugs lately. Maybe it might get squashed. After any Smarten Punctuation, I always just do a search for things like: ”— (RIGHT DOUBLE QUOTE + EM DASH) —“ (EM DASH + LEFT DOUBLE QUOTE) Last edited by Tex2002ans; 02-12-2020 at 07:15 PM. |
||
![]() |
![]() |
![]() |
#42 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,656
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
![]() |
![]() |
![]() |
#43 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
|
![]() |
![]() |
![]() |
#44 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,656
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
IIRC the quote is initially shown as a straight quote and gets changed to a curly when you press the space bar or Enter (which is off-putting), that makes me think its in auto-correct or it's a macro. I've been typing quote, backspace, ctrl+alt+num-, and End for almost 30 years, no doubt I'll continue to do so. BR |
|
![]() |
![]() |
![]() |
#45 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,656
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
What's your update rule-of-thumb? | Anabana | Calibre | 20 | 06-13-2012 11:23 PM |
PRS-600 Thumb Problem | Gernella | Sony Reader | 4 | 02-02-2010 05:27 PM |
THUMB WHEEL HAS THREE BUTTONS | asdx | Astak EZReader | 2 | 01-29-2010 12:51 PM |