0 suara
453 tampilan

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

Postingan lama - ditampilkan dalam bahasa aslinya
Paratext oleh (296 poin)
ditampilkan kembali | 453 tampilan

5 Jawaban

0 suara
Jawaban terbaik

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

Postingan lama - ditampilkan dalam bahasa aslinya
oleh [Expert]
(2,9k poin)
0 suara

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

Postingan lama - ditampilkan dalam bahasa aslinya
oleh (670 poin)
ditampilkan kembali

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.

Postingan lama - ditampilkan dalam bahasa aslinya
0 suara

Thanks! This is all I need.

Postingan lama - ditampilkan dalam bahasa aslinya
oleh (296 poin)
0 suara

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

Postingan lama - ditampilkan dalam bahasa aslinya
oleh (1,3k poin)
ditampilkan kembali
0 suara

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

Postingan lama - ditampilkan dalam bahasa aslinya
oleh (296 poin)

Pertanyaan terkait

0 suara
2 jawaban 52 tampilan
Kadang-kadang saya perlu membuat perubahan pada file AutoCorrect (atau membuatnya) dan saya tidak tahu cara melakukannya. ... AutoCorrect.txt? Salah satu jawabannya ada di bawah!
Phil_Leckrone 9,9k bertanya Jun 4
0 suara
2 jawaban 72 tampilan
Saya sedang mencoba mengatur file autocorrect.txt dalam proyek Paratext 9.5. Saya telah mengikuti instruksi di file ... . Sepertinya sama sekali tidak berfungsi. Apa yang salah?
anon399461 123 bertanya Mei 8
0 suara
1 jawaban 223 tampilan
Dalam proyek USFM 3 yang baru dibuat, saya mencoba menempatkan jangkar dalam teks dan kemudian menautkan ke sana dengan ... tentang apa yang salah dengan apa yang saya lakukan? .
drwww 448 bertanya Jan 23, 2021
0 suara
3 jawaban 563 tampilan
Dua konsultan baru-baru ini menginginkan kemampuan untuk menggunakan emoji dalam catatan proyek, karena orang-orang terbiasa ... \u sebelum setiap kode dalam file Koreksi Otomatis)
[Expert]
sewhite
3,3k
bertanya Jun 22, 2022
0 suara
2 jawaban 259 tampilan
Sama seperti Iver, saya belum pernah menggunakan RegEx. Saya memiliki tim yang telah mengubah format silang rujuk ... sesi online EMDC tentang RegEx? Terima kasih, anon928451
anon928451 127 bertanya Sep 21, 2022
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Finally, all of you, be like-minded, be sympathetic, love one another, be compassionate and humble.
1 Peter 3:8
3,046 pertanyaan
6,006 jawaban
5,671 komentar
2,026 pengguna