draw + drawdblarrow = ?! \setupoutput[pdftex] \runMPgraphicstrue \setuppapersize[S6][S6]
\setupcolors[state=start] \startMPinclusions numeric u; u=.8cm; path AX; AX = (10u,0) -- (0,0) -- (0,10u); \stopMPinclusions \starttext \startuseMPgraphic{dummy} pickup pencircle scaled 1mm; drawdblarrow AX withcolor blue; label.rt(textext("$3x2+\pi$"), (5u,6u)); \stopuseMPgraphic \placefigure[left]{bla.bla}{\useMPgraphic{dummy}} \input dawkins \stoptext works... Cheers, Renaud Jean Magnan de Bornier a écrit : >Hello, >I'm having some trouble with MPgraphics; here is a minimal example: >............................. >\setupoutput[pdftex] >\runMPgraphicstrue >\setuppapersize[S6][S6] > >\setupcolors[state=start] > >\startMPinclusions > numeric u; u=.8cm; >path AX; AX = drawdblarrow (10u,0) -- (0,0) -- (0,10u); >\stopMPinclusions > >\starttext >\startuseMPgraphic{dummy} > >pickup pencircle scaled 1mm; >draw AX withcolor blue; > label.rt(textext("$3x^2+\pi$"), (5u,6u)); >\stopuseMPgraphic > >\placefigure[left]{bla.bla}{\useMPgraphic{dummy}} > >\input dawkins >\stoptext >............................. > > >After compilation with texexec I get "unknown" instead of the expected >label. > >What is wrong with me? > >TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 > > texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 > texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 > tex : pdfeTeXk, 3.141592-1.30.4-2.2 (Web2C 7.5.5) > context : ver: 2005.10.27 > cont-en : ver: 2005.10.27 fmt: 2006.4.28 mes: english > >Thanks ia > > _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context