[NTG-context] MP/Lua binding information flow

2014-12-09 Thread DesdeChaves
In the code in the attachment I have intend that everytime the data generated by Lua are updated metapost should make immediately their representation. However, it insists into represent only the last data generated. How can I fix this problem? thanks Jorge calltemplates.tex Description: TeX

Re: [NTG-context] MP/Lua binding (was: Pass a lua table to metapost)

2014-12-08 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello Hans, it's possible to ask values from within mp: \starttext \startluacode document.variables = { labels = { one, two, three, } } \stopluacode \startMPpage numeric dx, dy; dx = 4.4cm; dy = 0.53cm; path b[]; for i=1 upto

Re: [NTG-context] MP/Lua binding

2014-12-08 Thread Hans Hagen
On 12/8/2014 1:45 PM, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello Hans, it's possible to ask values from within mp: \starttext \startluacode document.variables = { labels = { one, two, three, } } \stopluacode \startMPpage numeric dx, dy;

Re: [NTG-context] MP/Lua binding

2014-12-08 Thread Procházka Lukáš Ing . - Pontex s . r . o .
On Mon, 08 Dec 2014 14:32:16 +0100, Hans Hagen pra...@wxs.nl wrote: article in bachotek proceedings and upcoming ctx group proceedings ... i might consider a manual indeed Hans Personally, any printable/buyable manual on this topic would be appreciated... Lukas -- Ing. Lukáš Procházka |