Re: [NTG-context] Undefined control sequence: \pdfpxdimen

2020-06-22 Thread Aditya Mahajan

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
___


Re: [NTG-context] Undefined control sequence: \pdfpxdimen

2020-06-22 Thread Aditya Mahajan
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
___
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
___


Re: [NTG-context] Undefined control sequence: \pdfpxdimen

2016-03-09 Thread Aditya Mahajan

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
___
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
___

Re: [NTG-context] Undefined control sequence: \pdfpxdimen

2016-03-09 Thread Peter Rolf
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
> ___

___
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
___

Re: [NTG-context] Undefined control sequence: \pdfpxdimen

2016-03-09 Thread Hans Hagen

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
-
___
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
___

Re: [NTG-context] Undefined control sequence: \pdfpxdimen

2016-03-09 Thread Aditya Mahajan

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
___
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
___

[NTG-context] Undefined control sequence: \pdfpxdimen

2016-03-09 Thread 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


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
___