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

Hans Hagen pragma at wxs.nl
Fri Jan 24 14:45:54 CET 2014


On 1/24/2014 1:35 PM, Peter Rolf wrote:
> Hi,
>
> 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?

I don't understand the issue but isn't there a

     metafun("draw p;")

missing then?

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list