以防这一点不明显,Glossary(术语表)组中的最后一个视频,“Adding Markup to multiple words with glossary entries as a batch process”(以批处理方式使用术语表条目为多个单词添加标记),包含了您需要的信息。该视频告诉您如何在文本中插入术语表单词标记:\w text|glossary_entry \w*。
该视频仅讨论了使用此标记在圣经应用程序中定义链接,但我想指出,圣经排版工具(如 PTXprint)也能将该标记转换为术语表单词前的星号(或其他几种类型的标记),用于 PDF 文件和印刷输出。
关于此过程还有几点其他评论。1) 通常,您希望在打印前的最后一步进行术语表条目的链接。如果在链接后对文本进行其他更改,可能无法按预期标记所有内容。如果您之前有一些链接,但随后对文本进行了更改,最好“Unlink all renderings from the glossary…”(从术语表中取消所有译法的链接)(在同一个 Biblical Terms 窗口菜单中),然后从头开始重新进行链接。2) 对于在印刷文本中标记术语表条目,您可能不希望像视频中那样标记“All Occurrences”(所有出现)。在应用程序中标记每次出现可能更合理(单词只会变成链接),但在印刷形式中,如果例如一节或两节中有几次出现,您可能不希望每次出现都被标记。在我最近做的大多数排版中,他们选择标记“First occurrence in every section”(每节中的首次出现),但章节或段落也是选项。
Just in case it wasn’t obvious, it is the final video in the Glossary group, “Adding Markup to multiple words with glossary entries as a batch process”, that has the information that you need. That tells you how to insert the glossary word markup in your text: \w text|glossary_entry \w*.
The video only talks about using this markup to define links in Scripture apps, but I just want to point out that Scripture typesetting tools (like PTXprint) are also able to turn that markup into an asterisk before the glossary word (or a number of other types of markup) for the PDF file and printed output.
Just a couple of other comments on this process. 1) In general you want to do the linking of the glossary entries as the very last step before printing. If you make other changes to the text after the linking, it’s possible that not everything will get marked as you wanted. If you have some linking from the past, but have since made changes to the text, it probably would be best to “Unlink all renderings from the glossary…” (in that same Biblical Terms window menu), and do the linking again from scratch. 2) For marking glossary entries in a printed text, you probably don’t want to mark All Occurrences as shown in the video. It’s probably more reasonable to mark every occurrence in an app (the word would just be changed into a link), but in printed forms, you probably don’t want every occurrence to be marked if there are, for example, several occurrences in a verse or two. In most typesetting I’ve done recently they chose to mark “First occurrence in every section”, but chapter or paragraph are also options.
机器翻译自 English