Re: [NTG-context] Can I simplify this to some sort of logic so it scales better?
Gerben Wierda via ntg-context schrieb am 06.06.2022 um 13:34: I have this: \definemode[EN,FR,RU,PT][keep] \doifmodeelse{EN} { \disablemode[FR] \disablemode[RU] \disablemode[PT] } { \doifmodeelse{FR} { \disablemode[EN] \disablemode[RU] \disablemode[PT] }
[NTG-context] Can I simplify this to some sort of logic so it scales better?
I have this: \definemode[EN,FR,RU,PT][keep] \doifmodeelse{EN} { \disablemode[FR] \disablemode[RU] \disablemode[PT] } { \doifmodeelse{FR} { \disablemode[EN] \disablemode[RU] \disablemode[PT] } { \doifmodeelse{RU} { \disablemode