[NTG-context] missing btex ..etex in mp figure

luigi scarso luigi.scarso at gmail.com
Fri May 16 01:42:50 CEST 2008


In

\starttext
\startTEXpage
\startlua
metapost.process("metafun",{"beginfig(1);",
"a=.7in; b=0.5in;",
"z0=(0,0); z1=(a,0); z2=(0,b);",
"z0=.5[z1,z3]=.5[z2,z4];",
"draw z1..z2..z3..z4..cycle;",
"drawarrow z0..z1;",
"drawarrow z0..z2;",
"label.top(btex $a$ etex, .5[z0,z1]);",
"label.lft(btex $b$ etex, .5[z0,z2]);",
"endfig;"})
\stoplua
\stopTEXpage
\stoptext

there are no labels, but I believe that it's wrong.


-- 
luigi
it's new .
it's powerful .
it's luatex .
http://www.luatex.org


More information about the ntg-context mailing list