0 votes
452 vues

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.]

Ancienne publication - affichée dans sa langue d'origine
Paratext par (296 points)
réaffiché | 452 vues

5 Réponses

0 votes
Meilleure réponse

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

Ancienne publication - affichée dans sa langue d'origine
par [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).

Ancienne publication - affichée dans sa langue d'origine
par (670 points)
réaffiché

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.

Ancienne publication - affichée dans sa langue d'origine
0 votes

Thanks! This is all I need.

Ancienne publication - affichée dans sa langue d'origine
par (296 points)
0 votes

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

Ancienne publication - affichée dans sa langue d'origine
par (1,3k points)
réaffiché
0 votes

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

Ancienne publication - affichée dans sa langue d'origine
par (296 points)

Questions connexes

0 votes
2 réponses 49 vues
Parfois, j'ai besoin d'apporter des modifications au fichier AutoCorrect (ou d'en créer un) et je ne sais pas ... le fichier AutoCorrect.txt ? Une réponse se trouve ci-dessous !
Phil_Leckrone 9,9k posée juin 4
0 votes
2 réponses 71 vues
J'essaie de configurer un fichier autocorrect.txt dans un projet Paratext 9.5. J'ai suivi les instructions des fichiers d' ... semble pas fonctionner du tout. Que se passe-t-il ?
anon399461 123 posée mai 8
0 votes
1 réponse 222 vues
Dans un projet USFM 3 nouvellement créé, j'essaie de placer des ancres dans le texte et de créer des liens vers elles à l' ... Avez-vous des idées sur ce que je fais de mal ? .
drwww 448 posée janv. 23, 2021
0 votes
3 réponses 563 vues
Deux consultants ont récemment souhaité la possibilité d'utiliser des émojis dans les notes de projet, car les ... avant chaque code dans le fichier de correction automatique)
[Expert]
sewhite
3,3k
posée juin 22, 2022
0 votes
2 réponses 259 vues
Comme Iver, je n'ai jamais utilisé les expressions régulières (RegEx). J'ai une équipe qui a modifié le format ... EMDC sur les expressions régulières (RegEx) ? Merci, anon928451
anon928451 127 posée sept. 21, 2022
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Give proper recognition to those widows who are really in need.
1 Timothy 5:3
3,045 questions
6,005 réponses
5,671 commentaires
2,026 utilisateurs