Hallo,

can someone explain how to write a table column in color, please?

The following example worked in 2006 but is not working anymore:

\starttext
\starttable[o1|\{C{red}|]
\VL red \VL\SR
\stoptable
\stoptext

Wolfgang Schuster posted last year the following example:

\NewFormatKey W#1%
{\ReadFormatKeys b{\localstartcolor[#1]\{} a{\}\localstopcolor}}

\starttable[o1|W{red}c|]
\VL red \VL\SR
\stoptable

But this results in printing '{red}' in red, not 'red'!

And this variant paints the following vertical line in red too:

\NewFormatKey W#1%
{\ReadFormatKeys b{\localstartcolor[#1]} a{\localstopcolor}}

\starttable[o1|W{red}c|]
\VL red \VL\SR
\stoptable

So, how can I do the job?

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
___________________________________________________________________________________

Reply via email to