[NTG-context] useMPgraphic scaling

Wolfgang Schuster schuster.wolfgang at gmail.com
Tue Apr 26 09:15:16 CEST 2016


> Meer, Hans van der <mailto:H.vanderMeer at uva.nl>
> 26. April 2016 um 08:50
>
>
> Sure, is needed. Checked it again.
> I define \scalesetting as
> \edef\scalesetting{scale=\xmlattdef{#1}{scale}{1000}}
> But I am not sure why this needs the expansion..
>
> The enclosing \rotate[rotation=\xmlattdef{#1}{rotation}{0}]{...} does 
> not need the\expanded.
>
The exapnsion is need for this part only:

     \scale[\scalesetting]

ConTeXt checks if the argument contains an assignment which isn't the 
case unless you expand \scalesetting and it sees the = in the argument.

Wolfgang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20160426/bde58f5d/attachment.html>


More information about the ntg-context mailing list