KapalaDikili, saya setuju dengan rekomendasi untuk PTXprint. Ini adalah alat yang hebat dan saya beralih untuk menggunakannya secara eksklusif alih-alih Export to Draft.
Namun, saya juga akan mencoba menjawab pertanyaan Anda. [Ganti XXX dengan kode proyek Anda]
File .sty dan file .tex ada di sistem yang berbeda–yaitu memiliki tujuan yang berbeda–tetapi semuanya seharusnya berfungsi dengan benar. File gaya bekerja dalam hierarki ini:
- usfm.sty
- XXX\custom.sty
- XXX\PrintDrafts\PrintDraft-mods.sty
Setiap lembar gaya menimpa pengaturan dari file di atasnya. Saya bertanya-tanya apakah ada pengaturan di file PrintDraft-mods.sty Anda yang menimpa pengaturan di lembar custom.sty Anda.
Demikian pula, perubahan yang dibuat pada lembar PrintDraft-mods.tex akan menimpa hal-hal yang dibuat di file Draft-XXX-MAT.tex. Anda hanya akan melihat file ke-2 itu jika Anda menahan Ctrl sambil menekan OK di dialog Export to Draft. Menahan Ctrl membuat banyak file sementara (dan tidak menghapusnya, yang merupakan proses normal) dan file-file tersebut dapat membantu Anda melacak masalah.
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.
Diterjemahkan secara otomatis dari English