使用 PTXprint(PTXprint – Bible Layout For Everyone - SIL Language Technology - 強烈推薦),我最近不太常使用 Export Draft PDF。當我最近嘗試使用它(為了向初學者展示如何快速獲得一份可列印的簡易 PDF 檔案)時,我注意到每個新章節都會從新的一頁開始。這顯然是在執行 Export Draft 的 Paratext 程式碼中刻意這樣做的,因為建立的 .tex 檔案為每個章節使用獨立的 .SFM 檔案,並分別處理它們,如下所示:
%%%%% Load Paratext USFM %%%%%
\XeTeXdefaultencoding "utf-8"
\catcode`\%=12
\ptxfile{C:/My Paratext 8 Projects/TT3/PrintDraft/49GAL_1TT3-draft.SFM}
\ptxfile{C:/My Paratext 8 Projects/TT3/PrintDraft/49GAL_2TT3-draft.SFM}
\ptxfile{C:/My Paratext 8 Projects/TT3/PrintDraft/49GAL_3TT3-draft.SFM}
\ptxfile{C:/My Paratext 8 Projects/TT3/PrintDraft/49GAL_4TT3-draft.SFM}
\ptxfile{C:/My Paratext 8 Projects/TT3/PrintDraft/49GAL_5TT3-draft.SFM}
\ptxfile{C:/My Paratext 8 Projects/TT3/PrintDraft/49GAL_6TT3-draft.SFM}
\catcode`\%=14
這將「永遠」讓每個新章節從新的一頁開始,這絕對不是我們想要的結果。有沒有人能解釋為什麼要進行這樣的變更?Martin 說這個變更是在 2020 年 5 月對 Paratext 程式碼進行的,但我無法想像這個變更試圖做什麼或修復什麼。就目前的狀況而言,我認為我甚至不會建議使用 Export Draft PDF,即使是粗略的草稿也是如此。我也正在提交一份問題報告(並指向此貼文)。
With PTXprint (PTXprint – Bible Layout For Everyone - SIL Language Technology - highly recommended), I haven’t been using Export Draft PDF very much lately. When I recently tried it (to show beginners how to get a quick and dirty PDF file to print), I noticed that each new chapter starts on a new page. That was apparently done intentionally in the Paratext code that performs Export Draft, because the .tex file created uses a separate .SFM file for each chapter, and processes them separately, like this:
%%%%% Load Paratext USFM %%%%%
\XeTeXdefaultencoding "utf-8"
\catcode`\%=12
\ptxfile{C:/My Paratext 8 Projects/TT3/PrintDraft/49GAL_1TT3-draft.SFM}
\ptxfile{C:/My Paratext 8 Projects/TT3/PrintDraft/49GAL_2TT3-draft.SFM}
\ptxfile{C:/My Paratext 8 Projects/TT3/PrintDraft/49GAL_3TT3-draft.SFM}
\ptxfile{C:/My Paratext 8 Projects/TT3/PrintDraft/49GAL_4TT3-draft.SFM}
\ptxfile{C:/My Paratext 8 Projects/TT3/PrintDraft/49GAL_5TT3-draft.SFM}
\ptxfile{C:/My Paratext 8 Projects/TT3/PrintDraft/49GAL_6TT3-draft.SFM}
\catcode`\%=14
That will ALWAYS start each new chapter on a new page, which is definitely not what is wanted. Can anyone explain why that change was made? Martin says this change was made in the Paratext code in May 2020, but I can’t imagine what that change was trying to do or fix. As it is now, I don’t think I would suggest Export Draft PDF at all, even for a rough draft. I am also submitting a problem report (and pointing to this post).
機器翻譯自 English