[NTG-context] Undefined control sequence: \pdfpxdimen
Aditya Mahajan
adityam at umich.edu
Tue Jun 23 00:04:43 CEST 2020
On Mon, 22 Jun 2020, Aditya Mahajan wrote:
> Replying to an old thread ... but drops module does not work with lmtx
> because
> \pxdimen is not defined.
>
> On Thu, 10 Mar 2016, Hans Hagen wrote:
>
>> On 3/10/2016 12:03 AM, Aditya Mahajan wrote:
>>> The drops module uses the primitive \pdfpxdimen in a couple of places,
>>> but that is no longer defined in the current beta. What is the
>>> equivalent command now?
>>>
>>> Examples of usage:
>>>
>>> \pdfpxdimen1in\relax\divide\pdfpxdimen\numexpr\dropsparameter\c!
>>> resolution\relax % set actual pixel dimension
>>
>> just \pxdimen (as it's not related to pdf)
>
> What will be the equivalent of \pxdimen in LMTX?
Just realized that this is a bug in t-drops: Line 143 of t-dropx.mkiv says
\doifundefined{pdfvariable} {\let\pxdimen\pdfpxdimen} % \pxdimen in luatex 0.85
Commenting that out fixes the bug.
Aditya
More information about the ntg-context
mailing list