+1
429 次瀏覽

I am trying to produce nice looking PDFs of the translated books. I have custom.sty in our project folder. Changes I make to this are reflected in Paratext, but they are not reflected in the PDF produced with the Export to Draft PDF. Changes made to the file PrintDraft-mods.tex are reflected in the resulting PDF.
What am I missing?
Using Paratext 9.0.103.41

Paratext (164 點) 提出
已重新顯示 | 429 次瀏覽

5 個回答

0
最佳回答

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.

(1.9k 點) 提出
0

KapalaDikili, I strongly recommend you investigate and use the new little app called PTXprint. Go to software.sil.org/ptxprint to download this excellent little app. You’ll find it a great tool, I am sure.

(540 點) 提出
0

Thank you for the suggestion of PTXprint. I am aware of it, but have not seriously tested it yet. It looks like a very powerful and useful app and I will look forward to using it. However, I also do like “Export Draft PDF” because it is available right inside Paratext and is quick and easy to use. Perfect for a quick job.

Just out of interest I did another test. I deleted the custom.sty file on my project folder and modified the main usfm.sty file on the top level C:\My Paratext 8 Projects folder. When I then created the draft PDF, the modification was reflected there. Of course, modifying usfm.sty is not a good thing to do as future updates may overwrite it. I also checked the PrintDraft-mods.sty file and it doesn’t seem to override my modification. To me it still looks like that the “Export Draft PDF” process ignores custom.sty.

(164 點) 提出
0

@KapalaDikili, What settings are you trying to change in your custom.sty file that are not showing up in the PDF?

[Expert]
(16.7k 點) 提出

已重新顯示
0

First line indent. I work on Arabic Based Script (ABS) project. Because line spacing is bigger than in Roman script it needs to be balanced with a bigger first line indent.

(164 點) 提出

相關問題

0
2 個回答 322 次瀏覽
I am working on an LTR transliteration of an RTL project. For some reason, the directionality of punctuation around numerals ... over from the source project that I need to change?
DVM 175 提出 已提問 7月 8, 2021
0
2 個回答 675 次瀏覽
我正在使用 PTXprint 將我的 Paratext 專案文字匯出為 PDF 檔案 如果在 PTXprint 的「Basic」(基本) 「Project and Scope」(專案與範圍)部分選擇「Multiple Books」(多卷書),並選取聖經的所有 ... 列印),然後選取另一本書,再點擊「Print」(列印),但那會很繁瑣 有沒有辦法一步完成?
bit 495 提出 已提問 7月 4, 2022
0
0 個回答 180 次瀏覽
I seemed to recall that there was a way to keep or preserve the intermediate files when you File > Export Draft PDF. With ... for that on this support site, I will find this post
jeffh 1.4k 提出 已提問 3月 24, 2021
0
3 個回答 534 次瀏覽
Hi Friends, I have a list of Scripture references tagged as follows (this is justified right in Ptxt, mind you, which ... identified and set. Where might that be? anon303076 (SAB)
anon303076 118 提出 已提問 3月 25, 2021
0
3 個回答 365 次瀏覽
Now and then I've encountered an issue where I can't use Export to PDF for a particular project, where the ... not installed for all users will also effect users of PTXPrint.
[Expert]
sewhite
3.3k 提出
已提問 2月 27, 2020
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Finally, all of you, be like-minded, be sympathetic, love one another, be compassionate and humble.
1 Peter 3:8
3,045 個問題
6,005 個回答
5,671 則評論
2,026 位使用者