KapalaDikili,我也支持使用 PTXprint 的建议。它是一个很棒工具,我已经完全改用 PTXprint,而不再使用“导出为草稿”。
不过,我也试着回答您的问题。[请将 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 显示原文