... Thanks, it works now! It had to be fixed both in F() and in F2().

(I forgot ";" in MP statement as Lua doesn't require ";".)

(Still it's a bit strange to me that calling F() worked even when the MP statement in F() 
was not finished by ";" and F2() was not called.)

Lukas


On Wed, 29 Sep 2010 15:27:14 +0200, Taco Hoekwater <t...@elvenkind.com> wrote:



On 09/29/10 15:10, Hans Hagen wrote:
On 29-9-2010 3:02, Procházka Lukáš wrote:
Hello,

I have the following problem.

Let's have T~.lua file which defines a function:

hm, what is this ~ doing there ... avoid such characters! ~ is HOME on
some systems

That is true of course, but the problem is much simpler than that:

  Make sure you end your metapost expressions with a semicolon.

Best wishes,
Taco


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



--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.      [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

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

Reply via email to