Difference between revisions of "Command/savebuffer"
< Command
Jump to navigation
Jump to search
(Created page with "{{Reference |name={{subst:SUBPAGENAME}} |attributes= }} == Syntax == <table cellspacing="4" cellpadding="2" class="cmd"> <tr> <td colspan="2" class="cmd...") |
m |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 4: | Line 4: | ||
}} | }} | ||
+ | == [[Help:Reference|Syntax]] (autogenerated) == | ||
+ | <syntax>savebuffer</syntax> | ||
== [[Help:Reference|Syntax]] == | == [[Help:Reference|Syntax]] == | ||
<table cellspacing="4" cellpadding="2" class="cmd"> | <table cellspacing="4" cellpadding="2" class="cmd"> | ||
Line 43: | Line 45: | ||
== Description == | == Description == | ||
− | When part of the job <tt>myjob.tex</tt>, {{cmd|savebuffer|[buffer][suffix]}} saves a list of buffers to <tt>myjob-suffix.tmp</tt>. Each new buffer, including the first, is preceded by a newline. | + | When part of the job <tt>myjob.tex</tt>, {{cmd|savebuffer|[buffer][suffix]}} saves a list of buffers to <tt>myjob-suffix.tmp</tt>. Each new buffer, including the first, is preceded by a newline. You can suppress the jobname prefix if you use the key-value variant (since 2013). |
== Example == | == Example == | ||
Line 58: | Line 60: | ||
== See also == | == See also == | ||
− | + | <!-- please fill in something --> | |
− | |||
== Help from ConTeXt-Mailinglist/Forum == | == Help from ConTeXt-Mailinglist/Forum == | ||
Line 65: | Line 66: | ||
{{Forum|savebuffer}} | {{Forum|savebuffer}} | ||
− | [[Category:Command/ | + | [[Category:Command/Buffer|savebuffer]] |
Latest revision as of 16:15, 14 April 2024
\savebuffer
Syntax (autogenerated)
\savebuffer[...,...][...] | |
[...,...] | buffer |
[...] | file |
\savebuffer[...=...,...] | |
list | name |
file | file |
prefix | yes no |
Syntax
\savebuffer[buffer names][filename] | |
[buffer names] | a comma-separated list of buffers you want to save. |
[filename] | e.g. XX results in the buffer being saved to the file jobname-XX.tmp |
\savebuffer[...=...] | |
list | list of buffer names |
file | filename to save to |
prefix | yes no whether to add the jobname- prefix to the filename |
Description
When part of the job myjob.tex, \savebuffer[buffer][suffix] saves a list of buffers to myjob-suffix.tmp. Each new buffer, including the first, is preceded by a newline. You can suppress the jobname prefix if you use the key-value variant (since 2013).
Example
\startbuffer[test] Oranges and lemons \stopbuffer \savebuffer[test][whatever] \savebuffer[list=test,file=something,prefix=no]
See also
Help from ConTeXt-Mailinglist/Forum
All issues with: