ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: Hans Hagen <pragma@wxs.nl>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \bufferprefix in MKIV
Date: Thu, 27 Jan 2011 18:37:48 -0500 (EST)	[thread overview]
Message-ID: <alpine.LNX.2.01.1101271832350.16902@ybpnyubfg.ybpnyqbznva> (raw)
In-Reply-To: <4D41D151.2080508@wxs.nl>

On Thu, 27 Jan 2011, Hans Hagen wrote:

> On 27-1-2011 8:08, Aditya Mahajan wrote:
>
>> where thirddata.GNUPLOT.transformation is a lua function that does all
>> the fancy processing.
>
> What exactly does it replace then? preprocessing in gnuplot and lilypond?

Yes... the preprocessing can be done more cleanly in lua. And these module 
will not have to do the book-keeping of creating external files and 
running programs on them. In addition, you get all the features of the 
filter module. So one could set the output directory:

     \setupGNUPLOT[directory=gnuplot]

will create all temporary files in a 'gnuplot' directory.

If a figure depends on an external data-set, you can choose to always run 
gnuplot on it.

     %by default only rerun if the file has changed
     \setupGNUPLOT[continue=yes]


     \startGNUPLOT[continue=no]
      ... read from data-set
     \stopGNUPLOT


etc. Not to mention less maintenance for everyone.
___________________________________________________________________________________
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:[~2011-01-27 23:37 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-26 16:46 Mojca Miklavec
2011-01-26 22:53 ` Wolfgang Schuster
2011-01-26 23:13   ` Mojca Miklavec
2011-01-27  8:51   ` Hans Hagen
2011-01-27 19:08   ` Aditya Mahajan
2011-01-27 20:10     ` Hans Hagen
2011-01-27 23:37       ` Aditya Mahajan [this message]
2011-01-27 23:49         ` Mojca Miklavec
2011-01-28  1:00           ` Aditya Mahajan
2011-01-28  8:32           ` Hans Hagen
2011-01-27 23:36     ` Mojca Miklavec
2011-01-28 13:55     ` Henning Hraban Ramm
2011-01-28 20:18       ` Aditya Mahajan

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=alpine.LNX.2.01.1101271832350.16902@ybpnyubfg.ybpnyqbznva \
    --to=adityam@umich.edu \
    --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).