* Undefined control sequence: \pdfpxdimen
@ 2016-03-09 23:03 Aditya Mahajan
2016-03-09 23:08 ` Aditya Mahajan
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Aditya Mahajan @ 2016-03-09 23:03 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Undefined control sequence: \pdfpxdimen
2016-03-09 23:03 Undefined control sequence: \pdfpxdimen Aditya Mahajan
@ 2016-03-09 23:08 ` Aditya Mahajan
2016-03-09 23:15 ` Hans Hagen
2016-03-09 23:46 ` Peter Rolf
2 siblings, 0 replies; 7+ messages in thread
From: Aditya Mahajan @ 2016-03-09 23:08 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Undefined control sequence: \pdfpxdimen
2016-03-09 23:03 Undefined control sequence: \pdfpxdimen Aditya Mahajan
2016-03-09 23:08 ` Aditya Mahajan
@ 2016-03-09 23:15 ` Hans Hagen
2020-06-22 21:53 ` Aditya Mahajan
2016-03-09 23:46 ` Peter Rolf
2 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2016-03-09 23:15 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Undefined control sequence: \pdfpxdimen
2016-03-09 23:15 ` Hans Hagen
@ 2020-06-22 21:53 ` Aditya Mahajan
2020-06-22 22:04 ` Aditya Mahajan
0 siblings, 1 reply; 7+ messages in thread
From: Aditya Mahajan @ 2020-06-22 21:53 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Undefined control sequence: \pdfpxdimen
2020-06-22 21:53 ` Aditya Mahajan
@ 2020-06-22 22:04 ` Aditya Mahajan
0 siblings, 0 replies; 7+ messages in thread
From: Aditya Mahajan @ 2020-06-22 22:04 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Undefined control sequence: \pdfpxdimen
2016-03-09 23:03 Undefined control sequence: \pdfpxdimen Aditya Mahajan
2016-03-09 23:08 ` Aditya Mahajan
2016-03-09 23:15 ` Hans Hagen
@ 2016-03-09 23:46 ` Peter Rolf
2016-03-10 0:00 ` Aditya Mahajan
2 siblings, 1 reply; 7+ messages in thread
From: Peter Rolf @ 2016-03-09 23:46 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2020-06-22 22:04 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-09 23:03 Undefined control sequence: \pdfpxdimen Aditya Mahajan
2016-03-09 23:08 ` Aditya Mahajan
2016-03-09 23:15 ` Hans Hagen
2020-06-22 21:53 ` Aditya Mahajan
2020-06-22 22:04 ` Aditya Mahajan
2016-03-09 23:46 ` Peter Rolf
2016-03-10 0:00 ` Aditya Mahajan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).