From: Wolfgang Schuster <wolfgang.schuster@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Hans Hagen <pragma@wxs.nl>
Subject: Re: \savebuffer
Date: Wed, 2 Jan 2013 09:15:11 +0100 [thread overview]
Message-ID: <A6B00249-4078-4438-AC53-0ADF4AF3355D@gmail.com> (raw)
In-Reply-To: <50E1D319.7060103@wxs.nl>
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
___________________________________________________________________________________
next prev parent reply other threads:[~2013-01-02 8:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-29 17:29 \savebuffer Wolfgang Schuster
2012-12-31 18:02 ` \savebuffer Hans Hagen
2013-01-02 8:15 ` Wolfgang Schuster [this message]
2013-01-02 9:20 ` \savebuffer Hans Hagen
2013-01-02 23:16 ` \savebuffer Sietse Brouwer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=A6B00249-4078-4438-AC53-0ADF4AF3355D@gmail.com \
--to=wolfgang.schuster@gmail.com \
--cc=ntg-context@ntg.nl \
--cc=pragma@wxs.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).