Bonjour,
J'essaie d'appliquer une bordure de page dans PTXprint, mais sans inclure les pages d'introduction.
Lorsque j'active la bordure dans Tabs + Borders, elle est appliquée à toutes les pages, y compris l'introduction. Ce que je souhaite, c'est :
Dans une ancienne version de PTXprint, j'utilisais le code suivant et cela fonctionnait :
% 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
Mais dans les versions récentes :
J'ai essayé de mettre à jour le code (en utilisant \XeTeXpdffile et différents formats de chemins), mais sans succès.
Mes questions sont les suivantes :
Le comportement de \PageBorder a-t-il changé dans les versions récentes ?
Y a-t-il une méthode recommandée pour appliquer une bordure uniquement à partir du texte biblique, sans affecter l'introduction ?
Faut-il utiliser une approche différente plutôt que \setcvhook pour cela ?
Merci beaucoup pour votre aide !
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!