[NTG-context] \bufferprefix in MKIV

Wolfgang Schuster schuster.wolfgang at googlemail.com
Wed Jan 26 23:53:32 CET 2011

Am 26.01.2011 um 17:46 schrieb Mojca Miklavec:

> Dear Hans,
> one of the latest versions of MKIV breaks the following code:
>    \edef\GNUPLOTfile  {\bufferprefix gnuplot-\GNUPLOTnumber}%
> since \bufferprefix is not defined any more. Is there any reason for
> that? In particular ...

MkIV stores the buffer content in memory and therefore no external
file was generated which needed a protected name with \bufferprefix.

When you save a buffer with \savebuffer[…] context adds \jobname
as prefix to the file, therefore you can use \jobname in \GNUPLOTfile.

You should also take a look into Adityas filter module.


More information about the ntg-context mailing list