On Tue, 20 Dec 2016, Alan Braslau wrote:
On Mon, 19 Dec 2016 08:19:25 -0800
Aditya Mahajan <adit...@umich.edu> wrote:
The ability to pass parameters to metapost has been around since the
beginning. See the metafun manual for details (search for MPvar).
Hans has developed tools making it quite easy to pass data back and
forth between MetaPost and lua. This is quite efficient, and it is
being used more and more in the development of macro functionality.
I finally need to write a macro where I want to pass data from lua to
metapost. I could not find an example in the source code showing this.
Can someone show a basic example of how lua-metapost interface works or
point me to the appropriate files in the source.
Thanks,
Aditya
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________