* Re: colored column
[not found] <mailman.6669.1232304874.19169.ntg-context@ntg.nl>
@ 2009-01-20 23:26 ` Wolfgang Werners-Lucchini
0 siblings, 0 replies; 10+ messages in thread
From: Wolfgang Werners-Lucchini @ 2009-01-20 23:26 UTC (permalink / raw)
To: ntg-context
Hallo Hans,
> > > What is the problem here?
> >
> > maybe a typo? \{C{red} looks weird
> >
>
> See:
> -------------------------------------------------------------------
> % Key "\{": Enclose template in braces.
> \NewFormatKey \{{%
> \!taDataColumnTemplate=\!thx{\!thx{\the\!taDataColumnTemplate}}%
> \ReadFormatKeys}
> -------------------------------------------------------------------
> in thrd-tab.tex
Will this FormatKey be repaired?
If yes, I would keep this in my example collection.
Gruß, 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
* Re: colored column
2010-03-13 17:51 Wolfgang Werners-Lucchini
@ 2010-03-13 18:55 ` Wolfgang Schuster
0 siblings, 0 replies; 10+ messages in thread
From: Wolfgang Schuster @ 2010-03-13 18:55 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 13.03.10 18:51, schrieb Wolfgang Werners-Lucchini:
> So, how can I do the job?
>
Natural tables?
\setupTABLE[offset=0pt,loffset=0.25ex,roffset=0.25ex] % l|roffset
requires MKIV
\setupTABLE[frame=off,leftframe=on,rightframe=on]
\starttext
\startTABLE[color=red]
\NC red \NC\NR
\stopTABLE
\stoptext
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
* 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
* Re: colored column
[not found] <mailman.56.1232531263.31165.ntg-context@ntg.nl>
@ 2009-02-04 8:23 ` Wolfgang Werners-Lucchini
0 siblings, 0 replies; 10+ messages in thread
From: Wolfgang Werners-Lucchini @ 2009-02-04 8:23 UTC (permalink / raw)
To: ntg-context
On 21 Jan 2009 at 10:47, ntg-context-request@ntg.nl wrote:
Von: ntg-context-request@ntg.nl
Betreff: ntg-context Digest, Vol 55, Issue 64
An: ntg-context@ntg.nl
Antwort an: ntg-context@ntg.nl
Datum: Wed, 21 Jan 2009 10:47:43 +0100
> Hallo Hans,
>
> > > > What is the problem here?
> > >
> > > maybe a typo? \{C{red} looks weird
> > >
> >
> > See:
> >
> -------------------------------------------------------------------
> %
> > Key "\{": Enclose template in braces. \NewFormatKey \{{%
> >
> \!taDataColumnTemplate=\!thx{\!thx{\the\!taDataColumnTemplate}}%
> > \ReadFormatKeys}
> >
> -------------------------------------------------------------------
> in
> > thrd-tab.tex
>
> Will this FormatKey be repaired?
>
> If yes, I would keep this in my example collection.
>
Hmm! Maybe I have overseen an answer.
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
* Re: colored column
2009-01-18 16:09 ` Wolfgang Werners-Lucchini
@ 2009-01-21 7:00 ` Wolfgang Schuster
0 siblings, 0 replies; 10+ messages in thread
From: Wolfgang Schuster @ 2009-01-21 7:00 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 18.01.2009 um 17:09 schrieb Wolfgang Werners-Lucchini:
> This doesn't work! Try
\letvalue{!tk<\string C>}=\undefined
\NewFormatKey C#1%
{\ReadFormatKeys b{\localstartcolor[#1]\bgroup} a{\egroup
\localstopcolor}}
> \starttable[o1|C{red}|c|]
> \VL red \VL should be black \VL\SR
> \stoptable
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
* Re: colored column
[not found] <mailman.6665.1232280796.19169.ntg-context@ntg.nl>
@ 2009-01-18 16:09 ` Wolfgang Werners-Lucchini
2009-01-21 7:00 ` Wolfgang Schuster
2009-01-18 16:09 ` Wolfgang Werners-Lucchini
1 sibling, 1 reply; 10+ messages in thread
From: Wolfgang Werners-Lucchini @ 2009-01-18 16:09 UTC (permalink / raw)
To: ntg-context
Hallo Hans,
> > What is the problem here?
>
> maybe a typo? \{C{red} looks weird
>
See:
-------------------------------------------------------------------
% Key "\{": Enclose template in braces.
\NewFormatKey \{{%
\!taDataColumnTemplate=\!thx{\!thx{\the\!taDataColumnTemplate}}%
\ReadFormatKeys}
-------------------------------------------------------------------
in thrd-tab.tex
>
> \starttable[o1|C{red}|]
> \VL red \VL\SR
> \stoptable
This doesn't work! Try
\starttable[o1|C{red}|c|]
\VL red \VL should be black \VL\SR
\stoptable
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
* Re: colored column
[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
1 sibling, 0 replies; 10+ messages in thread
From: Wolfgang Werners-Lucchini @ 2009-01-18 16:09 UTC (permalink / raw)
To: ntg-context
Hallo Wolf[gang],
> > \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?
>
> I can' help you to fix the original keys (need to be done by Hans)
> but you could define your own key.
>
> \NewFormatKey W#1%
> {\ReadFormatKeys b{\localstartcolor[#1]\{}
> a{\}\localstopcolor}}
>
> \setupcolors[state=start]
> \starttext
> \starttable[o1|W{red}c|]
> \VL red \VL\SR
> \stoptable
> \stoptext
>
> Regards,
> Wolf
It is allways nice to learn something new.
Thank you!
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
* Re: colored column
2009-01-17 23:59 Wolfgang Werners-Lucchini
2009-01-18 10:47 ` Wolfgang Schuster
@ 2009-01-18 14:01 ` Hans Hagen
1 sibling, 0 replies; 10+ messages in thread
From: Hans Hagen @ 2009-01-18 14:01 UTC (permalink / raw)
To: mailing list for ConTeXt users
Wolfgang Werners-Lucchini wrote:
> 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?
maybe a typo? \{C{red} looks weird
\starttable[o1|C{red}|]
\VL red \VL\SR
\stoptable
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
* Re: colored column
2009-01-17 23:59 Wolfgang Werners-Lucchini
@ 2009-01-18 10:47 ` Wolfgang Schuster
2009-01-18 14:01 ` Hans Hagen
1 sibling, 0 replies; 10+ messages in thread
From: Wolfgang Schuster @ 2009-01-18 10:47 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 18.01.2009 um 00:59 schrieb Wolfgang Werners-Lucchini:
> 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?
I can' help you to fix the original keys (need to be done by Hans)
but you could define your own key.
\NewFormatKey W#1%
{\ReadFormatKeys b{\localstartcolor[#1]\{} a{\}\localstopcolor}}
\setupcolors[state=start]
\starttext
\starttable[o1|W{red}c|]
\VL red \VL\SR
\stoptable
\stoptext
Regards,
Wolf
___________________________________________________________________________________
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
* 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 --
[not found] <mailman.6669.1232304874.19169.ntg-context@ntg.nl>
2009-01-20 23:26 ` colored column Wolfgang Werners-Lucchini
2010-03-13 17:51 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.6665.1232280796.19169.ntg-context@ntg.nl>
2009-01-18 16:09 ` Wolfgang Werners-Lucchini
2009-01-21 7:00 ` Wolfgang Schuster
2009-01-18 16:09 ` Wolfgang Werners-Lucchini
-- 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).