ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* UniqueMPgraphic and empty lines
@ 2001-10-02 12:19 Patrick Gundlach
  2001-10-02 12:58 ` Taco Hoekwater
  0 siblings, 1 reply; 5+ messages in thread
From: Patrick Gundlach @ 2001-10-02 12:19 UTC (permalink / raw)


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 -


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-10-02 13:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-02 12:19 UniqueMPgraphic and empty lines Patrick Gundlach
2001-10-02 12:58 ` Taco Hoekwater
2001-10-02 13:10   ` Hans Hagen
2001-10-02 13:21   ` Berend de Boer
2001-10-02 13:29     ` Taco Hoekwater

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).