0 票
253 次浏览

PrintDraft uses xetex (which in turn uses ptx2pdf macros) to do the printing to pdf in Paratext.

Presumably, PT issues some command similar to xetex -output-driver=xdvipdfmx sample.tex

Our project and many others in our country are forced to use a broken font. As a result it is necessary to adjust the location of glyphs in the pdf. Someone much smarter than me has created a program which takes the pdf output from xdvipdfmx and runs it through a series of predetermined adjustments, creating a much better looking pdf.

The code I run from the command line to get this to work is xelatex -output-driver=“positiontweaker -a adjustments.txt” 12commands.tex. The program, positiontweaker, knows to call xdvipdfmx and then uses the instructions within adjustments.txt to fix the pdf.

My question is, is there any way to have PT issue a command to positiontweaker such as the one I’ve written here? I’m quite happy to type command line instructions (and have a macro built into Notepad++ to run this command), but it would be very convenient for our non-techy colleagues to be able to run nice looking drafts straight from PrintDraft.

较早的帖子 - 以原始语言显示
Paratext 中 由 (1.9k 分) 发布 | 253 次浏览

1 个回答

0 票

As far as I can tell we don’t specify an output-driver argument when calling xetex. I presume this means we just get the default output driver.

I don’t see anyway in the current code to change this without doing some programming to make it possible.

Please submit this as an enhancement request to [Email Removed]. It would be very helpful for the prioritization committee if you could give them some rough idea of how many projects would benefit from this change.

Blessings,
anon451647

较早的帖子 - 以原始语言显示
由 发布

相关问题

+2 票
1 个回答 235 次浏览
有用户在另一个列表上报告称,他们在 Windows 10 上安装的字体在 PrintDraft 中无法正常工作 Windows 10 最近更改了策略,允许非管理员安装字体 然而,这类由用户安装的字体存放位置与管 ... 被 XeTeX 调用时找不到用户安装的字体,那么如果 Paratext 调用 fontconfig,Paratext 也可能遇到同样的问题
Bobby 185 发布 提问于 五月 29, 2019
0 票
1 个回答 253 次浏览
(Malachi James writes) According to this page adding the line \def\PageBorder{mywatermark.pdf} should add a pdf to our ... the directory which should be being used as a watermark.
匿名用户 发布 提问于 四月 10, 2015
0 票
1 个回答 241 次浏览
I know there are a lot of features everyone would like. I am not asking for a new one (just yet) but wondering if ... was reading it on a machine with the Paratext project on it.)
Kent Spielmann 1.8k 发布 提问于 十二月 21, 2018
0 票
2 个回答 414 次浏览
A team I support has been publishing selected Psalms and other chapters to their Scripture app as the chapters are approved ... might be useful to other teams in other regions too.
anon469793 155 发布 提问于 十一月 11, 2019
0 票
1 个回答 343 次浏览
How can I adjust my PrintDraft output so that the verse numbers are not superscript?
anon010520 110 发布 提问于 四月 20, 2019
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
So Peter was kept in prison, but the church was earnestly praying to God for him.
Acts 12:5
3,052 个问题
6,011 个回答
5,677 条评论
2,032 位用户