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