Undefined control sequence: \pdfpxdimen

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 Aditya

On Wed, 9 Mar 2016, 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
Also, t-drops.lua uses: local px = tex.pdfpxdimen etc. Aditya

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) ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------

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? Thanks, Aditya

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

Am 10.03.2016 um 00:03 schrieb Aditya Mahajan:
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
I have fixed that incompatibility some weeks ago and also posted the new version on this list. Just look at the source for the details (changes are minimal). https://spideroak.com/browse/share/indiego/public/ConTeXt/drops/ Peter
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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________

On Thu, 10 Mar 2016, Peter Rolf wrote:
Am 10.03.2016 um 00:03 schrieb Aditya Mahajan:
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
I have fixed that incompatibility some weeks ago and also posted the new version on this list. Just look at the source for the details (changes are minimal).
https://spideroak.com/browse/share/indiego/public/ConTeXt/drops/
Thanks! Aditya
participants (3)
-
Aditya Mahajan
-
Hans Hagen
-
Peter Rolf