KapalaDikili,我也附議推薦 PTXprint。它是一個很棒的工具,我已經完全改用 PTXprint,而不再使用「匯出至草稿」(Export to Draft)。
不過,我也會嘗試回答您的問題。[請將 XXX 替換為您的專案代碼]
.sty 檔案和 .tex 檔案屬於不同的系統——也就是說有不同的用途——但一切都應該正常運作。樣式檔案的運作層級如下:
usfm.sty
XXX\custom.sty
XXX\PrintDrafts\PrintDraft-mods.sty
每個樣式表都會覆蓋其上方檔案的設定。我想知道您的 PrintDraft-mods.sty 檔案中是否有設定覆蓋了您 custom.sty 樣式表中的設定。
同樣地,對 PrintDraft-mods.tex 樣式表所做的變更會覆蓋在 Draft-XXX-MAT.tex 檔案中進行的變更。只有在「匯出至草稿」對話框中按住 Ctrl 鍵並點擊 OK 時,您才會看到第二個檔案。按住 Ctrl 鍵會建立許多暫存檔案(且不會刪除它們,這與正常流程不同),這些檔案有助於您追蹤問題。
KapalaDikili, I’d second the recommendation for PTXprint. It’s a great tool and I’ve switched to using it exclusively instead of Export to Draft.
However, I’ll also try to answer your question. [Replace XXX with your project code]
The .sty files and .tex files are in different systems–ie have different purposes–but everything ought to be working correctly. The style files work in this heirarchy:
usfm.sty
XXX\custom.sty
XXX\PrintDrafts\PrintDraft-mods.sty
Each style sheet overrides the settings of the one above it. I wonder if there are settings in your PrintDraft-mods.sty file which are overriding settings in your custom.sty sheet.
Similarly, changes made to the PrintDraft-mods.tex sheet will override things made in the Draft-XXX-MAT.tex file. You’ll only see that 2nd file if you hold Ctrl down while hitting OK in the Export to Draft dialogue. Holding Ctrl down creates a lot of temporary files (and doesn’t delete them, which is the normal process) and those files can help you track down problems.
機器翻譯自 English 顯示原文