您好,
我試圖在 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 顯示原文