KapalaDikili, я присоединяюсь к рекомендации использовать 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 в диалоговом окне «Экспорт в черновик» (Export to Draft). Удержание 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.