@David_Gardner
感谢你的帮助。有三个问题。也许它们都相关。
问题 1。 只有当我更改打印内容时,PTXPrint 才会获取前言的更改,例如不同的章节或不同的书。更改书籍是让它刷新前言最可靠的方法。如果我继续打印同一本书,它不会获取对前言的编辑。
问题 2。 打印了错误的前言。
我一直没有将 INT 书包含在我打印的内容中。我依赖 PTXPrint 从中获取前言。
我尝试了以下操作:
\rem left preface
\periph Preface
\zglot|L*
\zgetperiph|preface*
我得到了与之前相同的结果:它打印的是 T2 中 INT 的前言,这是错误的。L = T1。
我尝试了以下操作:
\rem right preface
\periph Preface
\zglot|R*
\zgetperiph|preface*
我得到了与之前相同的结果。它仍然获取 T2 中 INT 的前言。
既然那些不起作用,我尝试了你提到的另一种方法:
\periph Preface
\zgetperiph|id=“preface” side=“R”*
这导致 PTXPrint 根本不打印前言。
我用 “L” 尝试了同样的操作
\periph Preface
\zgetperiph|id=“preface” side=“L”*
PTXPrint 仍然不打印前言。
所以现在我是这样使用的:
\rem right preface
\periph Preface
\zglot|L*
\zgetperiph|preface*
PTXPrint 仍然打印我的 T2 前言,而不是指定的 “L” = T1。
我真正想要的是 T1 前言后跟 T2 前言。
所以这应该有效:
\rem left preface
\periph Preface
\zglot|L*
\zgetperiph|preface*
\rem right preface
\periph Preface
\zglot|R*
\zgetperiph|preface*
目前,这打印了两份 R (T2) 前言。
我尝试在上面的内容中添加这个:
\rem is there a ‘no-sides preface’? It almost certainly won’t work fully before 2.4.50.
\zglot|*
\zgetperiph|preface*
现在我得到了三份。
如果我省略 L 和 R 前言,只包含“无侧面前言”,我会得到 T2 前言。
问题 3。 PDF 中未正确标记词汇表单词
PTXPrint 没有正确标记我的词汇表单词标记示例。它用不同的字体格式化它们,而不是应用我在 Body 选项卡上选择的角括号。角括号在经文文本中打印正常,但在前言中不正常。
Basic Checks 给了我关于 frtbak.sty 的错误,但我不明白哪里出了问题。将 frtbak.sty 中的 “\Marker w” 部分设置为与 usfm.sty 中的相同并没有帮助。它仍然抱怨三个错误:
INT 1:0 #Invalid attribute: \w (frtbak.sty)
INT 1:0 #Citation Form (“gutpela na strongpela ston bilong karim haus|Gutpela ston tru”) is missing from Glossary: \w (frtbak.sty)
我认为前两个可能都是由这个引起的:
INT 1:0 #“gutpela na strongpela ston bilong karim haus|Gutpela ston tru” contains unexpected non-wordforming characters [‘|’]: \w (frtbak.sty).
那个非构词字符是用于分隔文本中圣经术语译文的形态和词汇表中的引用形态的适当字符。我不知道为什么这在 INT 中是个问题,而在圣经文本中不是。
感谢你们在这些事情上给予的任何帮助。
@David_Gardner
Thank you for your help with this. There are three issues. Maybe they are all related.
Issue 1. PTXPrint is only picking up changes to the Preface if I change what I’m printing, e.g. a different chapter or a different book. Changing books is the most reliable way to get it to refresh the Preface. If I keep printing the same book, it won’t pick up edits to the Preface.
Issue 2. The wrong preface is printing.
I have not been including the INT book in what I print. I’m relying on PTXPrint to get the preface from there.
I tried this:
\rem left preface
\periph Preface
\zglot|L*
\zgetperiph|preface*
I get the same results I got before: It’s printing the Preface from INT in T2, which is wrong. L = T1.
I tried this:
\rem right preface
\periph Preface
\zglot|R*
\zgetperiph|preface*
I got the same result as before. It’s still picking up the Preface from the INT in T2.
Since those didn’t work, I tried the other method you mentioned:
\periph Preface
\zgetperiph|id=“preface” side=“R”*
This made PTXPrint not print the Preface at all.
I tried the same with “L”
\periph Preface
\zgetperiph|id=“preface” side=“L”*
PTXPrint still prints no Preface.
So for now I am using this:
\rem right preface
\periph Preface
\zglot|L*
\zgetperiph|preface*
PTXPrint still prints my T2 Preface, no “L” = T1, as specified.
What I really want is the T1 Preface followed by the T2 Preface.
So this should work:
\rem left preface
\periph Preface
\zglot|L*
\zgetperiph|preface*
\rem right preface
\periph Preface
\zglot|R*
\zgetperiph|preface*
Currently, this prints two copies of the R (T2) Preface.
I tried adding this to the above:
\rem is there a ‘no-sides preface’? It almost certainly won’t work fully before 2.4.50.
\zglot|*
\zgetperiph|preface*
And now I get three copies.
If I leave out the L and R Prefaces and just include the “no sides preface”, I get the T2 preface.
Issue 3. Glossary words not marked in PDF properly
PTXPrint is not correctly marking my example of glossary word marking. It’s formatting them with a different font rather than applying the corner brackets I have chosen on the Body tab. The corner brackets are printing properly in the scripture text, but not in the Preface.
Basic Checks is giving me errors about the frtbak.sty but I don’t understand what’s wrong. Making the “\Marker w” section of frtbak.sty the same as it is in usfm.sty did not help. It is still complaining about three errors:
INT 1:0 #Invalid attribute: \w (frtbak.sty)
INT 1:0 #Citation Form (“gutpela na strongpela ston bilong karim haus|Gutpela ston tru”) is missing from Glossary: \w (frtbak.sty)
I think these first two are probably caused by this one:
INT 1:0 #“gutpela na strongpela ston bilong karim haus|Gutpela ston tru” contains unexpected non-wordforming characters [‘|’]: \w (frtbak.sty).
That non-wordforming character is the appropriate character to separate the form of the Biblical Term Rendering in the text from the citation form in the Glossary. I don’t know why this is a problem in the INT and it’s not a problem in the Bible text.
Thanks for any help you can give me on these things.