0 votes
219 views

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 by (1.9k points) | 219 views

1 Answer

0 votes

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

by

Related questions

+2 votes
1 answer 197 views
A user reported on another list that a font they installed on Windows 10 was not working with PrintDraft. ... could possibly have the same issue if Paratext called fontconfig.
Bobby 185 asked May 29, 2019
0 votes
1 answer 234 views
(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.
anonymous asked Apr 10, 2015
0 votes
1 answer 219 views
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 asked Dec 21, 2018
0 votes
2 answers 306 views
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 asked Nov 11, 2019
0 votes
1 answer 285 views
How can I adjust my PrintDraft output so that the verse numbers are not superscript?
anon010520 110 asked Apr 20, 2019
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Don’t you know that you yourselves are God’s temple and that God’s Spirit dwells in your midst?
1 Corinthians 3:16
3,044 questions
6,003 answers
5,671 comments
2,026 users