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. Wolfgang
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 ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
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
On 1/2/2013 9:15 AM, Wolfgang Schuster wrote:
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”).
with prefix=no it uses the given filename (so no suffix if not given) ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
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”).
with prefix=no it uses the given filename (so no suffix if not given)
`prefix=no` doesn't really hint at that. What about `prefix=,suffix=`
(default: `prefix=\jobname,suffix=.tmp`)?
Cheers, and a happy new year to all,
Sietse
On Wed, Jan 2, 2013 at 10:20 AM, Hans Hagen
On 1/2/2013 9:15 AM, Wolfgang Schuster wrote:
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”).
with prefix=no it uses the given filename (so no suffix if not given)
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________
participants (3)
-
Hans Hagen
-
Sietse Brouwer
-
Wolfgang Schuster