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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________