0 votes
222 views

(Malachi James writes)

According to this page adding the line \def\PageBorder{mywatermark.pdf} should add a pdf to our PrintDraft file as a watermark. I have tried adding this line to ‘PrintDraft-mods.tex’ but when I do that PrintDraft fails after creating about 2 pages and the resulting pdf is corrupted. And yes, I do have a pdf in the directory which should be being used as a watermark.

Paratext by | 222 views

1 Answer

0 votes

(Malachi James answers)

I’ll answer my own question for the benefit of others searching for the same issue:

You can indeed add a border to PrintDraft by adding

\def\PageBorder{mywatermark.pdf}

to PrintDraft-mods.tex. Furthermore, you should be able to manipulate your pdf using the same options that can be passed to \XeTeXpdffile

Along with the example here:

\def\PageBorder{mywatermark.pdf scaled 2000 rotated 45}

you should also be able to use xscaled, yscaled, width and height (untested).

The issue I had was caused by my pdf being version 1.5 while PrintDraft will only deal with pdfs up to version 1.4. I was able to adjust the options in my pdf print driver and create a usable pdf for my border.

If your border is a picture file you can also use it, but it takes slightly more work. You must find the ptx-cropmarks.tex file in your Paratext installation folder and edit the line

\global\setbox\b@rder=\hbox{\XeTeXpdffile \PageBorder \relax}%

to read

\global\setbox\b@rder=\hbox{\XeTeXpicfile \PageBorder \relax}%

Which picture formats you can use is determined by your operating system.

by

Related questions

0 votes
1 answer 197 views
PrintDraft uses xetex (which in turn uses ptx2pdf macros) to do the printing to pdf in Paratext. Presumably, PT ... be able to run nice looking drafts straight from PrintDraft.
mnjames 1.9k asked May 7, 2015
0 votes
2 answers 209 views
I want to add new keyterms to the customized keyterm list of the translation project. But I can only find instructions how ... add more new keyterms to the list as such. Any help?
anon532188 175 asked Mar 24, 2021
0 votes
0 answers 110 views
In Paratext 8.0 (and later), if you are registered user, you can remove yourself from a shared project. If you ... . Consult with your computer support person if you need help.
[Expert]
anon421222
735
asked Feb 23, 2017
0 votes
3 answers 392 views
We have languages using Devanagari script. In Devanagari final punctuation is । (danda marker). But Paratext 8 is not ... How can I add custom punctuation to Paratext? thanks binoy
binoy 327 asked Jul 6, 2018
0 votes
3 answers 314 views
The font which I use for typesetting does not have a BOLD style. I wanted to add weight to it so that the ... Weight Disabled666 625 56.2 KB Weight Disabled_2911 719 81.2 KB
TSNgaihte 220 asked Sep 16, 2021
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
May the God who gives endurance and encouragement give you the same attitude of mind toward each other that Christ Jesus had.
Romans 15:5
3,037 questions
5,994 answers
5,661 comments
2,022 users