Difference between revisions of "Command/ startbuffer"
< Command
Jump to navigation
Jump to search
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
<cd:commandgroup generated="yes" name="buffer" type="environment" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807"> | <cd:commandgroup generated="yes" name="buffer" type="environment" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807"> | ||
− | <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 buffering text. | The instances of <tt>\start<i>buffer</i> ... \stop<i>buffer</i></tt> are used for buffering text. | ||
</cd:shortdesc> | </cd:shortdesc> | ||
Line 16: | Line 13: | ||
</cd:command> | </cd:command> | ||
</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. |
− | 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=""><context source="yes" text="gives"> |
− | <cd:example title=""> | ||
− | |||
− | <context source="yes" text="gives"> | ||
Some \starthiding hidden \stophiding text | Some \starthiding hidden \stophiding text | ||
Line 31: | Line 24: | ||
Some more text | Some more text | ||
</context> | </context> | ||
− | </cd:example> | + | </cd:example></cd:examples> |
− | </cd:examples> | + | <cd:notes></cd:notes> |
− | <cd:notes> | ||
− | |||
− | |||
− | |||
− | |||
− | </cd:notes> | ||
<cd:seealso> | <cd:seealso> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<cd:commandref name="_getbuffer" originator="system"></cd:commandref> | <cd:commandref name="_getbuffer" originator="system"></cd:commandref> | ||
<cd:commandref name="_typebuffer" originator="system"></cd:commandref> | <cd:commandref name="_typebuffer" originator="system"></cd:commandref> | ||
<cd:commandref name="definebuffer" originator="system"></cd:commandref> | <cd:commandref name="definebuffer" originator="system"></cd:commandref> | ||
<cd:commandref name="setupbuffer" originator="system"></cd:commandref> | <cd:commandref name="setupbuffer" originator="system"></cd:commandref> | ||
− | <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:seealso> | + | <cd:commandref name="startbuffer"></cd:commandref> |
+ | <cd:commandref name="hideblocks"></cd:commandref> | ||
+ | <cd:wikipage page="Category:Buffer"></cd:wikipage></cd:seealso> | ||
</cd:commandgroup> | </cd:commandgroup> |
Latest revision as of 16:14, 14 April 2024
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