不幸的是,我认为 USFM 结构不允许这样做。因此,Paratext 不应允许你输入它,而且即使你尝试了,PTXprint 也不会接受结果。
但是……PTXprint 在另一个回答中被提及过。所以以下是如何在 PTXprint 中*实际*做到这一点的方法(假设图片 UI 对你工作正常……):
In ptxprint-mods.tex, add your equivalent of this:
\protected\def\ndLord{\cstyle{nd}{Lord}}在图注编辑器中使用该定义:“The angel of the \ndLord\ appeared...”
一点解释:你正在定义一个“受保护的”宏(\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