Changes

Jump to navigation Jump to search
no edit summary
<cd:description>With <code>\typesetbuffer[mybuffer]</code>, ConTeXt typesets the buffer <code>mybuffer</code> (previously defined by command {{cmd|startbuffer}}) as an independent file and it includes it in the document as an external image.
To get back use the verbatim content contents of the buffer as normal typeset material use the command {{cmd|typebuffergetbuffer}}.
To have the contents of the buffer typeset verbatim use the command {{cmd|typebuffer}}. When you invoke {{cmd|typesetbuffer}} on a buffer that is already typeset, the buffer won’t be typeset again, but the requested page(s) will be included in the document as external figures.
</cd:description>
<cd:examples><cd:example title=""><context source="yes">
two: \externalfigure[\lasttypesetbuffer][frame=on,page=2]
three: \typesetbuffer[*][frame=on,page=3]
<cd:commandref name="typebuffer"></cd:commandref>
<cd:wikipage page="Verbatim text"></cd:wikipage>
<cd:commandref name="startbuffer"></cd:commandref><cd:commandref name="getbuffer"></cd:commandref></cd:seealso>
</cd:commandgroup>

Navigation menu