0 票
374 次浏览

(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 中 由 发布 | 374 次浏览

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 个回答 358 次浏览
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 发布 提问于 五月 7, 2015
0 票
3 个回答 585 次浏览
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 发布
提问于 二月 27, 2020
0 票
1 个回答 242 次浏览
我用 PTXprint 生成了一个 PDF 文件 当我在桌面上用 Firefox 打开它时,Firefox 会在浏览器界面中显示 PDF 文件的标题,也就是标签页标题的位置 在我的情况下,它显示的标签页标题是 "[Unknown] - ... 样在浏览器或 PDF 阅读器中打开该 PDF 文件的人就不会看到这个令人困惑的 语言错误的标题
bit 496 发布 提问于 十一月 17, 2025
0 票
3 个回答 671 次浏览
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
+2 票
1 个回答 406 次浏览
有用户在另一个列表上报告称,他们在 Windows 10 上安装的字体在 PrintDraft 中无法正常工作 Windows 10 最近更改了策略,允许非管理员安装字体 然而,这类由用户安装的字体存放位置与管 ... 被 XeTeX 调用时找不到用户安装的字体,那么如果 Paratext 调用 fontconfig,Paratext 也可能遇到同样的问题
Bobby 185 发布 提问于 五月 29, 2019
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,079 个问题
6,045 个回答
5,708 条评论
2,045 位用户