0 votos
453 visualizações

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

Publicação antiga - exibida no idioma original
Paratext por (296 pontos)
reexibida | 453 visualizações

5 Respostas

0 votos
Melhor resposta

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

Publicação antiga - exibida no idioma original
por [Expert]
(2,9k pontos)
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).

Publicação antiga - exibida no idioma original
por (670 pontos)
reexibida

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.

Publicação antiga - exibida no idioma original
0 votos

Thanks! This is all I need.

Publicação antiga - exibida no idioma original
por (296 pontos)
0 votos

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

Publicação antiga - exibida no idioma original
por (1,3k pontos)
reexibida
0 votos

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

Publicação antiga - exibida no idioma original
por (296 pontos)

Perguntas relacionadas

0 votos
2 respostas 49 visualizações
Às vezes, preciso fazer alterações no arquivo AutoCorrect (ou criar um) e não sei como fazer isso. Existe uma ... de editar o arquivo AutoCorrect.txt? Uma resposta está abaixo!
Phil_Leckrone 9,9k perguntada Jun 4
0 votos
2 respostas 71 visualizações
Estou tentando configurar um arquivo autocorrect.txt em um projeto do Paratext 9.5. Segui as instruções nos arquivos de ... funcionando de jeito nenhum. O que pode estar errado?
anon399461 123 perguntada Mai 8
0 votos
1 resposta 222 visualizações
Em um projeto USFM 3 recém-criado, estou tentando inserir âncoras no texto e, em seguida, criar links para elas usando ... Alguém tem alguma ideia do que estou fazendo de errado? .
drwww 448 perguntada Jan 23, 2021
0 votos
3 respostas 563 visualizações
Dois consultores desejaram recentemente a possibilidade de usar emojis em notas de projeto, já que as pessoas estão ... \u antes de cada código no arquivo de Autocorreção)
[Expert]
sewhite
3,3k
perguntada Jun 22, 2022
0 votos
2 respostas 259 visualizações
Assim como Iver, nunca usei RegEx. Tenho uma equipe que mudou o formato das referências cruzadas para usar . entre ... ou sessões online do EMDC sobre RegEx? Obrigado, anon928451
anon928451 127 perguntada Set 21, 2022
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Every day they continued to meet together in the temple courts. They broke bread in their homes and ate together with glad and sincere hearts, praising God and enjoying the favor of all the people. And the Lord added to their number daily those who were being saved.
Acts 2:46-47
3,045 perguntas
6,005 respostas
5,671 comentários
2,026 usuários