0 votes

Our project has a set of autocorrect rules for converting straight double-quotes to curly double-quotes. First there’s a set of rules that takes care of openers, then a single “elsewhere” rule to convert the rest to closers. (This way we don’t have to specify all the contexts where a closer might occur.) It’s a beautiful solution EXCEPT:

I sometimes need to find all occurrences of straight double quotes so I can manually fix them. However, since autocorrect targets text typed into the find and replace fields, there’s no way to search for straight quotes (without editing the autocorrect file before and after).

Any ideas for a simpler solution? Could there be an option in the Find-Replace dialog that lets you “disable autocorrect”?

Thanks!

[Follow-up: If I disable the rule then run the search on a straight quote character, then re-enable the rule and reopen PT, the straight quote remains in the search history and I can select it and search without it’s converting into a curly.]

Paratext by (287 points)
reshown

5 Answers

0 votes
Best answer

I suggest you do a regular expressions search (regex). The basic process is described in Help:

by [Expert]
(2.9k points)
0 votes

I’ve bumped into this as well. One solution might be to open
Character Map and copy the straight-quote character from there.
Another solution, if you can remember the Unicode code point for
double quote (0022; 0027 is apostrophe-single quote), is to type
these four digits into Paratext, then without moving the cursor type
. This will toggle between showing a character vs. its
Unicode value. It works for me in both Paratext 8 and 9, in both a
text window and the Find/Replace box.

In Paratext Help see: How do I find out the Unicode value of a
character? This solution uses this hint in reverse to enter a
character via its Unicode value.

It also works in LibreOffice when entering text, but not in the Find
or Replace dialogs (at least, not for me in LO Writer 6.3, Linux
version).

by (603 points)
reshown

Yikes! Somehow Thunderbird rendered my angle-bracketed “alt-x” as hidden
or something.
In Paratext or LibreOffice you type “alt-x”(without the quotes) to
toggle between
viewing a character and its Unicode value.

0 votes

Thanks! This is all I need.

by (287 points)
0 votes

What about doing it in RegExPal? Does Autocorrect apply there also?

by (1.3k points)
reshown
0 votes

Autocorrect does not interfere with RegEx pal. So that’s another option (though a dangerous one when I’m in a hurry!).

by (287 points)

Related questions

0 votes
3 answers
Paratext Jun 22, 2022 asked by [Expert]
sewhite
(3.0k points)
0 votes
2 answers
0 votes
1 answer
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Make every effort to keep the unity of the Spirit through the bond of peace.
Ephesians 4:3
2,479 questions
5,175 answers
4,875 comments
1,284 users