Re: [NTG-context] colored column
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 ___
Re: [NTG-context] colored column
On 21 Jan 2009 at 10:47, ntg-context-requ...@ntg.nl wrote: Von:ntg-context-requ...@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 ___
Re: [NTG-context] colored column
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 ___
Re: [NTG-context] colored column
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 ___
Re: [NTG-context] colored column
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 ___
Re: [NTG-context] colored column
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 ___
Re: [NTG-context] colored column
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 ___
Re: [NTG-context] colored column
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 ___