Re: [NTG-context] mplib problems

Top Page
Author: Peter Rolf
Date:  
To: mailing list for ConTeXt users
Subject: Re: [NTG-context] mplib problems
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@??? / 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
___________________________________________________________________________________