From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: gnuplot module broken
Date: Tue, 19 Feb 2013 01:37:43 +0100 [thread overview]
Message-ID: <CALBOmsYTXKfQEdshkPp_nPv-yJZyf8BJwL2hY1fkkxYH=HEmbQ@mail.gmail.com> (raw)
In-Reply-To: <20130218164041.GR3733@homerow>
On Mon, Feb 18, 2013 at 5:40 PM, Marco Patzer wrote:
> Hi Mojca et al.
>
> todays beta broke the gnuplot module. This is probably due to the
> changes in the MP inclusion mechanism.
>
> \usemodule [gnuplot]
> \starttext
> \stoptext
Here's an almost minimal example:
\def\abc{1cm}
\startMPextensions
a := \abc;
color b;
b := \MPcolor{currentcolor};
\stopMPextensions
\def\abc{3cm}
\starttext
\startcolor[blue]
\startMPcode
fill fullcircle scaled a withcolor b;
\stopMPcode
\stopcolor
\stoptext
The old ConTeXt draws a blue circle with diameter 3cm and the new
ConTeXt draws a black circle with diameter 1cm. Which one is right?
From a recent message by Hans:
> - add mp functionality (immediate expansion)
It seems that ConTeXt now parses everything inside MPextensions
earlier than it did before and I don't have the slightest idea how to
account for this in the module without a major rewrite. In case that
Hans wants to keep the new functionality, I either need [quite some]
help with the module or I'll simply stick to TeX Live 2012 for the
foreseeable future ;)
Mojca
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2013-02-19 0:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-18 16:40 Marco Patzer
2013-02-19 0:37 ` Mojca Miklavec [this message]
2013-02-19 9:36 ` Hans Hagen
2013-04-19 7:37 ` Mojca Miklavec
2013-04-19 8:09 ` Marco Patzer
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='CALBOmsYTXKfQEdshkPp_nPv-yJZyf8BJwL2hY1fkkxYH=HEmbQ@mail.gmail.com' \
--to=mojca.miklavec.lists@gmail.com \
--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).