0 suara
375 tampilan

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

Postingan lama - ditampilkan dalam bahasa aslinya
Paratext oleh | 375 tampilan

1 Jawaban

0 suara

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

Postingan lama - ditampilkan dalam bahasa aslinya
oleh

Pertanyaan terkait

0 suara
1 jawaban 358 tampilan
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 bertanya Mei 7, 2015
0 suara
3 jawaban 585 tampilan
Sekali-sekali saya mengalami masalah di mana saya tidak dapat menggunakan Export to PDF untuk proyek tertentu, ... semua pengguna ini juga akan memengaruhi pengguna PTXPrint.
[Expert]
sewhite
3,3k
bertanya Feb 27, 2020
0 suara
1 jawaban 242 tampilan
Saya telah menghasilkan file PDF dengan PTXprint. Ketika saya membukanya dengan Firefox di desktop saya, Firefox ... melihat judul membingungkan ini dalam bahasa yang salah.
bit 496 bertanya Nov 17, 2025
0 suara
3 jawaban 671 tampilan
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).
anonim bertanya Jun 3, 2015
+2 suara
1 jawaban 406 tampilan
Seorang pengguna melaporkan di daftar lain bahwa font yang mereka instal di Windows 10 tidak berfungsi dengan ... memiliki masalah yang sama jika Paratext memanggil fontconfig.
Bobby 185 bertanya Mei 29, 2019
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Every day they continued to meet together in the temple courts. They broke bread in their homes and ate together with glad and sincere hearts, praising God and enjoying the favor of all the people. And the Lord added to their number daily those who were being saved.
Acts 2:46-47
3,079 pertanyaan
6,045 jawaban
5,708 komentar
2,045 pengguna