Hello,
thanks HW - both solutions are useful.
Lukas
On Fri, 22 Mar 2013 18:18:00 +0100, Hans Hagen pra...@wxs.nl wrote:
\def\starthidden#1\stophidden{}
\usemodule[annotation]
\defineannotation[Hidden][alternative=none]
\starttext
A \Hidden{B} C
A \startHidden B\stopHidden C
\stoptext
Hello,
is it possible to define a start-stop command to hide text within?
Something like:
\definestartstop[Hidden][before=\starthiding,after=\stophiding]
TIA.
Lukas
--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová
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
Hello,
interesting trick; however, it doesn't work when used inside a macro:
\definebuffer[Hidden]
\def\WWW{
\startHidden
DDD
\stopHidden
}
\starttext
AAA
\startHidden
BBB
\stopHidden
\WWW
\stoptext
Any idea?
TIA.
Best regards,
Lukas
On Fri, 22 Mar 2013
On 22 March 2013 17:05, Procházka Lukáš Ing. - Pontex s. r. o.
l...@pontex.cz wrote:
interesting trick; however, it doesn't work when used inside a macro:
Any idea?
Nope, sorry. It smells like something to do with expansion; all I know
about expansion is that it causes problems (sometimes)
Am 22.03.2013 um 16:18 schrieb Procházka Lukáš Ing. - Pontex s. r. o.
l...@pontex.cz:
Hello,
is it possible to define a start-stop command to hide text within?
Something like:
\definestartstop[Hidden][before=\starthiding,after=\stophiding]
\usemodule[annotation]
On 3/22/2013 5:36 PM, Sietse Brouwer wrote:
On 22 March 2013 17:05, Procházka Lukáš Ing. - Pontex s. r. o.
l...@pontex.cz wrote:
interesting trick; however, it doesn't work when used inside a macro:
Any idea?
Nope, sorry. It smells like something to do with expansion; all I know
about