Здравствуйте,
Я пытаюсь применить рамку страницы в PTXprint, но без включения страниц введения.
Когда я включаю рамку в Tabs + Borders, она применяется ко всем страницам, включая введение. Мне нужно, чтобы:
В более старой версии 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