नमस्ते,
मैं 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 से मशीन-अनुवादित