[NTG-context] \bufferprefix in MKIV

Aditya Mahajan adityam at umich.edu
Fri Jan 28 00:37:48 CET 2011

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:


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

      ... read from data-set

etc. Not to mention less maintenance for everyone.

More information about the ntg-context mailing list