0
453 次瀏覽

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 (296 點) 提出
已重新顯示 | 453 次瀏覽

5 個回答

0
最佳回答

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

舊文章 - 以原文顯示
[Expert]
(2.9k 點) 提出
0

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

舊文章 - 以原文顯示
(670 點) 提出
已重新顯示

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

Thanks! This is all I need.

舊文章 - 以原文顯示
(296 點) 提出
0

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

舊文章 - 以原文顯示
(1.3k 點) 提出
已重新顯示
0

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

舊文章 - 以原文顯示
(296 點) 提出

相關問題

0
2 個回答 49 次瀏覽
有時我需要修改 AutoCorrect 檔案(或建立一個),但我不知道該怎麼做。有沒有簡單的方法來編輯 AutoCorrect.txt 檔案?下面有一個答案!
Phil_Leckrone 9.9k 提出 已提問 6月 4
0
2 個回答 71 次瀏覽
我試圖在 Paratext 9.5 專案中設定一個 autocorrect.txt 檔案。我已經按照 Paratext 說明檔案中的指示操作,但它似乎完全沒有作用。可能是哪裡出錯了呢?
anon399461 123 提出 已提問 5月 8
0
1 個回答 222 次瀏覽
在一個新建立的 USFM 3 專案中,我試著在文字中放置錨點,然後根據 USFM 3 文件「連結屬性」一節中的範例,使用具名目標來連結到這些錨點 在同一卷書中,我插入了: \jmp |link-id="article-Ruth"\jmp* ... -Ruth\jmp* ) 我遇到了無效參考錯誤(無論連結目標中是否包含 #) 有人知道我做錯什麼了嗎? .
drwww 448 提出 已提問 1月 23, 2021
0
3 個回答 563 次瀏覽
最近有兩位顧問希望能在專案筆記中使用表情符號(emojis),因為人們習慣在簡訊中使用它們 我幾天前發現,有些表情符號已納入 Unicode 標準,因此如果您知道 ... //russellcottrell.com/greek/utilities/SurrogatePairCalculator.htm (在自動更正檔案中的每個編碼前加上 \u)
[Expert]
sewhite
3.3k 提出
已提問 6月 22, 2022
0
2 個回答 259 次瀏覽
和 Iver 一樣,我從未使用過正則表達式(RegEx)。我有一個團隊,他們改變了交叉引用的格式,改用句號(.)來分隔章節和節,而不是冒號(:): 能否有人指導我如何幫助他們批量更改所有引用?我嘗試遵循之前的回答,但完全沒有結果。 有沒有關於正則表達式的課程或 EMDC 線上課程? 謝謝, anon928451
anon928451 127 提出 已提問 9月 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 個問題
6,005 個回答
5,671 則評論
2,026 位使用者