[NTG-context] Pass a lua table to metapost

DesdeChaves desdechaves at gmail.com
Sun Dec 7 20:25:58 CET 2014


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_and_name".

I know that is possible to pass a array from metapost to lua. Is the
reverse possible?


thanks in advance


Jorge
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20141207/aa040ea5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: calendario3.tex
Type: application/x-tex
Size: 1634 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20141207/aa040ea5/attachment.tex>


More information about the ntg-context mailing list