Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 07-19-2016, 07:20 PM   #1
MerlinMama
Evangelist
MerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beauty
 
MerlinMama's Avatar
 
Posts: 487
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Libra Colour
Quotes/smart quotes in S&R

I'm wondering if I'm just not finding this option somewhere...

Is there a way in Search and Replace, to either be able to type in smart quotes (whether single or double) automatically, or disregard the type of quotes? I was searching for some things and it returned "no results", and it wasn't until 4 books later that I realized my error of searching for *you're* with a straight single quote (how it types in) when the entire text has a right single quote. I sometimes have a whole list of errors (or possible errors by authors) to check through, and it gets long and tedious to do the whole ALT+xxx every time.

I'd actually love to be able to type anywhere and have it be smart quotes (as in Word when typing up my personal books), but at least elsewhere in Editor I can smarten punctuation. I wouldn't want to UNsmarten the text, if it were possible...
MerlinMama is offline   Reply With Quote
Old 07-19-2016, 07:23 PM   #2
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
You can use a character set to select either one.

The Insert Character tool will allow you to enter arbitrary unicode characters into the search field, rather than relying on a smartening tool to fix dumb quotes.
eschwartz is offline   Reply With Quote
Advert
Old 07-19-2016, 08:45 PM   #3
MerlinMama
Evangelist
MerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beauty
 
MerlinMama's Avatar
 
Posts: 487
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Libra Colour
Ok, so no way to either type in smart quotes directly, or no way to have S&R disregard type of quotes?

Neither of your suggestions are quite what I was looking for, but thanks anyway, it might help someone else out. Don't need a character set, since all my text is one or the other, not both. Unless I've misunderstood what you mean by character set. I'm assuming it is: ("|“). Is that what you meant?

Insert character tool is (for me) longer than typing in the alt code.
MerlinMama is offline   Reply With Quote
Old 07-19-2016, 09:07 PM   #4
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
The simplest thing I have found is to use a dot to match anything. For your example, I would probably search for:
Code:
you.re
Otherwise, I just use the Insert Character tool. If I'm fixing problems with quotes, I have it opened to use and parked in the corner of the screen. Then there is the pile of saved searches that cover a reasonable percentage of these problems.
davidfor is offline   Reply With Quote
Old 07-19-2016, 09:42 PM   #5
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,397
Karma: 58055234
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
what about REGEX
Code:
[[:punct:]]
theducks is online now   Reply With Quote
Advert
Old 07-19-2016, 10:14 PM   #6
MerlinMama
Evangelist
MerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beauty
 
MerlinMama's Avatar
 
Posts: 487
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Libra Colour
Although I appreciate the suggestions, and they might help someone else who might search for this, I know how to compensate for the quotes even if it's annoying and I sometimes forget.

I was simply HOPING that I had missed an option or a tweak to either directly type the smart quotes or a way to tell S&R to disregard the TYPE of quotes and find all of them (kind of like the new search while disregarding tags...except able to replace with the correct word).

@davidfor: just to let you know, your suggestion of you.re would not necessarily work, since it would find words without the apostrophe, (words like "you really" etc.) although it would be closest.

Thanks anyway
MerlinMama is offline   Reply With Quote
Old 07-19-2016, 10:37 PM   #7
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by MerlinMama View Post
Ok, so no way to either type in smart quotes directly, or no way to have S&R disregard type of quotes?

Neither of your suggestions are quite what I was looking for, but thanks anyway, it might help someone else out. Don't need a character set, since all my text is one or the other, not both. Unless I've misunderstood what you mean by character set. I'm assuming it is: ("|“). Is that what you meant?

Insert character tool is (for me) longer than typing in the alt code.
Character sets are not capture groups:

Code:
["“]
And if you have memorized the alt code, sure.

...

But yeah, there is no way to automagically make a regex find smart quotes whenever you search for a dumb quote. You will have to manually specify it somehow -- although at least you have a couple ways to specify that you don't care which type of quotes are used.
eschwartz is offline   Reply With Quote
Old 07-19-2016, 11:00 PM   #8
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by MerlinMama View Post
@davidfor: just to let you know, your suggestion of you.re would not necessarily work, since it would find words without the apostrophe, (words like "you really" etc.) although it would be closest.
True, and usually do a count to see how many matches there are. If there aren't many, I'll go through them carefully. If there are a lot, I'll add something to the search. Usually, it will be a space, but "\b" for the word boundary would work well for your example.
davidfor is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to convert straight quotes to smart 'curly' typographer's quotes bookman156 ePub 52 06-20-2016 03:09 PM
Smart Quotes crutledge Calibre 4 01-03-2014 05:37 PM
MS Word Find & Replace and "Smart" quotes question. Ahu Lee Workshop 1 01-14-2013 11:02 AM
Smart Quotes crutledge Calibre 8 12-27-2012 07:35 PM
Smart Quotes Paxman53 Sigil 15 02-15-2012 08:31 PM


All times are GMT -4. The time now is 01:54 AM.


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