0 голосов
325 просмотров

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,9тыс. очков) | 325 просмотров

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 ответ 339 просмотров
Пользователь сообщил в другом списке, что шрифт, который он установил в Windows 10, не работал с PrintDraft. ... столкнуться с той же проблемой, если Paratext вызовет fontconfig.
Bobby 185 задал вопрос май 29, 2019
0 голосов
1 ответ 329 просмотров
(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 ответ 296 просмотров
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,8тыс. задал вопрос дек 21, 2018
0 голосов
2 ответов 524 просмотров
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 ответ 427 просмотров
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.
They devoted themselves to the apostles’ teaching and to fellowship, to the breaking of bread and to prayer.
Acts 2:42
3,064 вопросов
6,024 ответов
5,695 комментариев
2,036 пользователей