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,也可能會遇到相同的問題
Bobby 185 提出 已提問 5月 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.
匿名 提出 已提問 4月 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 提出 已提問 12月 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月 11, 2019
0 票
1 個回答 343 次瀏覽
How can I adjust my PrintDraft output so that the verse numbers are not superscript?
anon010520 110 提出 已提問 4月 20, 2019
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
There is neither Jew nor Gentile, neither slave nor free, nor is there male and female, for you are all one in Christ Jesus.
Galatians 3:28
3,052 個問題
6,011 個回答
5,677 則評論
2,032 位使用者