- 只有标点符号显示为彩色
- 增大标点符号的字号
你好,
你是指像 . , ! ? : 这样的标点符号吗?听起来你想在逐词对照(interlinear gloss)中应用字符级别的格式(这会改变字体、字号、颜色等)。我相当确定,以我们目前生成逐词对照的方式,这是无法实现的。目前,逐词对照的释义是作为 USFM 属性提供的:
\rb some word|gloss="the gloss"\rb*
我可以肯定地说,毫无疑问,试图在属性中放入 USFM 标记会彻底让 TeX 感到困惑。我预计这也违反了 USFM 标准,因此这大概不是我们愿意支持的功能。
也许可以说服 Python 脚本以相反的方式生成逐词对照,即让它生成 \rb the gloss|gloss="some word"\rb*,但这意味着主文本中的任何字符格式都必须被去除。
因此,目前,我将其理解为一项重新设计我们如何生成逐词对照的请求——可能需要一天的工作量,也许三天。
Paratext 是否支持在释义中提供 USFM 字符格式?例如,将 YHWH 的释义设为 the \nd Lord\nd*。如果是这样,我们肯定需要对其进行重新设计。
- Only punctuation appears in color
- Increase punctuation size
Hi,
Do you mean punctuation in the sense of . , ! ? : etc? That sounds like you want to apply character level formatting (which can change the font, font-size, colour, etc) in the interlinear gloss. I’m fairly sure that’s not possible with the way we do glosses at the moment. Currently, an interlinear’s gloss is supplied as a USFM attribute:
\rb some word|gloss="the gloss"\rb*
I can say that certainly, trying to put USFM into the attribute utterly confuses TeX. I expect it is also a violation of the USFM standard, and it is thus probably not something we’d ever like to support.
It would probably be possible to persuade the Python script to interlinearise the text the other way around, i.e. make it produce \rb the gloss|gloss="some word"\rb*, but that would mean that any character-formatting in the main text would have to be stripped out.
Thus at the moment, I’m understanding this as a request to rework how we generate interlinears - probably a day’s work, maybe 3.
Does Paratext support supplying USFM character-formatting as part of a gloss? e.g. gloss YHWH as the \nd Lord\nd* If so, we’ll certainly need to do rework it.
机器翻译自 English