/
r_command_setupbuffer.dita
151 lines (146 loc) · 5.73 KB
/
r_command_setupbuffer.dita
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference id="r_command_setupbuffer" xml:lang="en">
<title>\setupbuffer</title>
<shortdesc>The <cmdname>\setupbuffer</cmdname> command applies setups to a named
buffer.</shortdesc>
<prolog>
<metadata>
<audience type="user"/>
<category>style</category>
<prodinfo>
<prodname>ConTeXt</prodname>
<vrmlist>
<vrm version="iv" release="production" modification=""/>
</vrmlist>
</prodinfo>
</metadata>
</prolog>
<refbody>
<refsyn id="syntax">
<title>Syntax</title>
<synph>\setupbuffer <delim>[</delim><var importance="optional">BUFFER</var><delim>]</delim><delim>[</delim><var>SETTINGS</var><delim>]</delim></synph>
<simpletable>
<sthead>
<stentry>Name</stentry>
<stentry>Description</stentry>
<stentry>Values</stentry>
</sthead>
<strow>
<stentry>BUFFER</stentry>
<stentry>
<xref keyref="BUFFER" type="reference"/>
</stentry>
<stentry>
<ph conkeyref="BUFFER/placeholder_desc"/>
</stentry>
</strow>
<strow>
<stentry>SETTINGS</stentry>
<stentry>
<xref keyref="SETTINGS" type="reference"/>
</stentry>
<stentry>See <xref href="#./settings"/>.</stentry>
</strow>
</simpletable>
</refsyn>
<section id="settings">
<title>Settings</title>
<table frame="all" rowsep="1" colsep="1" id="settings_table">
<tgroup cols="2">
<colspec colname="value_name" colnum="1" colwidth="1*"/>
<colspec colname="value_desc" colnum="2" colwidth="1*"/>
<thead>
<row>
<entry namest="value_name" nameend="value_desc">before</entry>
</row>
<row>
<entry>Value</entry>
<entry>Description</entry>
</row>
</thead>
<tbody>
<row>
<entry>
<xref keyref="COMMAND" type="reference"/>
</entry>
<entry></entry>
</row>
</tbody>
</tgroup>
<tgroup cols="2" id="settings_start">
<colspec colname="value_name" colnum="1" colwidth="1*"/>
<colspec colname="value_desc" colnum="2" colwidth="1*"/>
<thead>
<row>
<entry namest="value_name" nameend="value_desc">after</entry>
</row>
<row>
<entry>Value</entry>
<entry>Description</entry>
</row>
</thead>
<tbody>
<row>
<entry>
<xref keyref="COMMAND" type="reference"/>
</entry>
<entry></entry>
</row>
</tbody>
</tgroup>
<tgroup cols="2" id="settings_stop">
<colspec colname="value_name" colnum="1" colwidth="1*"/>
<colspec colname="value_desc" colnum="2" colwidth="1*"/>
<thead>
<row>
<entry namest="value_name" nameend="value_desc">strip</entry>
</row>
<row>
<entry>Value</entry>
<entry>Description</entry>
</row>
</thead>
<tbody>
<row>
<entry>
<ph importance="default">yes</ph>
</entry>
<entry></entry>
</row>
<row>
<entry>no</entry>
<entry></entry>
</row>
</tbody>
</tgroup>
</table>
</section>
<!--<section id="notes">
<title>Notes</title>
<p></p>
</section>-->
<example id="mwe" otherprops="no_output">
<title>Minimal Working Example</title>
<codeblock>
\starttext
\setupbuffer[ExampleBuffer][before={\blank[big]}, after={\blank[small]}]
\stoptext
</codeblock>
</example>
<!--<example id="example_02" otherprops="no_output">
<title>Descriptive Example Title</title>
<codeblock outputclass="normalize-space">
\starttext
\stoptext
</codeblock>
</example>-->
</refbody>
<related-links>
<link href="https://source.contextgarden.net/tex/context/base/mkiv/buff-ini.mkiv"
scope="external" format="html">
<linktext>Command definition in the <ph conkeyref="definitions/product_name"/> source
file <filepath>buff-ini.mkiv</filepath></linktext>
</link>
</related-links>
</reference>