* Modes -- if?
@ 2002-10-01 11:22 AlterEgo Qasars
2002-10-01 14:29 ` Hans Hagen
0 siblings, 1 reply; 2+ messages in thread
From: AlterEgo Qasars @ 2002-10-01 11:22 UTC (permalink / raw)
Good whatever time it is. :-)
Many thanks to Mr. Hagen for his kind answer. It improved a lot.
Nevertheless, one more question:
Is it possible to learn in ConTeXt what mode was chosen? Well, I can
prepare \newif for this very purpose but I guess there is something like
it build in.
Let's say I have
\startmode[something]
...
\stopmode
and I want to do anything only if the mode "something" was chosen. How can
I do it?
Many greetings,
M.K.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Modes -- if?
2002-10-01 11:22 Modes -- if? AlterEgo Qasars
@ 2002-10-01 14:29 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2002-10-01 14:29 UTC (permalink / raw)
Cc: konference o ConTeXtu
At 01:22 PM 10/1/2002 +0200, AlterEgo Qasars wrote:
>Good whatever time it is. :-)
>
>Many thanks to Mr. Hagen for his kind answer. It improved a lot.
>Nevertheless, one more question:
>
>Is it possible to learn in ConTeXt what mode was chosen? Well, I can
>prepare \newif for this very purpose but I guess there is something like
>it build in.
>
>Let's say I have
>
>\startmode[something]
>...
>\stopmode
>
>and I want to do anything only if the mode "something" was chosen. How can
>I do it?
\doifmode \doifmodeelse \doifnotmode \doifallmodeselse \doifallmodes
\doifnotallmodes
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-10-01 14:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-01 11:22 Modes -- if? AlterEgo Qasars
2002-10-01 14:29 ` Hans Hagen
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).