0 votes
199 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) | 199 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 176 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 223 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 199 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
1 answer 265 views
How can I adjust my PrintDraft output so that the verse numbers are not superscript?
anon010520 110 asked Apr 20, 2019
0 votes
1 answer 168 views
I'm having a problem with footnote and cross-reference callers Here's a sample: \f + \fr 2:4 \fk Keyword \ft ... cause the callers to show. I'd appreciate your help with this.
Paul 639 asked Feb 12, 2016
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
And I tell you that you are Peter, and on this rock I will build my church, and the gates of Hades will not overcome it.
Matthew 16:18
3,037 questions
5,994 answers
5,661 comments
2,022 users