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 发布 提问于 六月 4
0
2 个回答 71 次浏览
我试图在 Paratext 9.5 项目中设置一个 autocorrect.txt 文件。我已经按照 Paratext 帮助文件中的说明操作了。但它似乎完全不起作用。可能出了什么问题?
anon399461 123 发布 提问于 五月 8
0
1 个回答 222 次浏览
在一个新建的 USFM 3 项目中,我试图在文本中放置锚点,然后按照 USFM 3 文档中 链接属性 部分给出的示例,使用命名目标链接到它们 在同一本书中,我插入了以下内容: \jmp |link-id="article-Ruth"\ ... Ruth\jmp* ) 我遇到了无效引用错误(无论链接目标中是否包含 #) 有人能告诉我我做错了什么吗? .
drwww 448 发布 提问于 一月 23, 2021
0
3 个回答 563 次浏览
最近有两位顾问希望在项目笔记中使用表情符号(emoji),因为人们已经习惯了在短信中使用它们 前几天我发现,一些表情符号包含在 Unicode 标准中,因此如果您知道 ... ://russellcottrell.com/greek/utilities/SurrogatePairCalculator.htm (在自动更正文件中的每个代码前添加 \u)
[Expert]
sewhite
3.3k 发布
提问于 六月 22, 2022
0
2 个回答 259 次浏览
和 Iver 一样,我从未使用过正则表达式(RegEx)。我们有一个团队,他们更改了交叉引用的格式,用 . 代替 : 来分隔章节和节: 能否有人指导我如何帮助他们批量更改所有引用?我尝试遵循之前的回答,但完全没有结果。 有没有关于正则表达式的课程或 EMDC 在线课程? 谢谢, anon928451
anon928451 127 发布 提问于 九月 21, 2022
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Accept the one whose faith is weak, without quarreling over disputable matters.
Romans 14:1
3,045 个问题
6,005 个回答
5,671 条评论
2,026 位用户