ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \doifnotmodeelse - undefined control sequence error?
@ 2015-09-15  9:31 Jaroslav Hajtmar
  2015-09-15 13:33 ` Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: Jaroslav Hajtmar @ 2015-09-15  9:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello ConTeXist.

I do not know if I'm not mistake somewhere, but it seems to me that the 
macro \doifnotmodeelse does not work. Can anyone verify this?


Jaroslav Hajtmar


Here is a simple example:


\enablemode[mymode]
% \disablemode[mymode]

\starttext

\startmode[mymode]
mode 'mymode' is enabled!
\stopmode

\startnotmode[mymode]
mode 'mymode' is disbled!
\stopnotmode


\doifmodeelse{mymode}{mode 'mymode' is enabled!}{mode 'mymode' is disbled!}

% Undefined control sequence error ???
% \doifnotmodeelse{mymode}{mode 'mymode' is disbled!}{mode 'mymode' is 
enabled!}


\stoptext


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-09-16  3:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-15  9:31 \doifnotmodeelse - undefined control sequence error? Jaroslav Hajtmar
2015-09-15 13:33 ` Wolfgang Schuster
2015-09-15 13:49   ` Aditya Mahajan
2015-09-16  3:43     ` Jaroslav Hajtmar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).