Hi all,
Actually, I'd be happy if we could change the primitive meaning of \def to
\def\def{\long\def}
And likewise redefinede \outer as a no-op
\def\outer{}
Unf, it is not safe to do this in good old tex (expansion problems), but it
could
be done in etex ...
Patrick Gundlach wrote:
>
> Hi,
>
> is it a bug or a feature?
> -------------------------------------------
> \defineoverlay[myhead][\uniqueMPgraphic{mphead}]
> \startuniqueMPgraphic{mphead}
> w := \overlaywidth;
> h := \overlayheight;
> path p;
> p:= (0,.1w){left} .. {right}(0,0) .. (.5w,.2h) .. (w,0){right}
> .. {left}(w,.1w);
> %
> draw p shifted (0,.1h);
> draw p reflectedabout ((-infinity,0),(infinity,0));
> draw boundingbox currentpicture;
> \stopuniqueMPgraphic
>
> \starttext
>
> \framed[background=myhead]{BlaBlaBlubb}
>
> \stoptext
> -----------------------------------------------
>
> If I remove the % sign, texexec gives me an error (runaway
> argument).
>
> By redifining
> \def\handleuniqueMPgraphic#1#2#3%
> [...]
>
> to
> \long\def\handleuniqueMP.....
>
> it works ok. But I do not know if that has any side effects.
>
> Viele Gr��e,
>
> Patrick Gundlach
>
> - I TeX, therefore I am -
--
groeten,
Taco