- 僅標點符號顯示為彩色
- 增大標點符號的字級
您好,
您是指 . , ! ? : 等這類標點符號嗎?這聽起來像是您希望在逐字對照的釋義中套用字元層級的格式設定(可更改字型、字級、顏色等)。我相當確定,以我們目前處理釋義的方式,這是不可能做到的。目前,逐字對照的釋義是作為 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