你好,
我试图在 PTXprint 中应用页面边框,但不包括引言页面。
当我在 Tabs + Borders 中启用边框时,它会被应用到所有页面,包括引言。我希望的是:
引言页面没有边框
边框仅从经文文本开始(例如路加福音 1:1)
在旧版本的 PTXprint 中,我使用了以下代码并且有效:
% start the border
\setcvhook{GEN1.1}{\def\PageBorder{"C:/Program Files/PTXprint/ptxprint/PDFassets/border-art/A5 page border.pdf"}\setbox\b@rder\box\voidb@x}
% stop the border
\setcvhook{GEN50}{\let\PageBorder\empty\setbox\b@rder\box\voidb@x}
\makeatother
但在最近的版本中:
我尝试更新代码(使用 \XeTeXpdffile 和不同的路径格式),但没有成功。
我的问题是:
在最近的版本中,\PageBorder 的行为是否发生了变化?
是否有推荐的方法仅从经文文本开始应用边框,而不影响引言?
对于这种情况,是否应该使用不同于 \setcvhook 的方法?
非常感谢你的帮助!
Hello,
I’m trying to apply a page border in PTXprint, but without including the introduction pages.
When I enable the border in Tabs + Borders, it is applied to all pages, including the introduction. What I would like is:
In an older version of PTXprint, I used the following code and it worked:
% start the border
\setcvhook{GEN1.1}{\def\PageBorder{"C:/Program Files/PTXprint/ptxprint/PDFassets/border-art/A5 page border.pdf"}\setbox\b@rder\box\voidb@x}
% stop the border
\setcvhook{GEN50}{\let\PageBorder\empty\setbox\b@rder\box\voidb@x}
\makeatother
But in recent versions:
I have tried updating the code (using \XeTeXpdffile and different path formats), but without success.
My questions are:
Has the behavior of \PageBorder changed in recent versions?
Is there a recommended way to apply a border only starting from the Scripture text, without affecting the introduction?
Should a different approach be used instead of \setcvhook for this?
Thank you very much for your help!
机器翻译自 English