Re: [NTG-context] TABLEs and backgroundcolor

2008-11-10 Thread Alan STONE
On Sun, Nov 9, 2008 at 10:42 AM, Peter Münster [EMAIL PROTECTED] wrote:

 On Sat, Nov 08 2008, Andreas Harder wrote:

  \bTABLE[background=color,backgroundcolor=blue]
  \bTR \bTD[corner=08] left \eTD\bTD[corner=05] right \eTD\eTR
  \bTR \bTD left \eTD\bTD right \eTD\eTR
  \bTR \bTD left \eTD\bTD right \eTD\eTR
  \bTR \bTD[corner=07] left \eTD\bTD[corner=06] right \eTD\eTR
  \eTABLE
 
  Now the first and the last row appear black. Any suggestions?

 No suggestion, but it seems the same bug as in
 http://archive.contextgarden.net/message/20081103.154830.60d22cfa.en.html
 Cheers, Peter


There's indeed something with the rounded corner option...

\setupcolors[state=start]

\starttext
\framed[background=color,backgroundcolor=yellow]{test}  % OK
\framed[background=color,backgroundcolor=yellow,corner=round]{test}  % NOT
OK
\framed[background=color, backgroundcolor=green]{bla}  % OK
\framed[background=color, backgroundcolor=green, corner=00]{bla}  % NOT OK
\stoptext

-- 
Best,
Alan

* TeX engine = LuaTeX
* ConTeXt  minimals ver: 2008.56.06 19:11 MKIV  fmt: 2008.11.10  int:
english/english
* Ubuntu 8.04 Hardy Heron
___
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] TABLEs and backgroundcolor

2008-11-10 Thread Hans Hagen
Alan STONE wrote:
 On Sun, Nov 9, 2008 at 10:42 AM, Peter Münster [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:
 
 On Sat, Nov 08 2008, Andreas Harder wrote:
 
   \bTABLE[background=color,backgroundcolor=blue]
   \bTR \bTD[corner=08] left \eTD\bTD[corner=05] right \eTD\eTR
   \bTR \bTD left \eTD\bTD right \eTD\eTR
   \bTR \bTD left \eTD\bTD right \eTD\eTR
   \bTR \bTD[corner=07] left \eTD\bTD[corner=06] right \eTD\eTR
   \eTABLE
  
   Now the first and the last row appear black. Any suggestions?
 
 No suggestion, but it seems the same bug as in
 http://archive.contextgarden.net/message/20081103.154830.60d22cfa.en.html
 Cheers, Peter
 
 
 There's indeed something with the rounded corner option...

technically this had to with the fact that only glyphs, rules and 
leaders are taken into account when postprocessing the node list for 
special code injection, so i now insert a zero dimension rule

Hans


-
   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
___


[NTG-context] TABLEs and backgroundcolor

2008-11-09 Thread Andreas Harder
Hello everyone,

this TABLE used to work not long time ago:

\setupcolors[state=start]

\starttext % \showframe

\bTABLE[framecolor=gray] % split=yes
\setupTABLE[column][first] [background=color,backgroundcolor=red]
\setupTABLE[column][last]  [background=color,backgroundcolor=green]
\setupTABLE[first] [first] [corner=08] %
\setupTABLE[first] [last]  [corner=07] %
\setupTABLE[last]  [first] [corner=05] %
\setupTABLE[last]  [last]  [corner=06] %
%-%
\bTR \bTD oben links  \eTD\bTD oben rechts  \eTD\eTR
\bTR \bTD Mitte links \eTD\bTD Mitte rechts \eTD\eTR
\bTR \bTD Mitte links \eTD\bTD Mitte rechts \eTD\eTR
\bTR \bTD unten links \eTD\bTD unten rechts \eTD\eTR
\eTABLE

\blank

\bTABLE[background=color,backgroundcolor=blue]
\bTR \bTD[corner=08] left \eTD\bTD[corner=05] right \eTD\eTR
\bTR \bTD left \eTD\bTD right \eTD\eTR
\bTR \bTD left \eTD\bTD right \eTD\eTR
\bTR \bTD[corner=07] left \eTD\bTD[corner=06] right \eTD\eTR
\eTABLE

\stoptext

Now the first and the last row appear black. Any suggestions?

Thank you in advance
Andreas
___
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] TABLEs and backgroundcolor

2008-11-09 Thread Peter Münster
On Sat, Nov 08 2008, Andreas Harder wrote:

 \bTABLE[background=color,backgroundcolor=blue]
 \bTR \bTD[corner=08] left \eTD\bTD[corner=05] right \eTD\eTR
 \bTR \bTD left \eTD\bTD right \eTD\eTR
 \bTR \bTD left \eTD\bTD right \eTD\eTR
 \bTR \bTD[corner=07] left \eTD\bTD[corner=06] right \eTD\eTR
 \eTABLE
 
 Now the first and the last row appear black. Any suggestions?

No suggestion, but it seems the same bug as in
http://archive.contextgarden.net/message/20081103.154830.60d22cfa.en.html
Cheers, Peter

-- 
http://pmrb.free.fr/contact/

___
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
___