0 votos
252 vistas

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.

Publicación antigua - se muestra en su idioma original
Paratext por (1,9k puntos) | 252 vistas

1 Respuesta

0 votos

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

Publicación antigua - se muestra en su idioma original
por

Preguntas relacionadas

+2 votos
1 respuesta 235 vistas
Un usuario informó en otra lista que una fuente que instaló en Windows 10 no funcionaba con PrintDraft. Windows ... tener el mismo problema si Paratext llamara a fontconfig.
Bobby 185 preguntada may 29, 2019
0 votos
1 respuesta 253 vistas
(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.
anónimo preguntada abr 10, 2015
0 votos
1 respuesta 241 vistas
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 preguntada dic 21, 2018
0 votos
2 respuestas 414 vistas
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 preguntada nov 11, 2019
0 votos
1 respuesta 343 vistas
How can I adjust my PrintDraft output so that the verse numbers are not superscript?
anon010520 110 preguntada abr 20, 2019
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
For just as each of us has one body with many members, and these members do not all have the same function, so in Christ we, though many, form one body, and each member belongs to all the others.
Romans 12:4-5
3,052 preguntas
6,011 respuestas
5,677 comentarios
2,032 usuarios