ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* colored column
@ 2010-03-13 17:51 Wolfgang Werners-Lucchini
  2010-03-13 18:55 ` Wolfgang Schuster
  0 siblings, 1 reply; 10+ messages in thread
From: Wolfgang Werners-Lucchini @ 2010-03-13 17:51 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 10+ messages in thread
[parent not found: <mailman.56.1232531263.31165.ntg-context@ntg.nl>]
[parent not found: <mailman.6669.1232304874.19169.ntg-context@ntg.nl>]
[parent not found: <mailman.6665.1232280796.19169.ntg-context@ntg.nl>]
* colored column
@ 2009-01-17 23:59 Wolfgang Werners-Lucchini
  2009-01-18 10:47 ` Wolfgang Schuster
  2009-01-18 14:01 ` Hans Hagen
  0 siblings, 2 replies; 10+ messages in thread
From: Wolfgang Werners-Lucchini @ 2009-01-17 23:59 UTC (permalink / raw)
  To: ntg-context

Hallo!

\setupcolors[state=start]
\starttext
\starttable[ o1 | \{C{red} |]
\VL red \VL\SR
\stoptable
\stoptext

This was an older example which worked some years ago (see: 
http://www.ntg.nl/pipermail/ntg-context/2006/020803.html), but is not 
working anymore.

What is the problem here?

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-03-13 18:55 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-13 17:51 colored column Wolfgang Werners-Lucchini
2010-03-13 18:55 ` Wolfgang Schuster
     [not found] <mailman.56.1232531263.31165.ntg-context@ntg.nl>
2009-02-04  8:23 ` Wolfgang Werners-Lucchini
     [not found] <mailman.6669.1232304874.19169.ntg-context@ntg.nl>
2009-01-20 23:26 ` Wolfgang Werners-Lucchini
     [not found] <mailman.6665.1232280796.19169.ntg-context@ntg.nl>
2009-01-18 16:09 ` Wolfgang Werners-Lucchini
2009-01-18 16:09 ` Wolfgang Werners-Lucchini
2009-01-21  7:00   ` Wolfgang Schuster
  -- strict thread matches above, loose matches on Subject: below --
2009-01-17 23:59 Wolfgang Werners-Lucchini
2009-01-18 10:47 ` Wolfgang Schuster
2009-01-18 14:01 ` Hans Hagen

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).