![](https://secure.gravatar.com/avatar/d39338246f50cca667c8256c313d7cfd.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 2/13/2013 1:39 PM, Marco Patzer wrote:
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:
fixed ... also added . instead of : support as mprun: is a prefix and doesn't mix well with other prefixes (schemes) \starttext \startTEXpage \startMPrun{foo} beginfig(2) ; fill fullcircle scaled 1cm withcolor blue ; endfig ; beginfig(1) ; fill fullcircle scaled 2cm withcolor red ; endfig ; \stopMPrun \startMPrun beginfig(6) ; fill fullcircle scaled 15mm withcolor green ; endfig ; \stopMPrun \startoverlay {\externalfigure [mprun.foo.1]} {\externalfigure [mprun.6]} {\externalfigure [mprun:foo.2]} \stopoverlay \stopTEXpage \stoptext beta later ----------------------------------------------------------------- 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 -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/2108b4611c915035ac4d553468360111.jpg?s=120&d=mm&r=g)
Hi Hans, All,
with your example below I noticed that the red circle is not
quite in the graphic. it seems to be clip on the right!
Just mentioning this.
regards
Keith.
Am 13.02.2013 um 17:54 schrieb Hans Hagen
On 2/13/2013 1:39 PM, Marco Patzer wrote:
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:
fixed ... also added . instead of : support as mprun: is a prefix and doesn't mix well with other prefixes (schemes)
\starttext
\startTEXpage
\startMPrun{foo} beginfig(2) ; fill fullcircle scaled 1cm withcolor blue ; endfig ; beginfig(1) ; fill fullcircle scaled 2cm withcolor red ; endfig ; \stopMPrun
\startMPrun beginfig(6) ; fill fullcircle scaled 15mm withcolor green ; endfig ; \stopMPrun
\startoverlay {\externalfigure [mprun.foo.1]} {\externalfigure [mprun.6]} {\externalfigure [mprun:foo.2]} \stopoverlay
\stopTEXpage
\stoptext
beta later
----------------------------------------------------------------- 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 ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/2108b4611c915035ac4d553468360111.jpg?s=120&d=mm&r=g)
Hi Marco,
It is not much, but I do see it.
Maybe around a tenth of a millimeter is missing! just a guess.
Looking closer the top is, also clipped!
regards
Keith
Am 14.02.2013 um 09:23 schrieb Marco Patzer
On 2013–02–14 Keith J. Schultz wrote:
with your example below I noticed that the red circle is not quite in the graphic. it seems to be clip on the right!
It's fine on my machine, or maybe I just don't see it.
Marco ___________________________________________________________________________________ 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 ___________________________________________________________________________________
participants (3)
-
Hans Hagen
-
Keith J. Schultz
-
Marco Patzer