@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 序言,只包含 “no sides preface”,我得到的是 T2 序言。
問題 3。 詞彙表(Glossary)詞語在 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).
那個非構詞字符(non-wordforming character)是適當的字符,用於分隔文本中聖經術語譯文(Biblical Term Rendering)的形式和詞彙表中的引用形式。我不知道為什麼這在 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.