@DG 好的,我刚刚遇到了一个类似的问题,但发生在不同的地方:
PTXprint [2.7.12] - 错误!
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}
------------------------------------------------------------------------------------------
尝试关闭“高级”选项卡上的各种设置。
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