Difference between revisions of "Command/ startbuffer"
< Command
Jump to navigation
Jump to search
(Created page with "Documentation for \start<i>buffer</i> ... \stop<i>buffer</i>") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
<cd:shortdesc> | <cd:shortdesc> | ||
<!-- a short command summary goes here --> | <!-- a short command summary goes here --> | ||
− | The instances of <tt>\start<i>buffer</i> ... \stop<i>buffer</i></tt> are used for | + | The instances of <tt>\start<i>buffer</i> ... \stop<i>buffer</i></tt> are used for buffering text. |
</cd:shortdesc> | </cd:shortdesc> | ||
<cd:sequence> | <cd:sequence> | ||
Line 10: | Line 10: | ||
</cd:sequence> | </cd:sequence> | ||
<cd:instances> | <cd:instances> | ||
− | <cd:constant value="hiding"></cd:constant> | + | <cd:constant value="hiding">Hides the content of its environment.</cd:constant> |
</cd:instances> | </cd:instances> | ||
<cd:variants> | <cd:variants> | ||
Line 17: | Line 17: | ||
</cd:variants> | </cd:variants> | ||
<cd:description> | <cd:description> | ||
− | + | Note that {{cmd|startbuffer}} is not an instance of {{gen|startbuffer}}. It has its own, more elaborate definition. | |
</cd:description> | </cd:description> | ||
<cd:examples> | <cd:examples> | ||
− | |||
<cd:example title=""> | <cd:example title=""> | ||
+ | |||
+ | <context source="yes" text="gives"> | ||
+ | Some \starthiding hidden \stophiding text | ||
+ | |||
+ | \starthiding | ||
+ | Arbitrary, potentially invalid \fi text | ||
+ | \stophiding | ||
+ | |||
+ | Some more text | ||
+ | </context> | ||
</cd:example> | </cd:example> | ||
− | |||
</cd:examples> | </cd:examples> | ||
<cd:notes> | <cd:notes> | ||
Line 45: | Line 53: | ||
<cd:source file="buff-ini.mkiv" originator="system"></cd:source> | <cd:source file="buff-ini.mkiv" originator="system"></cd:source> | ||
<cd:wikipage originator="system" page="Category:Buffer"></cd:wikipage> | <cd:wikipage originator="system" page="Category:Buffer"></cd:wikipage> | ||
+ | <cd:commandref name="startbuffer"></cd:commandref> | ||
+ | <cd:commandref name="hideblocks"></cd:commandref> | ||
</cd:seealso> | </cd:seealso> | ||
</cd:commandgroup> | </cd:commandgroup> |
Revision as of 13:31, 21 August 2020
Contents
\startbuffer ... \stopbuffer
Summary
The instances of \startbuffer ... \stopbuffer are used for buffering text.
Instances
\starthiding ... \stophiding | Hides the content of its environment. |
Description
Note that \startbuffer is not an instance of startbuffer. It has its own, more elaborate definition.
Examples
Example 1
Some \starthiding hidden \stophiding text \starthiding Arbitrary, potentially invalid \fi text \stophiding Some more text
gives