@DG 好的,我剛遇到了一個類似但發生在不同點的問題:
PTXprint [2.7.12] - 錯誤!
無法建立:KDF_JohnTrialPrint_JHN-GLO_ptxp.pdf
! File ended while scanning use of \ptx@fig.
<inserted text>
\par
<to be read again>
\relax
\ptxfile ...the \PtxFilePath #1"\relax }\fi \n@xt
\gdef \atn@xtptxfile {}\fi...
l.520 ...{KDF_JohnTrialPrint_JHN-GLO_ptxp_FRT.SFM}
------------------------------------------------------------------------------------------
嘗試關閉「進階」標籤頁上的各種設定。
PTXprint 版本 2.7.12
如果我沒看錯的話,看起來是圖片有問題?而且是 FRT 部分的問題?以下是我 FRT 中的代碼。自上周成功運行 PTXPrint 以來,它沒有改變,但我剛更改了許多圖片的版權聲明...
\id FRT Front Matter
\rem This template has been created for use with PTXprint for semi-automatic
\rem generation of front matter. Though it is structured on the USFM specification
\rem for Paratext's FRT book, there are additional \z... markers used which
\rem make it unsuitable for use within Paratext without prior modification.
\rem -------------------------------------------------------------------------
\periph Title Page|id="title"
\rem -------------------------------------------------------------------------
\nopagenums
\zgap|0.65in\*
\mt1 \zvar|maintitle\*
\zgap|6.5in\*
scale="0.4" copy="None"\fig*
\rem -------------------------------------------------------------------------
\periph Publication Data|id="pubdata"
\rem -------------------------------------------------------------------------
\zgap|1.3in\*
\mt3 \zvar|maintitle\*
\mt4 \zvar|subtitle\*
\zbl|3\*
\pc The Gospel of John in the Mamusi [kdf] language,
\pc East New Britain Province, Papua New Guinea
\zbl|3\*
\pc Trial edition 2025 for limited distribution
\pc Copies printed: \zvar|copiesprinted\*
\zbl|3\*
\pc \zcopyright
\pc \zlicense
\rem You can add other material here if needed.
\zbl|3\*
\pc \zimagecopyrights
\zbl|3\*
\pc Printed at Ukarumpa, EHP, Papua New Guinea
@DG Ok I just ran into a similar problem but hits at a different point:
PTXprint [2.7.12] - Error!
Failed to create: KDF_JohnTrialPrint_JHN-GLO_ptxp.pdf
! File ended while scanning use of \ptx@fig.
<inserted text>
\par
<to be read again>
\relax
\ptxfile ...the \PtxFilePath #1"\relax }\fi \n@xt
\gdef \atn@xtptxfile {}\fi...
l.520 ...{KDF_JohnTrialPrint_JHN-GLO_ptxp_FRT.SFM}
------------------------------------------------------------------------------------------
Try turning off various settings on the Advanced tab.
PTXprint Version 2.7.12
If I'm reading it right, it looks like there's a problem with figures? And it's a problem in the FRT section? Here's my code in FRT. It hasn't changed since I was successfully running PTXPrint last week, but I did just change a bunch of my images' copyright notice...
\id FRT Front Matter
\rem This template has been created for use with PTXprint for semi-automatic
\rem generation of front matter. Though it is structured on the USFM specification
\rem for Paratext's FRT book, there are additional \z... markers used which
\rem make it unsuitable for use within Paratext without prior modification.
\rem -------------------------------------------------------------------------
\periph Title Page|id="title"
\rem -------------------------------------------------------------------------
\nopagenums
\zgap|0.65in\*
\mt1 \zvar|maintitle\*
\zgap|6.5in\*
scale="0.4" copy="None"\fig*
\rem -------------------------------------------------------------------------
\periph Publication Data|id="pubdata"
\rem -------------------------------------------------------------------------
\zgap|1.3in\*
\mt3 \zvar|maintitle\*
\mt4 \zvar|subtitle\*
\zbl|3\*
\pc The Gospel of John in the Mamusi [kdf] language,
\pc East New Britain Province, Papua New Guinea
\zbl|3\*
\pc Trial edition 2025 for limited distribution
\pc Copies printed: \zvar|copiesprinted\*
\zbl|3\*
\pc \zcopyright
\pc \zlicense
\rem You can add other material here if needed.
\zbl|3\*
\pc \zimagecopyrights
\zbl|3\*
\pc Printed at Ukarumpa, EHP, Papua New Guinea
機器翻譯自 English