目前推薦的更改頁面邊框的方法是使用掛鉤(頁面或章節.節)和 \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 時關閉頁面邊框,意味著包含該節的頁面將沒有邊框。
另外請注意,我這裡討論的是固定頁面邊框,不要與文字邊框混淆(文字邊框使用包含裝飾的規則線,為頁面上的經文部分添加可變大小的邊框,但不包括腳註).
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