[NTG-context] externalfigure error in current mkiv beta

Hans Hagen pragma at wxs.nl
Tue May 17 23:37:59 CEST 2011


On 17-5-2011 11:21, Alan Braslau wrote:
>
> On Tuesday 17 May 2011 23:09:51 Hans Hagen wrote:
>> On 17-5-2011 10:41, Alan Braslau wrote:
>>> "draw externalfigure"
>>
>> I'm still not sure about that one ... compatibility vs clean
>>
>
> I rather like the new syntax - indeed much cleaner.
>
> (However, for compatibility issues, it might be nice to
> somehow program a better error message, if possible,
> so that 'externalfigure "hacker.jpg";' more elegantly fails.)

pretty hard in metapost

> In fact, '\externalfigure' in ConTeXt and 'externalfigure'
> in metafun (without 'draw') can be a bit confusing, as in
> \starttext
> \externalfigure "hacker" scaled 5cm ;
> \stoptext
> Of course, no-one would ever admit to such foolishness.

maybe another name externalimage or so (as images in mp need to be drawn)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list