ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* mplib problems
@ 2008-07-02 14:48 Peter Rolf
  2008-07-02 15:42 ` Hans Hagen
  2008-07-03 12:54 ` Peter Rolf
  0 siblings, 2 replies; 4+ messages in thread
From: Peter Rolf @ 2008-07-02 14:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users

hi,

does this error message ring a bell? same problem with luatex 0.27 and 
0.28 using the latest beta. mkii works ok.

[..]
! LuaTeX error r:/tex/texmf-context/tex/context/base/mlib-pdf.lua:92: 
bad argument #-1 to 'pen_info' (MPlib.gr expected, got table)
stack traceback:
	[C]: in function 'pen_info'
	r:/tex/texmf-context/tex/context/base/mlib-pdf.lua:92: in function 
'pen_characteristics'
	r:/tex/texmf-context/tex/context/base/mlib-pdf.lua:296: in function 'flush'
	r:/tex/texmf-context/tex/context/base/mlib-pdf.lua:45: in function 
'convert'
	r:/tex/texmf-context/tex/context/base/mlib-run.lua:255: in function 
'process'
	r:/tex/texmf-context/tex/context/base/mlib-pps.lua:719: in function 
'graphic_base_pass'
	r:/tex/texmf-context/tex/context/base/mlib-ctx.lua:19: in function 
'graphic'
	<main ctx instance>:1: in main chunk.
\processMPgraphic ...alizations ;#1;\!!es , "" ) }
                                                   \else \ctxlua { 
metapost.g...
\handleuniqueMPgraphic ... {\processMPgraphic {#3}
                                                   }\setxvalue {\@@MPG 
\overl...
\douniqueMPgraphic ...#1][#2]\getvalue {\@@MPG #1}
                                                   \empty \elabelgroup
\executedefinedoverlay ...x {\the \everyoverlay #2
                                                   }}\setbox \scratchbox 
\hbo...
\next4 ...d {\??ov \currentbackground }\donothing
                                                   }}}\wd \extraframebox 
\zer...
\rawprocesscommaitem ...commalevel \endcsname {#1}
                                                   \expandafter 
\rawprocessco...
...
[..]


i also have some problems with endless loops here. luatex (>=0.27) runs 
wild, comsuming one cpu and memory; no error messages or logging. as i 
have currently no time, i simply switched back to an older version. 
0.25.3 works ok, but has a problem with drawing small line widths (seems 
to be fixed in 0.28).
sorry, no time for digging any deeper.

regards, peter
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: mplib problems
  2008-07-02 14:48 mplib problems Peter Rolf
@ 2008-07-02 15:42 ` Hans Hagen
  2008-07-07 13:21   ` Peter Rolf
  2008-07-03 12:54 ` Peter Rolf
  1 sibling, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2008-07-02 15:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Peter Rolf wrote:
> hi,
> 
> does this error message ring a bell? same problem with luatex 0.27 and 
> 0.28 using the latest beta. mkii works ok.

hm, what graphic?

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: mplib problems
  2008-07-02 14:48 mplib problems Peter Rolf
  2008-07-02 15:42 ` Hans Hagen
@ 2008-07-03 12:54 ` Peter Rolf
  1 sibling, 0 replies; 4+ messages in thread
From: Peter Rolf @ 2008-07-03 12:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Peter Rolf schrieb:
> hi,
> 
> does this error message ring a bell? same problem with luatex 0.27 and 
> 0.28 using the latest beta. mkii works ok.
> 
> [..]
> ! LuaTeX error r:/tex/texmf-context/tex/context/base/mlib-pdf.lua:92: 
> bad argument #-1 to 'pen_info' (MPlib.gr expected, got table)
> stack traceback:
> 	[C]: in function 'pen_info'
> 	r:/tex/texmf-context/tex/context/base/mlib-pdf.lua:92: in function 
> 'pen_characteristics'
> 	r:/tex/texmf-context/tex/context/base/mlib-pdf.lua:296: in function 'flush'
> 	r:/tex/texmf-context/tex/context/base/mlib-pdf.lua:45: in function 
> 'convert'
> 	r:/tex/texmf-context/tex/context/base/mlib-run.lua:255: in function 
> 'process'
> 	r:/tex/texmf-context/tex/context/base/mlib-pps.lua:719: in function 
> 'graphic_base_pass'
> 	r:/tex/texmf-context/tex/context/base/mlib-ctx.lua:19: in function 
> 'graphic'
> 	<main ctx instance>:1: in main chunk.
> \processMPgraphic ...alizations ;#1;\!!es , "" ) }
>                                                    \else \ctxlua { 
> metapost.g...
> \handleuniqueMPgraphic ... {\processMPgraphic {#3}
>                                                    }\setxvalue {\@@MPG 
> \overl...
> \douniqueMPgraphic ...#1][#2]\getvalue {\@@MPG #1}
>                                                    \empty \elabelgroup
> \executedefinedoverlay ...x {\the \everyoverlay #2
>                                                    }}\setbox \scratchbox 
> \hbo...
> \next4 ...d {\??ov \currentbackground }\donothing
>                                                    }}}\wd \extraframebox 
> \zer...
> \rawprocesscommaitem ...commalevel \endcsname {#1}
>                                                    \expandafter 
> \rawprocessco...
> ...
> [..]
> 
> 
> i also have some problems with endless loops here. luatex (>=0.27) runs 
> wild, comsuming one cpu and memory; no error messages or logging. as i 
> have currently no time, i simply switched back to an older version. 
> 0.25.3 works ok, but has a problem with drawing small line widths (seems 
> to be fixed in 0.28).

the trunk version seems to have fixed that problem. *thanks Taco!!*
but the 'pen_info' error still occurs at two of my examples.

regards, peter
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: mplib problems
  2008-07-02 15:42 ` Hans Hagen
@ 2008-07-07 13:21   ` Peter Rolf
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Rolf @ 2008-07-07 13:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hans Hagen schrieb:
> Peter Rolf wrote:
>> hi,
>>
>> does this error message ring a bell? same problem with luatex 0.27 and 
>> 0.28 using the latest beta. mkii works ok.
> 
> hm, what graphic?
>

% engine=luatex

\startuniqueMPgraphic{foo}
draw unitsquare xyscaled(3cm,3cm)
withcolor transparent(1,.5,red);
\stopuniqueMPgraphic


\starttext

\null
\uniqueMPgraphic{foo}

\stoptext

> -----------------------------------------------------------------
>                                            Hans Hagen | PRAGMA ADE
>                Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>       tel: 038 477 53 69 | fax: 038 477 53 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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2008-07-07 13:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-02 14:48 mplib problems Peter Rolf
2008-07-02 15:42 ` Hans Hagen
2008-07-07 13:21   ` Peter Rolf
2008-07-03 12:54 ` Peter Rolf

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).