0 वोट
190 व्यूज़

How to I create a \sethook which points to a periph? (Or, can I?)

I’ve tried \sethook{before}{periph:publisher}{\def\PageBorder{}}, but that didn’t work.

This slide from the recent workshop would suggest that it might be possible, but I’m also wondering if there is a mistake in the syntax on that slide:

Why is there not a {before} or some other position information before the location marker?

PTXprint में द्वारा (1.9k अंक) | 190 व्यूज़

2 उत्तर

0 वोट

Well caught, it should read \sethook{...}{id:GEN}{}

Are there start/end hook-points on periphs? The answer is not yet.

I can see how {start} and {end} would work, but setting a {before} or {after} on a periph seems like it would be ambiguous. Should it occur before the periph definition or before the periph invocation? (e.g. if you set it on {before}{periph:intnt} does it occur just after Malachi 4:6? after the page break? or at the end of the previous periphery in the INT book?)
And if someone puts a {before} hook for the coverfront periphery (contents of the front page), where should that go?

द्वारा (1.1k अंक)
0 वोट

मुझे कहना भूल गया… कार्य-समाधान (work around): आप स्टैंड-अलोन माइलस्टोन (stand-alone milestones) पर हुक सेट कर सकते हैं, और उन्हें जोड़ने के लिए एक changes फ़ाइल का उपयोग कर सकते हैं, जहाँ भी आप चाहें।

English से मशीन-अनुवादित
द्वारा (1.1k अंक)

संबंधित प्रश्न

0 वोट
5 उत्तर 503 व्यूज़
मैं दस्तावेज़ में एकाधिक बॉर्डर सेट करने के लिए हुक्स (hooks) का उपयोग करने की कोशिश कर रहा हूँ। मैं पहला बॉर्डर सेट कर ... }} मैं गलत क्या कर रहा हूँ? क्या यह संभव है?
mnjames 1.9k पूछा गया जनवरी 2, 2023
+1 मत
1 उत्तर 27 व्यूज़
हेडर में रखे गए संदर्भ सीमा (reference range) में पुस्तक के नाम और अध्याय संख्या के बीच सफेद खाली जगह (white space ... गलत कॉन्फ़िगर किया हो? मुझे नहीं पता कि कहाँ देखना चाहिए।
odysiusbt 123 पूछा गया जून 19
0 वोट
1 उत्तर 17 व्यूज़
मैंने देखा है कि जब मैं प्रारंभिक सामग्री (Front Matter) PDF जोड़ता हूँ, तो वे पृष्ठ टाइपसेट की जा रही सभी सामग्रियों, ... इसलिए यह समस्या नहीं होनी चाहिए। क्या कोई मदद कर सकता है?
odysiusbt 123 पूछा गया मई 29
0 वोट
1 उत्तर 18 व्यूज़
PTXprint 3.0.25 में अपडेट करने के बाद, मुझे यह पाया गया कि Shrink / Expand (by % text size) विकल्प (PDF प्रीव्यूअर में ... करने लगा। क्या कोई और भी इसी समस्या का अनुभव कर रहा है?
[Expert]
jmkla
290
पूछा गया मई 13
PTXprint में
0 वोट
5 उत्तर 108 व्यूज़
जब मैं PTXprint में पहली बार एक प्रोजेक्ट बनाता हूँ, तो मैं इसे एक मौजूदा PT-प्रोजेक्ट से जोड़ सकता हूँ। मैंने देखा है ... है, लेकिन यह कभी-कभी होता है।) इसलिए मेरा प्रश्न उठा।
Tim 934 पूछा गया अप्रैल 24
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
For just as each of us has one body with many members, and these members do not all have the same function, so in Christ we, though many, form one body, and each member belongs to all the others.
Romans 12:4-5
3,045 प्रश्न
6,005 उत्तर
5,671 टिप्पणियाँ
2,026 उपयोगकर्ता