* \doifinset
@ 2010-04-23 15:57 Wolfgang Werners-Lucchini
2010-04-23 16:03 ` \doifinset Wolfgang Schuster
0 siblings, 1 reply; 2+ messages in thread
From: Wolfgang Werners-Lucchini @ 2010-04-23 15:57 UTC (permalink / raw)
To: ntg-context
Hallo,
on the garden at
http://wiki.contextgarden.net/System_Macros/Branches_and_Decisions
one can read to the command \doifinset
'If the first string expands 'empty', it is considered to be always
in the set.'
But
\starttext
\doifinset{}{A,B,C}{should go}
\stoptext
seams to show that this is wrong.
Is my example wrong or my understanding of the above sentence?
Wolfgang
___________________________________________________________________________________
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] 2+ messages in thread
* Re: \doifinset
2010-04-23 15:57 \doifinset Wolfgang Werners-Lucchini
@ 2010-04-23 16:03 ` Wolfgang Schuster
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2010-04-23 16:03 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 23.04.10 17:57, schrieb Wolfgang Werners-Lucchini:
> Hallo,
>
> on the garden at
>
> http://wiki.contextgarden.net/System_Macros/Branches_and_Decisions
>
> one can read to the command \doifinset
>
> 'If the first string expands 'empty', it is considered to be always
> in the set.'
>
> But
>
> \starttext
> \doifinset{}{A,B,C}{should go}
> \stoptext
>
> seams to show that this is wrong.
>
> Is my example wrong or my understanding of the above sentence?
>
The sentence is wrong, if the first argument is empty ConTeXt considers
the argument to be *not* in the set (verified in the source).
Wolfgang
___________________________________________________________________________________
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] 2+ messages in thread
end of thread, other threads:[~2010-04-23 16:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-23 15:57 \doifinset Wolfgang Werners-Lucchini
2010-04-23 16:03 ` \doifinset Wolfgang Schuster
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).