ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Pass a lua table to metapost
@ 2014-12-07 19:25 DesdeChaves
  2014-12-08  9:21 ` Hans Hagen
  0 siblings, 1 reply; 15+ messages in thread
From: DesdeChaves @ 2014-12-07 19:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 425 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 673 bytes --]

[-- Attachment #2: calendario3.tex --]
[-- Type: application/x-tex, Size: 1634 bytes --]

[-- Attachment #3: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2014-12-09 12:16 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-07 19:25 Pass a lua table to metapost DesdeChaves
2014-12-08  9:21 ` Hans Hagen
2014-12-08 11:27   ` DesdeChaves
2014-12-08 12:19     ` Hans Hagen
2014-12-08 15:34       ` DesdeChaves
2014-12-08 15:43         ` Hans Hagen
2014-12-08 15:48         ` Mojca Miklavec
2014-12-08 16:03           ` DesdeChaves
2014-12-08 16:05             ` DesdeChaves
2014-12-08 18:24               ` DesdeChaves
2014-12-08 18:39                 ` Herbert Voss
2014-12-09 12:16           ` Hans Hagen
2014-12-08 12:45   ` MP/Lua binding (was: Pass a lua table to metapost) Procházka Lukáš Ing. - Pontex s. r. o.
2014-12-08 13:32     ` MP/Lua binding Hans Hagen
2014-12-08 14:36       ` Procházka Lukáš Ing. - Pontex s. r. o.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).