ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* color in natural tables
@ 2002-06-07  8:21 Martin Kolarik
  2002-06-07 10:48 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Kolarik @ 2002-06-07  8:21 UTC (permalink / raw)


Hi,

if I define color for table cell using table mechanism (e.g.
\bTR[color=red]) all is OK.

If I use \bTR\color[red]{bla bla}\eTR the cell expands to maximal width.

Is it OK too?

Thanks, Martin

--------
Martin Kolařík
Moravské Přístroje, a.s., Masarykova 1148, Zlín 76302
tel. +420(603)498498, fax +420(603)490803
web: http://www.mii.cz
--------
e-mail: kolarik@mii.cz
e-mail: kolarik@click.cz
tel. +420(603)535593


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

* Re: color in natural tables
  2002-06-07  8:21 color in natural tables Martin Kolarik
@ 2002-06-07 10:48 ` Hans Hagen
       [not found]   ` <005201c20e36$1c74ba70$2197fac3@mii.cz>
       [not found]   ` <004101c20e12$62a16620$2197fac3@mii.cz>
  0 siblings, 2 replies; 4+ messages in thread
From: Hans Hagen @ 2002-06-07 10:48 UTC (permalink / raw)
  Cc: ConTeXt

At 10:21 AM 6/7/2002 +0200, Martin Kolarik wrote:
>Hi,
>
>if I define color for table cell using table mechanism (e.g.
>\bTR[color=red]) all is OK.
>
>If I use \bTR\color[red]{bla bla}\eTR the cell expands to maximal width.

indeed, a side effect or starting a par with color, this is why we have the 
color= key
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------


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

* RE: color in natural tables
       [not found]   ` <005201c20e36$1c74ba70$2197fac3@mii.cz>
@ 2002-06-07 16:00     ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2002-06-07 16:00 UTC (permalink / raw)
  Cc: ntg-context

At 05:15 PM 6/7/2002 +0200, you wrote:
>Hi Hans,
>
>another problem -- when I use \startuseMPgraphic... \useMPgraphic... ConTeXt
>fails with:
>
>[MP to PDF ./mpgraph.4000] (./mpgraph.4000
>! Undefined control sequence.
>\handleMPsequence ->\checkMPpath
>                                  \ifcase \nofMPsegments \else \let \e...
>l.16 gsave fill grestore stroke

a grep on the contetx base path learns:

supp-mpe.tex:  {\checkMPpath % !
supp-pdf.tex:  {\checkMPpath
supp-pdf.tex:\def\checkMPpath

so, do you happen to have some other supp-pdf.tex file on yoru system 
(latex also uses this file so maybe there is an old version in a path that 
is consulted earlier)

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------


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

* RE: color in natural tables
       [not found]   ` <004101c20e12$62a16620$2197fac3@mii.cz>
@ 2002-06-07 16:01     ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2002-06-07 16:01 UTC (permalink / raw)
  Cc: ntg-context

At 12:59 PM 6/7/2002 +0200, you wrote:
>OK, so, if the coloring using \color... appears somewhere inside paragraph,
>the width should stay unexpanded? If yes one can start paragraph implicitly,
>then set color and then be happy :-)

it's abit more complicated; in some cases, in order to get spacing ok, 
struts are added, and esp in \framed (the buildingblock for bTABLE) you 
shoul dnot fool around with color too much (there, use \foregroundcolor 
instead)

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------


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

end of thread, other threads:[~2002-06-07 16:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-07  8:21 color in natural tables Martin Kolarik
2002-06-07 10:48 ` Hans Hagen
     [not found]   ` <005201c20e36$1c74ba70$2197fac3@mii.cz>
2002-06-07 16:00     ` Hans Hagen
     [not found]   ` <004101c20e12$62a16620$2197fac3@mii.cz>
2002-06-07 16: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).