朋友们好,
我有一个排版项目,需要以拉丁数字显示数字,而正文使用的字体是另一种文字。因此,在参考标记 \r 中,我们将参考内容以拉丁数字形式放置(例如: Lk 3.23–38)。 通过 PA7 导出到 InDesign 时,由于我们使用了不同的字体(Noto San Hanifi Rohingya,我不确定该字体是否是其他字体的修改/复制版本),所有我们希望以正常拉丁数字显示的数字都显示为 “豆腐块”(tofu)。 我想知道是否可以使用正则表达式来手动选取所有数字字符,并在 Changes.txt 文件中更改这些特定数值的字体(例如:改为 Charis SIL),以便正确显示它们。
我无法编写正则表达式。我需要你们的帮助来完成这项任务。
谢谢。
Hi Friends,
I have a typesetting project wherein I have to display the numbers in Latin numeric whereas the font used for the main text is a different script. So, In the Reference \r marker, we place the reference in Latin number (eg: Lk 3.23–38). When exported to InDesign via PA7, since we used a different font (Noto San Hanifi Rohingya, I am not sure whether this font is a modified/copied version from another font) all the numeric that we want to display in normal Latin numeric are shown in just "tofu". I wonder whether there's a regular expression we can use to hand-pick all the numeric characters and change the font (eg: to Charis SIL) for these specific numeric values in the Changes.txt file to display them correctly.
I am unable to code the regular expression. I need your help to accomplish this task.
Thank you.
机器翻译自 English