0
191 次瀏覽

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 (1.9k 點) 提出 | 191 次瀏覽

2 個回答

0

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?

(1.1k 點) 提出
0

我忘了說……變通方法:您可以在獨立里程碑上設定掛鉤,並使用變更檔案將它們添加到您想要的任何位置。

機器翻譯自 English
(1.1k 點) 提出

相關問題

0
5 個回答 503 次瀏覽
我試著使用 hooks 來在文件中設定多重邊框 我可以設定第一個,也可以關閉邊框,但如果我嘗試設定第二個,它就會恢復為第一個 \sethook{before}{mt1}{\def\PageBorder ... {}} \sethook{before}{c}{\def\PageBorder{path_to_border_2}} 我做錯了什麼?這樣做可能嗎?
mnjames 1.9k 提出 已提問 1月 2, 2023
+1
1 個回答 27 次瀏覽
我發現放在頁首的參考範圍中,書名與章節編號之間缺少空白分隔符。是不是我哪裡設定錯了?我不知道該從哪裡查起。
odysiusbt 123 提出 已提問 6月 19
0
1 個回答 17 次瀏覽
我注意到,當我加入前言 PDF 時,這些頁面會被添加在所有排版內容之前,包括本地前言 我想知道是否有可能將這些額外的 PDF 插入在本地前言之後 經文內容之前 我已經嘗試過 插入完整 PDF 中提到的步驟,透過添加 TeX 指令 ... 沒有插入任何內容 我使用的是 Windows 系統,但由於我按照建議使用了相對路徑,這應該不會造成問題 有人能幫忙嗎?
odysiusbt 123 提出 已提問 5月 29
0
1 個回答 18 次瀏覽
更新到 PTXprint 3.0.25 後,我發現「縮放(按文字大小百分比)」選項(透過 PDF 預覽器中的右鍵選單)似乎沒有任何效果 我可以看到目前書籍的 AdjList 中記錄了我的請求,但文字版面配置似乎完全沒有受到影響 「縮小 -1」 ... 舊的版本 安裝 3.0.18 後,「縮放(按文字大小百分比)」功能又恢復正常了 有其他人遇到相同的問題嗎?
[Expert]
jmkla
290 提出
已提問 5月 13
0
5 個回答 108 次瀏覽
當我首次在 PTXprint 中建立專案時,我可以將其連結到現有的 PT 專案 我注意到,有時 PT 資料中的變更會自動「拉取」到 PTXprint 專案中 問題 我想知道觸發這些更新的條件是什麼,以及使用者是否可以要求「重新整理」 請告知我 ... 會反向傳遞 (這聽起來是否讓某些人感到熟悉?這不是理想的作業流程,但有時會發生 )因此,我提出了這個問題
Tim 934 提出 已提問 4月 24
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Dear friends, since God so loved us, we also ought to love one another.
1 John 4:11
3,045 個問題
6,005 個回答
5,671 則評論
2,026 位使用者