ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Procházka Lukáš Ing. - Pontex s. r. o." <LPr@pontex.cz>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Cc: Hans Hagen <pragma@wxs.nl>
Subject: Re: Calling Lua function from an external package
Date: Wed, 29 Sep 2010 15:35:18 +0200	[thread overview]
Message-ID: <op.vjsqo4i1tpjj8f@lpr> (raw)
In-Reply-To: <4CA33EB2.7050502@elvenkind.com>

... 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 <taco@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:LPr@pontex.cz]
Pontex s. r. o.      [mailto:pontex@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	other threads:[~2010-09-29 13:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-29 13:02 Procházka Lukáš
2010-09-29 13:10 ` Hans Hagen
2010-09-29 13:27   ` Taco Hoekwater
2010-09-29 13:35     ` Procházka Lukáš Ing. - Pontex s. r. o. [this message]
2010-09-29 13:48       ` Stefan Müller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=op.vjsqo4i1tpjj8f@lpr \
    --to=lpr@pontex.cz \
    --cc=ntg-context@ntg.nl \
    --cc=pragma@wxs.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).