0
320 次瀏覽

I’m using PT 9.0.100.87.

Our project marks all occurrences of proper names (\pn), geographical names (\png), and names of Deity (\nd). This facilitates publishing in ways peculiar to our project.

Sometimes we have multi-word Biblical Terms that include a name. Most importantly, our keyterm for “kingdom of heaven” is as follows:

គ្លើយ \nd អ៊ើយឋៃ\nd* វ៉ៃ-ឡាំងហ៍
= matter \nd god\nd* rule

I have tried the following combinations in the Biblical Terms tool, and none will find/match the expression in the text:

  • គ្លើយ \nd អ៊ើយឋៃ\nd* វ៉ៃ-ឡាំងហ៍ <- literal
  • គ្លើយ ** វ៉ៃ-ឡាំងហ៍ <- replace \nd អ៊ើយឋៃ\nd* with ** [see image below]
  • គ្លើយ ** អ៊ើយឋៃ* វ៉ៃ-ឡាំងហ៍
  • គ្លើយ ** អ៊ើយឋៃ* វ៉ៃ-ឡាំងហ៍
  • គ្លើយ ** អ៊ើយឋៃ** វ៉ៃ-ឡាំងហ៍
  • គ្លើយ ** អ៊ើយឋៃ** វ៉ៃ-ឡាំងហ៍

The problem is clearly coming from the final asterisk in the marker \nd*. We can see this with the Key Term “Son of David”, where the final marker \pn* comes at the end of the term instead of the middle (making it different from “Kingdom of God”):

ណាគ ច ពតាវ \pn ដាវីត\pn*
= child grandchild king \pn david\pn*

If I place the string ណាគ ច ពតាវ \pn ដាវីត\pn* in the Biblical Terms tool, it finds the term, but note that it does not interpret the final * in \pn* as being a part of the Key Term.

So apparently, the tool can’t read (or skip over, or move beyond) an asterisk.

This has consequences for linking occurrences of the term to the glossary entry. (When I try to make the link for “Son of David”, nothing gets linked, even though the Biblical Terms tool is identifying the Key Term as present.)

Does anyone know of a way to use valid USFM markup within Key Terms, have the Key Terms tool recognize the term, and have the Glossary linking tool markup those Terms? Thanks! (It would be sufficient to have a trick to get the tool to skip over asterisks!)

舊文章 - 以原文顯示
Paratext (296 點) 提出 | 320 次瀏覽

2 個回答

0
最佳回答

This is a known issue because, in the rendering, the asterisk is considered to be “match any word-forming characters” instead of a literal asterisk. Since the asterisk is not normally a word-forming character, the asterisk as part of the end-marker does not match.

However, there is a hack to get around it. Although I tried it out on a test project and it didn’t seem to cause any issues with the Inventories, Checks, Wordlist, etc., I still feel a disclaimer is needed:

WARNING: This is a hack and can cause unexpected behavior in other parts of Paratext. Use at your own risk.

Add an asterisk (*) to your word-medial punctuation characters in your project’s language settings. This works because when the wildcard (asterisk) is encountered, it will now match the asterisk in the end-marker. Because the checks, inventories, Wordlist, etc. ignores most markers, it doesn’t seem to create any problems in my brief testing.

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

已重新顯示

I’ll try this and then report whether we notice any undesirable consequences. Thanks very much, anon291708!

舊文章 - 以原文顯示
0

No problems so far - a few hours in. (Except in PT 8, I get an error when I open the software. I can close the error and continue into the program. No error notification in PT 9.)

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

相關問題

0
2 個回答 319 次瀏覽
在標題中使用 \pn 和 \nd 標記,會導致文字缺少其他文字所具有的某些字元屬性 例如,在 PrintDraft 和 Publishing Assistant 中,\pn \pn* 內的文字會顯示為斜體,但不像標題的其他部分那樣為粗體 ... 但在標題中使用會導致 Paratext 將這些標記顯示為紅色,即視為錯誤 這類標記應如何在標題中使用?
anon015155 153 提出 已提問 9月 26, 2018
0
0 個回答 158 次瀏覽
Is there an easy way to remove Glossary Markup automatically (in bulk)? I will add this as a feature request. It can be done at ... \w* Then use Edit > Replace to get rid of "\w "
匿名 提出 已提問 5月 12, 2015
0
8 個回答 1.4k 次瀏覽
We have a user who has inserted a lot of \pn and some \nd inside of footnotes. We now know we need those to be ... the search to inside of a single footnote? Thank you, MSEAIT/LT
MSEAIT_LT 478 提出 已提問 8月 20, 2018
+1
2 個回答 869 次瀏覽
I have three (possibly very basic) questions about glossary citation forms and markup: In the Biblical Terms tool Glossary tab, ... ἱερόν (or indeed in any verse) also be marked ?
anon913612 106 提出 已提問 3月 25, 2020
0
3 個回答 265 次瀏覽
In the Luvale Bible translation (Zambia, Africa), we are using \tl to identify transliterated words, \pn for ... for your help. paulpoid, Luvale Bible Translator, ZBS, Zambia
paulpoid 118 提出 已提問 3月 11, 2019
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
And I tell you that you are Peter, and on this rock I will build my church, and the gates of Hades will not overcome it.
Matthew 16:18
3,045 個問題
6,005 個回答
5,671 則評論
2,026 位使用者