Hi,

when I run this example ...


\setupcolors[state=stop,conversion=never]%needed for specific reason in project

\startuseMPgraphic{Test}
z1  = (-233,0) ;
z2  = (-220,22) ;
fill z1 for i=2 upto 2: .. z[i] endfor .. z1 & cycle ;
\stopuseMPgraphic

\defineoverlay[TTest] [\leftaligned 
{\scale[height=\overlayheight]{\useMPgraphic{Test}}}]

\starttext

\framedtext[frame=off,loffset=1em,roffset=1em,background=TTest]{\input 
knuth\par}

\setupTABLE[frame=off,offset=1ex]
\setupTABLE[row][each][align={middle,lohi}]
\bTABLE
 \bTR
   \bTD[nr=3,background=TTest] drei \eTD
 \eTR
\eTABLE

\stoptext


... I get this error:
! LuaTeX error ...text/tex/texmf-context/tex/context/base/colo-ini.lua:461: bad 
argument #2 to 'format' (string expected, got nil)
stack traceback:
        [C]: in function 'format'
        ...text/tex/texmf-context/tex/context/base/colo-ini.lua:461: in 
function 'mpcolor'
        ...text/tex/texmf-context/tex/context/base/colo-ini.lua:792: in 
function 'mpcolor'
        <main ctx instance>:1: in main chunk.

system          > tex > error on line 25 in file MP_MkIV.tex: LuaTeX error  ...

15     \starttext
16     
17     \framedtext[frame=off,loffset=1em,roffset=1em,background=TTest]{\input 
knuth\par}
18     
19     \setupTABLE[frame=off,offset=1ex]
20     \setupTABLE[row][each][align={middle,lohi}]
21     \bTABLE
22      \bTR
23        \bTD[nr=3,background=TTest] drei \eTD
24      \eTR
25 >>  \eTABLE
26     
27     \stoptext
28     
29     


\ctxcommand ...\directlua \zerocount {commands.#1}
                                                  
<inserted text> ...:=\MPcolor {\overlaylinecolor }
                                                  ; BaseLineSkip:=\the \base...
\processMPgraphic ...e ;\!!es , \MPaskedfigure )}}
                                                  \egroup \placeMPgraphic \d...
\handleuseMPgraphic ...hics \processMPgraphic {#3}
                                                  \endgroup 
\douseMPgraphic ...{\@@MPG \currentMPgraphicname }
                                                  \empty \endMPgraphicgroup 
<to be read again> 
                   }
...
l.25 \eTABLE
            
? 
Process aborted




The problem is the usage of "conversion=never" ... but I need this for other 
reason in my project.

Any help?

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

Reply via email to