[NTG-context] \doifmode and friends

Wolfgang Schuster schuster.wolfgang at googlemail.com
Tue Oct 4 20:44:25 CEST 2011

Am 04.10.2011 um 20:37 schrieb Aditya Mahajan:

> On Tue, 4 Oct 2011, Meer, H. van der wrote:
>> 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?
> Can you provide a minimal example. I don't get any extra spaces
> \enablemode[test]
> \starttext
> A\doifmode{test}{B}C
> A\doifmode{notest}{B}C
> \stoptext

There is a unwanted space in the second paragraph.



A \doifmode{test}{B} C

A \doifmode{notest}{B} C



More information about the ntg-context mailing list