当前更改页面边框的推荐方法是使用钩子(页面或章节.节)和 \NewPageBorder{} TeX 命令。 如果设置为空,则不会有页面边框。
例如:
\setcvhook{GEN1.1}{\NewPageBorder{../../../figures/scripturepageborder.pdf}}
\sethook{page}{24}{\NewPageBorder{}}
\setbookhook{start}{GLO}{\NewPageBorder{}}
我建议(而不是放在 local 目录中,因为那里可能会丢失),页面边框应存在于 figures 目录中,因为它们可以通过 send/receive 共享。这可能取决于您的团队。据我所知,Windows 上的 TeX 并不介意使用正斜杠分隔目录,即使它们“看起来不对”。
请注意,\PageBorder 的定义(由 \NewPageBorder 更改)是在页面完成时、写入 PDF 之前进行检查的,而不是在页面上添加第一个内容时。也就是说,当到达 Rev 22:21 时关闭页面边框,意味着包含该节的页面上将没有边框。
另外请注意,我在这里讨论的是固定页面边框,不要将其与文本边框(text-borders)混淆(后者使用包含装饰的线条在页面的经文部分周围放置可变大小的边框,但不包括脚注).
The current recommended way to change page borders is to use a hook (page or chapter.verse) and the \NewPageBorder{} TeX command. If set to empty, then there will be no page border.
E.g.
\setcvhook{GEN1.1}{\NewPageBorder{../../../figures/scripturepageborder.pdf}}
\sethook{page}{24}{\NewPageBorder{}}
\setbookhook{start}{GLO}{\NewPageBorder{}}
I'm suggesting that (rather than in local, where they might be lost), page borders should exist in the figures directory, where they are shared by send/receive. This probably depends on your team. As far as I know, TeX on windows doesn't mind separating directories with forward slashes, even if they "look wrong".
Be aware that the definition of \PageBorder (which \NewPageBorder changes) is checked when the page is complete, just before it is written to the PDF, not when the first material on the page is added. I.e. turning off page borders when you reach Rev 22:21 will mean that there is no border on the page containing that verse.
Also note that I am writing here about fixed page borders, which are not to be confused with text-borders (which use ornament-including rules to put a variable-sized border around the scripture-text portions of a page, but not around footnotes).
机器翻译自 English