我在这个问题上费了好大劲,刚刚找到了一个解决方案,所以在这里分享出来,以防其他人也遇到试图阻止特定文本被自动转写的情况。这个解决方案既违反直觉,又有点“灰色”。
简而言之:
如果您有非目标语言(non-vernacular)文本,希望它不被编码转换器自动转写,而是以其原始编码形式出版,请将其包裹在自定义字符样式中,并赋予该自定义样式nonpublishable(不可出版)属性。
是的,是nonpublishable(不可出版)属性,而不是看起来更合适的nonvernacular(非目标语言)属性。nonvernacular(非目标语言)属性实际上并不影响哪些内容会被转写,而nonpublishable(不可出版)属性目前也不影响哪些内容会被出版,至少对于 Publishing Assistant 来说是这样。
详细背景:
我即将排版一个自动转写的项目。该项目包含某些国家语言(national language)的词汇。这些词汇可以在词汇表条目、引言材料和脚注中找到,并且被标记在 \znp …\znp* 标记内,我在 custom.sty 中将其定义为nonvernacular(非目标语言)、publishable(可出版)的字符样式,因为事实确实如此。
在主要/源项目中,目标语言(vernacular)文本和国家语言文本都使用同一种书写系统。在自动转写的项目中,目标语言文本应转换为仅用于该语言的某种传统文字,但国家语言的文本应保持其原始文字形式。(该传统文字无法表示国家语言中的卷舌音,而且无论如何,看到国家语言使用目标语言的传统文字都会显得很奇怪。)
但是,将此类文本标记为nonvernacular(非目标语言)对阻止其被转写没有任何效果。
也无法告诉 TECkit 映射表忽略 \znp …\znp* 标记内的文本,因为这些标记本身并没有被传递给映射表进行处理。(据推测以前是可以的,因为 Paratext 帮助文档仍然写着:“请确保您使用的 TECkit.map 文件保留 USFM 标记,以便它们不会被转换。”)
巧妙的解决方案是将publishable(可出版)属性更改为nonpublishable(不可出版)。这并没有阻止 Publishing Assistant 将其出版。
我不知道这是否会干扰其他输出路径(SAB / Print Draft / PtxPrint / 通过 DBL 的 YouVersion),无论是现在还是将来,它们是否会悄悄丢弃不可出版的文本,因此这绝对是这个变通方案的一个担忧点。
除了nonpublishable(不可出版)属性使文本免于自动转写之外,我不清楚这两个属性可能还有其他什么影响。某处有解释这些内容的文档吗?
I’ve been beating my head against this problem, and just found a solution, so am sharing here in case anyone else finds themselves trying to keep certain text from getting auto-transliterated. This solution is both counter-intuitive and shady.
In a nutshell:
If you have non-vernacular text that should not be auto-transliterated by an encoding converter but rather be published in its original encoding, wrap it in a custom character style, and give that custom style the nonpublishable property.
Yes, the nonpublishable property rather than nonvernacular, as would have seemed fitting. The nonvernacular property does not actually affect what gets transliterated, and the nonpublishable property does not currently affect what gets published, at least not by Publishing Assistant.
Detailed background:
I’m about to typeset an auto-transliterated project. The project contains certain words in the national language. These can be found in glossary entries, in introductory material, and in footnotes, and are tagged within \znp …\znp* markers, which I’d defined in custom.sty as a nonvernacular, publishable character style, because that’s what it was.
In the primary/source project, the vernacular text and the national language text are both in the same writing system. In the auto-transliterated project, the vernacular text should be converted into a traditional script used only for this language, but the text in the national language should come through as it was in its original script. (The traditional script cannot represent the retroflex sounds found in the national language, and it would be weird to see the national language in the vernacular language’s traditional script in any case.)
But marking such text as nonvernacular had no effect on keeping it from being transliterated.
Nor could the TECkit map be told to ignore text enclosed in \znp …\znp* markers, because the markers themselves are not passed into the map for processing. (Presumably they used to, because the Paratext Help documentation still says, “Be sure the TECkit.map file you use preserves the USFM markers so they will not be converted.”)
The tricky solution was to change the publishable property to nonpublishable. This did not prevent Publishing Assistant from publishing it.
I don’t know whether that will mess things up with other output paths (SAB / Print Draft / PtxPrint / YouVersion via DBL), whether currently or in the future they will quietly drop unpublishable text, so that is definitely a concern with this workaround.
Other than nonpublishable exempting text from auto-transliteration, it’s not clear to me what other effects either of these properties might have. Is there documentation somewhere that explains this?