Peter Rolf wrote:
Hi all,
can someone test the attached example with the (latest) alpha version of
ConTeXt?
Using mkiv I get no additional space in case of the \scratchdimen example.
I tried it with two new installations (minimals) from the scratch and
also used several luatex versions, but the error remains. Strange...
well, you can never rely on scratchdimen not being used inside the macro
that you call (in this case it's used right at the start of \framed)
for mkiv i now use a local scratchdimen but you can not rely on that to
happen fro all places where i use scratcdimen myself
\def\Space#1#2%
{\expanded
{\framed
[width=\the\dimexpr#1\relax,
height=\the\dimexpr#1\relax,
frame=on,
framecolor=green,
rulethickness=.25pt,
offset=overlay]}
{}}
or so is another solution
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | 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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________