Re: [NTG-context] conditional format in xtables

2018-04-11 Thread Pablo Rodriguez
On 04/10/2018 11:07 PM, Wolfgang Schuster wrote: > The normal \doif... commands don’t work because they aren’t expandable > but you can use the \expdoif... commands (look into setup-en.pdf for all > of them). Many thanks for your reply, Wolfgang. TeX conditionals are fine for me and I need

Re: [NTG-context] conditional format in xtables

2018-04-10 Thread Wolfgang Schuster
The normal \doif... commands don’t work because they aren’t expandable but you can use the \expdoif... commands (look into setup-en.pdf for all of them). Wolfgang Pablo Rodriguez 10. April 2018 um 19:18 Dear list, thanks to Wolfgang, I learnt to set conditional format

[NTG-context] conditional format in xtables

2018-04-10 Thread Pablo Rodriguez
Dear list, thanks to Wolfgang, I learnt to set conditional format in xtables, such as in: \setupxtable [foregroundcolor={\ifnum\currentxtablecolumn=2 red\else green\fi}] \starttext \startxtable \startxrow \startxcell one \stopxcell \startxcell