0 votos
453 vistas

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

Publicación antigua - se muestra en su idioma original
Paratext por (296 puntos)
mostrada de nuevo | 453 vistas

5 Respuestas

0 votos
Mejor respuesta

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

Publicación antigua - se muestra en su idioma original
por [Expert]
(2,9k puntos)
0 votos

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

Publicación antigua - se muestra en su idioma original
por (670 puntos)
mostrada de nuevo

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.

Publicación antigua - se muestra en su idioma original
0 votos

Thanks! This is all I need.

Publicación antigua - se muestra en su idioma original
por (296 puntos)
0 votos

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

Publicación antigua - se muestra en su idioma original
por (1,3k puntos)
mostrada de nuevo
0 votos

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

Publicación antigua - se muestra en su idioma original
por (296 puntos)

Preguntas relacionadas

0 votos
2 respuestas 52 vistas
A veces necesito hacer cambios en el archivo AutoCorrect (o crear uno) y no sé cómo hacerlo. Hay una forma ... el archivo AutoCorrect.txt? Una respuesta está a continuación!
Phil_Leckrone 9,9k preguntada jun 4
0 votos
2 respuestas 72 vistas
Estoy intentando configurar un archivo autocorrect.txt en un proyecto de Paratext 9.5. He seguido las instrucciones de ... No parece funcionar en absoluto. Qué podría estar mal?
anon399461 123 preguntada may 8
0 votos
1 respuesta 223 vistas
En un proyecto USFM 3 recién creado, estoy intentando colocar anclas en el texto y luego enlazar con ellas mediante ... enlace). Alguna idea sobre qué estoy haciendo mal? .
drwww 448 preguntada ene 23, 2021
0 votos
3 respuestas 563 vistas
Recientemente, dos consultores han solicitado la posibilidad de usar emojis en las notas de proyecto, ya que las personas ... antes de cada código en el archivo de Autocorrección)
[Expert]
sewhite
3,3k
preguntada jun 22, 2022
0 votos
2 respuestas 259 vistas
Al igual que Iver, nunca he usado RegEx. Tengo un equipo que ha cambiado el formato de sus referencias cruzadas para ... o sesión en línea de EMDC sobre RegEx? Gracias, anon928451
anon928451 127 preguntada sep 21, 2022
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
They all joined together constantly in prayer, along with the women and Mary the mother of Jesus, and with his brothers.
Acts 1:14
3,046 preguntas
6,006 respuestas
5,671 comentarios
2,026 usuarios