ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Failing MPruns
@ 2013-02-13 12:39 Marco Patzer
  2013-02-13 16:54 ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Marco Patzer @ 2013-02-13 12:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1275 bytes --]

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 #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Failing MPruns
  2013-02-13 12:39 Failing MPruns Marco Patzer
@ 2013-02-13 16:54 ` Hans Hagen
  2013-02-14  7:45   ` Keith J. Schultz
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2013-02-13 16:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Failing MPruns
  2013-02-13 16:54 ` Hans Hagen
@ 2013-02-14  7:45   ` Keith J. Schultz
  2013-02-14  8:23     ` Marco Patzer
  0 siblings, 1 reply; 5+ messages in thread
From: Keith J. Schultz @ 2013-02-14  7:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Failing MPruns
  2013-02-14  7:45   ` Keith J. Schultz
@ 2013-02-14  8:23     ` Marco Patzer
  2013-02-14  9:13       ` Keith J. Schultz
  0 siblings, 1 reply; 5+ messages in thread
From: Marco Patzer @ 2013-02-14  8:23 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 235 bytes --]

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

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Failing MPruns
  2013-02-14  8:23     ` Marco Patzer
@ 2013-02-14  9:13       ` Keith J. Schultz
  0 siblings, 0 replies; 5+ messages in thread
From: Keith J. Schultz @ 2013-02-14  9:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-02-14  9:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-13 12:39 Failing MPruns Marco Patzer
2013-02-13 16:54 ` Hans Hagen
2013-02-14  7:45   ` Keith J. Schultz
2013-02-14  8:23     ` Marco Patzer
2013-02-14  9:13       ` Keith J. Schultz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).