嗯。我假設書籍引言在 01GENproject.SFM 檔案中?如果它在 INT 書籍中,您可以嘗試提前將其引入。
\zgetperiph|INTGEN\*
我認為這會起作用,但不能保證。
否則……您需要手動追蹤頁碼,因為 python 生成的控制檔案在讀取 sfm 檔案之前,已經將頁碼重置為 1。
但如果您接受這個缺點,您可以使用掛鉤(hooks)手動重置它,例如:
\setbookhook{start}{GEN}{\pageno=-5}
\setcvhook{GEN1.1}{\pageno=1}
現在您只有以下問題:
- 如果您的標題、引言等最終佔有奇數頁數,您需要強制插入一個空白頁。這裡
\zNeedOddPage 可能是您的好朋友。
- 您需要抑制經文前的自動空白頁(外圍事項標籤頁)。
- 您可能需要開啟「在同一頁開始新書籍」或類似名稱的選項。
如果您真的想致力於尋找通用解決方案,我剛推送了一個半成品變通方法,用於在 \oldpageno 中保留引言的頁碼。
Hmm. I assume the book introduction is in the 01GENproject.SFM file? If it were in the INT book, then you could try to pull it in beforehand.
\zgetperiph|INTGEN\*
I think that would work, but it’s not guaranteed.
Otherwise… you’ll need to manually keep track of page numbers, because the control file that python generates has already reset the page number to 1, just before the sfm file gets read.
But if you accept that shortcoming, you could then use hooks to manually reset it, something like:
\setbookhook{start}{GEN}{\pageno=-5}
\setcvhook{GEN1.1}{\pageno=1}
Now you just have the following problems:
- If your title, introduction, the. ends up with an odd number of pages, you will need to force a blank page.
\zNeedOddPage is probably your friend here.
- you’d need to suppress the automatic blank page before scripture (peripherals tab).
- you probably need to turn on ‘start new book on the same page’ or whatever it’s called.
If you’re really keen on working on a general solution, I’ve just pushed a half-baked work-around for preserving the introduction’s page number in \oldpageno
機器翻譯自 English