0 votos
238 visualizações

(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.

Publicação antiga - exibida no idioma original
Paratext por | 238 visualizações

1 Resposta

0 votos

(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.

Publicação antiga - exibida no idioma original
por

Perguntas relacionadas

0 votos
1 resposta 223 visualizações
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 perguntada Mai 7, 2015
0 votos
3 respostas 369 visualizações
De vez em quando, encontro um problema em que não consigo usar a Exportar para PDF para um projeto específico, ... para todos os usuários também afetará os usuários do PTXPrint.
[Expert]
sewhite
3,3k
perguntada Fev 27, 2020
0 votos
1 resposta 38 visualizações
Produzi um arquivo PDF com o PTXprint. Quando o abro com o Firefox no meu desktop, o Firefox exibe o título do ... leitor de PDF não vejam este título confuso no idioma errado.
bit 495 perguntada Nov 17, 2025
0 votos
3 respostas 421 visualizações
Making small changes to the text printed by Print Draft is easy but only if you or someone you know speaks ... replace it with an empty string (effectively deleting it).
anônimo perguntada Jun 3, 2015
0 votos
2 respostas 385 visualizações
Hi, I want to take only introduction part as a pdf of each book in one shot. I tried in the option ... part separately. Please suggest me. Thank you and Regards Prabhu_beelagi
Prabhu_beelagi 241 perguntada Nov 7, 2019
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
All the believers were one in heart and mind. No one claimed that any of their possessions was their own, but they shared everything they had.
Acts 4:32
3,045 perguntas
6,005 respostas
5,671 comentários
2,026 usuários