* \savebuffer
@ 2012-12-29 17:29 Wolfgang Schuster
2012-12-31 18:02 ` \savebuffer Hans Hagen
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2012-12-29 17:29 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: \savebuffer
2012-12-29 17:29 \savebuffer Wolfgang Schuster
@ 2012-12-31 18:02 ` Hans Hagen
2013-01-02 8:15 ` \savebuffer Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2012-12-31 18:02 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Wolfgang Schuster
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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: \savebuffer
2012-12-31 18:02 ` \savebuffer Hans Hagen
@ 2013-01-02 8:15 ` Wolfgang Schuster
2013-01-02 9:20 ` \savebuffer Hans Hagen
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2013-01-02 8:15 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Hans Hagen
Am 31.12.2012 um 19:02 schrieb Hans Hagen <pragma@wxs.nl>:
> 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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: \savebuffer
2013-01-02 8:15 ` \savebuffer Wolfgang Schuster
@ 2013-01-02 9:20 ` Hans Hagen
2013-01-02 23:16 ` \savebuffer Sietse Brouwer
0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2013-01-02 9:20 UTC (permalink / raw)
To: Wolfgang Schuster; +Cc: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: \savebuffer
2013-01-02 9:20 ` \savebuffer Hans Hagen
@ 2013-01-02 23:16 ` Sietse Brouwer
0 siblings, 0 replies; 5+ messages in thread
From: Sietse Brouwer @ 2013-01-02 23:16 UTC (permalink / raw)
To: mailing list for ConTeXt users
>> 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 <pragma@wxs.nl> wrote:
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-01-02 23:16 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-29 17:29 \savebuffer Wolfgang Schuster
2012-12-31 18:02 ` \savebuffer Hans Hagen
2013-01-02 8:15 ` \savebuffer Wolfgang Schuster
2013-01-02 9:20 ` \savebuffer Hans Hagen
2013-01-02 23:16 ` \savebuffer Sietse Brouwer
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).