0 votes
184 vues

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 par (1,9k points) | 184 vues

2 Réponses

0 votes

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?

par (1,1k points)
0 votes

I forgot to say… work around: You can set hooks on stand-alone milestones, and use a changes file to add them wherever you want.

par (1,1k points)

Questions connexes

0 votes
5 réponses 492 vues
I'm trying to use hooks to set multiple borders in a doc. I can set the first one, and I can turn ... \PageBorder{path_to_border_2}} What am I doing wrong? Is that possible?
mnjames 1,9k posée janv. 2, 2023
+1 vote
1 réponse 26 vues
Il me manque un espace séparateur entre le nom du livre et le numéro du chapitre dans la plage de référence placée ... configuré quelque chose ici ? Je ne sais pas où chercher.
odysiusbt 123 posée juin 19
0 votes
1 réponse 16 vues
J'ai remarqué que lorsque j'ajoute des PDF de matière préliminaire, ces pages sont ajoutées avant tout ce qui est ... un chemin relatif comme suggéré. Pouvez-vous m'aider ?
odysiusbt 123 posée mai 29
0 votes
1 réponse 15 vues
Après avoir mis à jour vers PTXprint 3.0.25, je constate que les options Réduire / Agrandir (en % de la ... à nouveau. D'autres personnes rencontrent-elles le même problème ?
[Expert]
jmkla
290
posée mai 13
0 votes
5 réponses 101 vues
Lorsque je crée pour la première fois un projet dans PTXprint, je peux le lier à un projet PT existant. J'ai ... travail idéal, mais cela arrive parfois.) D'où ma question.
Tim 934 posée avr. 24
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
I appeal to you, brothers and sisters, in the name of our Lord Jesus Christ, that all of you agree with one another in what you say and that there be no divisions among you, but that you be perfectly united in mind and thought.
1 Corinthians 1:10
3,044 questions
6,003 réponses
5,671 commentaires
2,026 utilisateurs