[NTG-context] Hiding text

Sietse Brouwer sbbrouwer at gmail.com
Fri Mar 22 16:42:27 CET 2013

> is it possible to define a start-stop command to hide text within?
> Something like:
> \definestartstop[Hidden][before=\starthiding,after=\stophiding]

Just define any buffer, and don't call \getbuffer[mybuffer]. Buffers
are not typeset, by default, until you get them. The below is
shamelessly adapted from Hans's \starthiding (which already exists):

% uncomment the below to turn this into a non-hiding buffer.
% \setupbuffer[Hidden][after={\getbuffer[Hidden]}]


asdf asdf


More information about the ntg-context mailing list