Encore des bizarreries... Nous essayons de faire en sorte que les \q2 restent avec les \q1 précédents (voir https://support.bible/13086/get-q2-to-stay-with-the-previous-q1), et nous avons de bons résultats avec cette commande dans nos projets de test :
\sethook{before}{q2}{\nobreak}Mais dans notre projet réel, la commande n'est pas appliquée. J'ai pensé que peut-être le fichier ptxprint-mods.tex n'était pas chargé, mais nous avons également le traitement des \qs (Selah) dans ce fichier, et lorsque celui-ci est commenté, le traitement des Selah disparaît dans la sortie. J'ai fouillé dans le fichier .tex et le journal XeTeX, et je vois bien :
Reading optional file "../../../shared/ptxprint/PSA_1_a_72/ptxprint-mods.tex"
(../../../shared/ptxprint/PSA_1_a_72/ptxprint-mods.tex)
ce qui le confirme.
Donc le fichier .tex est bien traité, mais nous avons toujours des \q2 orphelins en haut des pages.
Quel pourrait être le problème ?
Some more weirdness... We are trying to get \q2's to stay with the preceding \q1's (see https://support.bible/13086/get-q2-to-stay-with-the-previous-q1), and are having good luck with this command in our test projects:
\sethook{before}{q2}{\nobreak}But in our real project, the command is not getting applied. I thought maybe the ptxprint-mods.tex file wasn't getting loaded, but we have \qs (Selah) processing in that file as well, and when that is commented out, the Selah processing goes away in the output. I've been poking through the .tex file and the XeTeX Log, and do see:
Reading optional file "../../../shared/ptxprint/PSA_1_a_72/ptxprint-mods.tex"
(../../../shared/ptxprint/PSA_1_a_72/ptxprint-mods.tex)
which confirms that.
So the .tex file is getting processed, but we still have dangling \q2's at the top of pages.
What else might be the problem?
Traduit automatiquement depuis English