Hi,
Here are a few examples of how to use \doifinset and \doifinsetelse (they were
given by Wolfgang S. a few years ago…):
\starttext
\type{\doifinset{A}{A,B,C}{should go}:} \doifinset{A}{A,B,C}{should go}
\type{\doifinset{D}{A,B,C}{should go}:} \doifinset{D}{A,B,C}{should
participate}
And here a few more examples…
\starttext
\doifinset {knuth} {knuth,ward} {\input knuth.tex \blank[2*big]}
\doifnotinset {ward} {knuth,Hans} {\input ward.tex\blank[2*big]}
\doifinsetelse {Hans} {Hans,knuth} {then Hans is a genious...\blank[2*big]}
{else ...}
\doifcommon {string,...}
Am 21.08.2014 um 21:58 schrieb Pierre-François Bonnefoi bonne...@unilim.fr:
Hello,
I'm currently prepping my teaching material for my back-to-university.
I want to design some conditional slides based presentation where I can
select the slides that I want to show in my final
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