0 голосов
244 просмотров

(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 от | 244 просмотров

1 ответ

0 голосов

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

Старое сообщение — показано на исходном языке
от

Похожие вопросы

0 голосов
1 ответ 242 просмотров
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,9тыс. задал вопрос май 7, 2015
0 голосов
3 ответов 378 просмотров
Иногда я сталкиваюсь с проблемой, когда не могу использовать функцию Export to PDF для конкретного проекта, ... для всех пользователей, также затронет пользователей PTXPrint.
[Expert]
sewhite
3,3тыс.
задал вопрос фев 27, 2020
0 голосов
1 ответ 77 просмотров
Я создал PDF-файл с помощью PTXprint. Когда я открываю его в Firefox на своем компьютере, Firefox отображает ... PDF, не видели этот запутанный заголовок на неправильном языке.
bit 495 задал вопрос ноя 17, 2025
0 голосов
3 ответов 438 просмотров
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).
аноним задал вопрос июн 3, 2015
0 голосов
2 ответов 410 просмотров
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 задал вопрос ноя 7, 2019
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
How good and pleasant it is when God’s people live together in unity!
Psalm 133:1
3,049 вопросов
6,008 ответов
5,673 комментариев
2,029 пользователей