ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Procházka Lukáš" <lpr@pontex.cz>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: Lua:mplib
Date: Thu, 23 Sep 2010 10:35:21 +0200	[thread overview]
Message-ID: <op.vjg8s7sx0g5ws1@lk-2008-nbk> (raw)
In-Reply-To: <20100923082023.GA16275@aides>

Thanks for the answers to all...

It seems that I'm trying to do similar things as someone else was trying before -

- use of "context.MPdrawing()" looks best at the moment. Maybe it will become "deprecated" as soon as Lua involves MP.

Best,

Lukas


On Thu, 23 Sep 2010 10:20:23 +0200, Philipp Gesang <pgesang@ix.urz.uni-heidelberg.de> wrote:

> On 2010-09-23 <09:53:38>, Procházka Lukáš wrote:
>> So I'd like to find a tutorial or examples or a deeper
>> reference about how to call MP via Lua from ConTeXt. - Any idea?
>
> Hi Lukáš,
>
> this doesn't seem to be implemented yet, cf. this post:
> http://archive.contextgarden.net/message/20100805.225554.4212c0c8.en.html
> for now, as Wolfgang suggested, the “building strings and passing
> them to context.MPdrawing()” method works acceptably if you
> define yourself some wrapper functions.
>
> But maybe Hans already has some prototype for a Metapost-Context
> interface in his drawer …
>
> Regards, Philipp
>



___________________________________________________________________________________
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-23  8:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-23  7:53 Lua:mplib Procházka Lukáš
2010-09-23  8:08 ` Lua:mplib Wolfgang Schuster
2010-09-23  8:20 ` Lua:mplib Philipp Gesang
2010-09-23  8:35   ` Procházka Lukáš [this message]
2010-09-23  9:24     ` Lua:mplib Hans Hagen
2010-09-23  8:23 ` Lua:mplib luigi scarso

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.vjg8s7sx0g5ws1@lk-2008-nbk \
    --to=lpr@pontex.cz \
    --cc=ntg-context@ntg.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).