[NTG-context] runtime problem with metafun() code

Peter Rolf indiego at gmx.net
Fri Jan 24 13:35:27 CET 2014


I try to create a Metapost path in lua and it works so far for the
attached example. But a call of that function from another lua function
sadly fails (no path visible after call). The code seems to be executed
later (the output from 'show pid;' appears somewhere later in the log).

How can I ensure that the code is executed at runtime?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplua.lua
Type: text/x-lua
Size: 1157 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20140124/d58b2fcf/attachment.bin>
-------------- next part --------------

\ctxlua{metapost.showlog = true}



More information about the ntg-context mailing list