4 Oct
2011
4 Oct
'11
6:32 p.m.
Am 04.10.2011 um 20:19 schrieb Meer, H. van der:
I find that "abc \doifmode{mode}{text} more text" can introduce extra whitespace. I conclude therefore that there is no \ignorespaces at work here. As a consequence the \doifmode does not completely disappear if mode is not satisfied. Is this intentional or should this behaviour be changed?
You can use the annotation module, it supports this function. \usemodule[annotation] \defineannotation[test][alternative=text] \starttext Can you see this \test{hidden} text? \setupannotation[test][alternative=none] Can you see this \test{hidden} text? \stoptext Wolfgang