ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* gnuplot module fixed (was: gnuplot module broken)
@ 2013-04-19  9:42 Mojca Miklavec
  0 siblings, 0 replies; only message in thread
From: Mojca Miklavec @ 2013-04-19  9:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Fri, Apr 19, 2013 at 10:09 AM, Marco Patzer wrote:
> On 2013–04–19 Mojca Miklavec wrote:
>
>> Dear Hans,
>>
>> please consider the following example in MKII:
>>
>> \setupcolors[state=start]
>>
>> \starttext
>>
>> \startMPextensions
>> a := \abc;
>> color b;
>> b := \MPcolor{currentcolor};
>> \stopMPextensions
>>
>> \startuseMPgraphic{bla}
>> fill fullcircle scaled a withcolor b;
>> \stopuseMPgraphic
>>
>> \def\abc{3cm}\color[blue]{\useMPgraphic{bla}}
>>
>> % Nice small black circle
>> \def\abc{1cm}\useMPgraphic{bla}
>>
>> \stoptext
>>
>>
>> I still don't know how to reproduce this in MKIV.
>
> Use \startMPinitializations instead of \startMPextensions, it's
> global to all MP instances, though.

Thank you very much.

I hope that the module in
    https://github.com/mojca/context-gnuplot/
is hotfixed now, thanks to Marco's extensive support. If anyone is
willing to do a couple more basic tests, I would be grateful. I plan
to upload this version to CTAN to get it into TeX Live and our
distribution.

Apart from that, Marco is working on a heavily modified version of the
module (for MKVI). Once that one is tested, we'll upload it as well,
but this patch is just to make the module usable again.

I'm very sorry that it took me so long.

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-04-19  9:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-19  9:42 gnuplot module fixed (was: gnuplot module broken) Mojca Miklavec

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).