Am 31.12.2012 um 19:02 schrieb Hans Hagen
On 12/29/2012 6:29 PM, Wolfgang Schuster wrote:
Hi Hans,
can you add a \savebuffer variant which works like the first version of the command where
\savebuffer[<buffername>][<filename>]
saved the buffer as <filename> and not as \jobname-<filename>.tmp like it currently does.
Instead of a new command a key-val-version of \savebuffer would do the job as well, e.g.
\savebuffer[list=<buffername>,file=<filename>,prefix=no]
or something similar.
next beta:
\starttext
\startbuffer[test] crap \stopbuffer
\savebuffer[test][whatever]
\savebuffer[list=test,file=something,prefix=no]
\stoptext
Which file extension would this use, “tmp” as the current \savebuffer command or a requested with is applied with the filename (e.g. “file=myfile.tex”) or a extension key (e.g. “extension=tex”). Wolfgang