0 votes
420 views

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 (296 points)
reshown | 420 views

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 (670 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 (296 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 (296 points)

Related questions

0 votes
2 answers 29 views
Sometimes I need to make changes to the AutoCorrect file (or create one) and I don't know how to do that. Is ... easy way to edit the AutoCorrect.txt file? One answer is below!
Phil_Leckrone 9.8k asked Jun 4
0 votes
2 answers 40 views
I am trying to set up an autocorrect.txt file in a Paratext 9.5 project. I have followed the instructions in the Paratext ... 't seem to be working at all. What could be wrong?
anon399461 123 asked May 8
0 votes
1 answer 203 views
In a newly created USFM 3 project, I'm trying to place anchors in the text and then link to them with named targets ... the link target). Any ideas what I'm doing wrong? .
drwww 448 asked Jan 23, 2021
0 votes
3 answers 509 views
Two consultants have recently wished for the ability to use emojis in project notes, since people are used to using them ... htm (add \u before each code in the Autocorrect file)
[Expert]
sewhite
3.3k
asked Jun 22, 2022
0 votes
2 answers 236 views
Similarly to Iver, I have never used RegEx. I have a team who has changed their cross-reference format to use ... any courses, EMDC online sessions on RegEx? Thanks, anon928451
anon928451 127 asked Sep 21, 2022
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Very truly I tell you, whoever accepts anyone I send accepts me; and whoever accepts me accepts the one who sent me.
John 13:20
3,037 questions
5,995 answers
5,661 comments
2,022 users