+1 vote
428 vues

J'essaie de produire de beaux PDF des livres traduits. J'ai custom.sty dans notre dossier de projet. Les modifications que j'apporte à ce fichier sont reflétées dans Paratext, mais elles ne sont pas reflétées dans le PDF produit avec l'Exportation en PDF de brouillon. Les modifications apportées au fichier PrintDraft-mods.tex sont reflétées dans le PDF résultant.
Que me manque-t-il ?
J'utilise Paratext 9.0.103.41

Traduit automatiquement depuis English
Paratext par (164 points)
réaffiché | 428 vues

5 Réponses

0 votes
Meilleure réponse

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.

par (1,9k points)
0 votes

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.

par (540 points)
0 votes

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.

par (164 points)
0 votes

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

par [Expert]
(16,7k points)

réaffiché
0 votes

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.

par (164 points)

Questions connexes

0 votes
2 réponses 322 vues
Je travaille sur une translittération GDR (gauche à droite) d'un projet DGR (droite à gauche). Pour une raison ... pourrait subsister depuis le projet source que je dois modifier ?
DVM 175 posée juil. 8, 2021
0 votes
2 réponses 675 vues
J'utilise PTXprint pour exporter le texte de mon projet Paratext vers des fichiers PDF. Si je choisis Multiple Books ( ... t-il un moyen de le faire en une seule étape ?
bit 495 posée juil. 4, 2022
0 votes
0 réponses 180 vues
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 posée mars 24, 2021
0 votes
3 réponses 534 vues
Bonjour à tous, J'ai une liste de références bibliques balisées comme suit (c'est justifié à droite dans Ptxt, notez ... et configurées. Où cela pourrait-il être ? anon303076 (SAB)
anon303076 118 posée mars 25, 2021
0 votes
3 réponses 365 vues
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
posée févr. 27, 2020
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
If anyone destroys God’s temple, God will destroy that person; for God’s temple is sacred, and you together are that temple.
1 Corinthians 3:17
3,045 questions
6,005 réponses
5,671 commentaires
2,026 utilisateurs