Re: [NTG-context] Failing MPruns

2013-02-14 Thread 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


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
___

Re: [NTG-context] Failing MPruns

2013-02-14 Thread Keith J. Schultz
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 home...@lavabit.com:

 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
 ___

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


[NTG-context] Failing MPruns

2013-02-13 Thread Marco Patzer
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


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
___

Re: [NTG-context] Failing MPruns

2013-02-13 Thread 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
___


Re: [NTG-context] Failing MPruns

2013-02-13 Thread Keith J. Schultz
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 pra...@wxs.nl:

 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
 ___

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