不幸的是,我認為 USFM 結構不允許這樣做。因此 Paratext 不應該允許你輸入,而且即使你嘗試了,PTXprint 也不會接受該結果。 但是……PTXprint 在另一個回答中被提及過。所以這裡說明如何在 PTXprint 中*實際*做到這一點(假設圖形介面在你那裡運作正常……):
In ptxprint-mods.tex, add your equivalent of this:
\protected\def\ndLord{\cstyle{nd}{Lord}} 在說明文字編輯器中使用該定義:"The angel of the \ndLord\ appeared..."
簡單說明一下:你正在定義一個「受保護的」(protected)巨集(\ndLord),它會選擇 nd 字元樣式並排版 "Lord"。 \protected 部分意味著解析輸入和除錯記錄等操作不會展開它,只有在實際用於文字中時才會展開。 "\ndLord" 和 "appeared" 之間的 "\ " 表示你確實希望那裡有一個真正的空格,而不仅仅是標記巨集結束的空格。 不要嘗試在 Paratext 處理的任何內容中使用 \ndLord(或等效標記),因為 \ndLord 不是 USFM,而且(我試過)ptxprint 會拒絕拾取說明文字中包含 USFM(無論是否有效)的 \fig 項目,結果只會導致圖片被忽略。
I don't think USFM structure lets that happen, unfortunately. Thus Paratext should not allow you to enter it, and if you try, PTXprint will not like the result anyway. BUT... PTXprint has been mentioned in another answer. So here's how to *actually* do it in PTXprint (assuming the figures UI is working properly for you...):
In ptxprint-mods.tex, add your equivalent of this:
\protected\def\ndLord{\cstyle{nd}{Lord}} Use that definition in the caption editor: "The angel of the \ndLord\ appeared..."
A bit of explanation: you're defining a 'protected' macro (\ndLord) that selects the nd character style and typesets "Lord". The \protected bit means that various things like parsing the input and debug-logging don't expand it, only when it's actually used in the text. The "\ " between "\ndLord" and "appeared" tells it that you really do want a real space there, it's not just a space to mark the end of the macro. Don't try to use \ndLord (or equivalent) in anything paratext touches, as \ndLord isn't USFM, and also (I tried) ptxprint will refuse to pick-up \fig entries that include USFM - valid or not - in the caption, etc, so you'll just end up with ignored images.
機器翻譯自 English 顯示原文