Hi,

The following used to work:

\startMPrun{foo}
  beginfig(1);
    fill fullcircle scaled 1cm;
  endfig;
\stopMPrun

\starttext
  \externalfigure [mprun:foo.1] [width=4cm]
\stoptext

now I get:

! LuaTeX error ...ext-beta/tex/texmf-context/tex/context/base/grph-inc.lua:690: 
bad argument #1 to 'isfile' (string expected, got nil)
stack traceback:
        [C]: in function 'isfile'
        ...ext-beta/tex/texmf-context/tex/context/base/grph-inc.lua:690: in 
function 'locate'
        ...ext-beta/tex/texmf-context/tex/context/base/grph-inc.lua:922: in 
function 'identifier'
        ...ext-beta/tex/texmf-context/tex/context/base/grph-inc.lua:940: in 
function 'identify'
        [string "\directlua "]:1: in main chunk.

[…]

\grph_include_place ...ctxlua {figures.identify()}
                                                  \ifconditional \c_grph_inc...
\grph_include_figure ...h_include_place [#1][][#2]
                                                  \else \grph_include_place ...
\syst_helpers_triple_empty_three_spaced ...{#3}][]

<to be read again>
                   \stoptext
l.9 \stoptext

It might have something to do with the recent changes concerning the
graphics search path, but that's just a blind guess.

Marco

Attachment: signature.asc
Description: Digital signature

___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to