Am 23.09.2010 um 09:53 schrieb Procházka Lukáš: > Hello, > > I'm looking for some stuff about calling MP from ConTeXt Lua. > > The only thing I found is a short reference at > http://www.luatex.org/svn/trunk/manual/luatexref-t.pdf, but even when I read > some basics (pages 79-83), I don't even know how to draw a line between two > points. > > So I'd like to find a tutorial or examples or a deeper reference about how to > call MP via Lua from ConTeXt. - Any idea?
You don’t have to think so complicated: \starttext \startluacode context.startMPpage() context("draw fullcircle scaled 2cm;") context.stopMPpage \stopluacode \stoptext See also http://pragma-ade.com/show-man-44.htm Wolfgang
___________________________________________________________________________________ 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 ___________________________________________________________________________________