ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* TABLEs and backgroundcolor
@ 2008-11-08 15:26 Andreas Harder
  2008-11-09  9:42 ` Peter Münster
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Harder @ 2008-11-08 15:26 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


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

* Re: TABLEs and backgroundcolor
  2008-11-08 15:26 TABLEs and backgroundcolor Andreas Harder
@ 2008-11-09  9:42 ` Peter Münster
  2008-11-10 14:09   ` Alan STONE
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Münster @ 2008-11-09  9:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

* Re: TABLEs and backgroundcolor
  2008-11-09  9:42 ` Peter Münster
@ 2008-11-10 14:09   ` Alan STONE
  2008-11-10 17:47     ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Alan STONE @ 2008-11-10 14:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1185 bytes --]

On Sun, Nov 9, 2008 at 10:42 AM, Peter Münster <pmlists@free.fr> 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

[-- Attachment #1.2: Type: text/html, Size: 1720 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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] 4+ messages in thread

* Re: TABLEs and backgroundcolor
  2008-11-10 14:09   ` Alan STONE
@ 2008-11-10 17:47     ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2008-11-10 17:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Alan STONE wrote:
> On Sun, Nov 9, 2008 at 10:42 AM, Peter Münster <pmlists@free.fr 
> <mailto:pmlists@free.fr>> 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
___________________________________________________________________________________


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

end of thread, other threads:[~2008-11-10 17:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-08 15:26 TABLEs and backgroundcolor Andreas Harder
2008-11-09  9:42 ` Peter Münster
2008-11-10 14:09   ` Alan STONE
2008-11-10 17:47     ` 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).