以防之前不夠明顯,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