Re: [NTG-context] Pass a lua table to metapost

2014-12-09 Thread Hans Hagen
On 12/8/2014 4:48 PM, Mojca Miklavec wrote: On Mon, Dec 8, 2014 at 4:34 PM, DesdeChaves wrote: I use the last context minimals. In my system a have a new luatex binary (v. 0.78.2) but I don't know how install it in minimals. If i just copy/paste the new binary to the folder .../tex/texmf-osx-6

Re: [NTG-context] Pass a lua table to metapost

2014-12-08 Thread Herbert Voss
Am 08.12.2014 um 19:24 schrieb DesdeChaves: After the update to new ConTeXT minimals -- luatex beta-0.79.2 (rev 5084) -- the code runs perfectly. hm, after updating (Linux) I have still 79.1: voss@shania:~/Links/opt/context/tex/texmf-linux-64/bin> ./luatex -v This is LuaTeX, Version beta-0.79.

Re: [NTG-context] Pass a lua table to metapost

2014-12-08 Thread DesdeChaves
After the update to new ConTeXT minimals -- luatex beta-0.79.2 (rev 5084) -- the code runs perfectly. Thanks to all. Jorge 2014-12-08 16:05 GMT+00:00 DesdeChaves : > MacOSX intel > > 2014-12-08 16:03 GMT+00:00 DesdeChaves : > >> Sorry for the noise. My LuaTeX version is 0.79.1. I'm using MacOSX

Re: [NTG-context] Pass a lua table to metapost

2014-12-08 Thread DesdeChaves
MacOSX intel 2014-12-08 16:03 GMT+00:00 DesdeChaves : > Sorry for the noise. My LuaTeX version is 0.79.1. I'm using MacOSX > > This is LuaTeX, Version beta-0.79.1 (TeX Live 2014/dev) (rev 4972) > > 2014-12-08 15:48 GMT+00:00 Mojca Miklavec > : > >> On Mon, Dec 8, 2014 at 4:34 PM, DesdeChaves wro

Re: [NTG-context] Pass a lua table to metapost

2014-12-08 Thread DesdeChaves
Sorry for the noise. My LuaTeX version is 0.79.1. I'm using MacOSX This is LuaTeX, Version beta-0.79.1 (TeX Live 2014/dev) (rev 4972) 2014-12-08 15:48 GMT+00:00 Mojca Miklavec : > On Mon, Dec 8, 2014 at 4:34 PM, DesdeChaves wrote: > > I use the last context minimals. In my system a have a new lu

Re: [NTG-context] Pass a lua table to metapost

2014-12-08 Thread Mojca Miklavec
On Mon, Dec 8, 2014 at 4:34 PM, DesdeChaves wrote: > I use the last context minimals. In my system a have a new luatex binary (v. > 0.78.2) but I don't know how install it in minimals. If i just copy/paste > the new binary to the folder .../tex/texmf-osx-64/bin I found a eeror > message ""This w

Re: [NTG-context] Pass a lua table to metapost

2014-12-08 Thread Hans Hagen
On 12/8/2014 4:34 PM, DesdeChaves wrote: I use the last context minimals. In my system a have a new luatex binary (v. 0.78.2) but I don't know how install it in minimals. If i just copy/paste the new binary to the folder .../tex/texmf-osx-64/bin I found a eeror message ""This went wrong: .../

Re: [NTG-context] Pass a lua table to metapost

2014-12-08 Thread DesdeChaves
I use the last context minimals. In my system a have a new luatex binary (v. 0.78.2) but I don't know how install it in minimals. If i just copy/paste the new binary to the folder .../tex/texmf-osx-64/bin I found a eeror message ""This went wrong: .../Context/tex/texmf-context/tex/context/base/s

Re: [NTG-context] Pass a lua table to metapost

2014-12-08 Thread Hans Hagen
On 12/8/2014 12:27 PM, DesdeChaves wrote: Thanks, but I'm not able to run this code in my system.. I'm working in ConTeXt ver: 2014.12.06 14:20 MKIV beta fmt: 2014.12.8 int: english/english and the error message is: >> runscript ! Isolated expression. so your luatex is too old ---

Re: [NTG-context] Pass a lua table to metapost

2014-12-08 Thread DesdeChaves
Thanks, but I'm not able to run this code in my system. I'm working in ConTeXt ver: 2014.12.06 14:20 MKIV beta fmt: 2014.12.8 int: english/english and the error message is: >> runscript ! Isolated expression. ( mlib_luas_luacall->begingroup.runscript( ""for.s=(TEXT2):if.

Re: [NTG-context] Pass a lua table to metapost

2014-12-08 Thread Hans Hagen
On 12/7/2014 8:25 PM, DesdeChaves wrote: I would like to pass the lua table keys and values to metapost. In the keys i have information about the paths names and in the values i have information about the label that should be draw in the center of each path (unitsquare). In my code (see attach)

[NTG-context] Pass a lua table to metapost

2014-12-07 Thread DesdeChaves
I would like to pass the lua table keys and values to metapost. In the keys i have information about the paths names and in the values i have information about the label that should be draw in the center of each path (unitsquare). In my code (see attach) the table in question is "weekdays_number_a