In article <nvitacolonna-9462e1.11114817092...@news.gmane.org>, Nicola <nvitacolo...@gmail.com> wrote: > Does the following workaround work for you? > > def mydraw text t = > def f = begingroup t endgroup enddef; > if picture f : draw f ; fi > enddef; > mydraw externalfigure "abc.png" xyscaled (5cm,8cm);
This may be better: def mydraw text t = _mydraw begingroup t endgroup enddef; def _mydraw primary f = if picture f : draw f ; fi enddef; mydraw externalfigure "abc.png" xyscaled (5cm,8cm); Nicola ___________________________________________________________________________________ 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 ___________________________________________________________________________________