Ещё одна странность... Мы пытаемся добиться того, чтобы \q2 оставались вместе с предшествующими \q1 (см. https://support.bible/13086/get-q2-to-stay-with-the-previous-q1), и в наших тестовых проектах нам удаётся это сделать с помощью следующей команды:
\sethook{before}{q2}{\nobreak}Но в нашем реальном проекте команда не применяется. Я думал, что, возможно, файл ptxprint-mods.tex не загружается, но в этом файле также обрабатываются \qs (Селах), и когда этот код закомментирован, обработка Селах исчезает из вывода. Я просмотрел .tex файл и журнал XeTeX, и вижу:
Reading optional file "../../../shared/ptxprint/PSA_1_a_72/ptxprint-mods.tex"
(../../../shared/ptxprint/PSA_1_a_72/ptxprint-mods.tex)
что подтверждает это.
Таким образом, .tex файл обрабатывается, но у нас всё ещё есть «висящие» \q2 в начале страниц.
Что ещё может быть причиной проблемы?
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?
Переведено машиной с языка English