ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: olivier <o.turlier@free.fr>
Subject: mixed colors in TABLE
Date: Mon, 13 Mar 2006 23:02:56 +0100	[thread overview]
Message-ID: <pan.2006.03.13.22.02.53.703000@free.fr> (raw)

Hi Everybody,

I'm in front of a unresolvable pb (for the moment !) : compilation aborts
with following file, apparently for a color problem.

the (not so minimal and not working) exemple :

\setuppapersize
    [A4,landscape]
    [A4,landscape]

\setupcolors  [state=start]

\definecolor[bgnd][black]
\definecolor[TitleColor][yellow]
\definecolor[SubTitleColor][green]
\definecolor[TextColor][white]



\setupbackgrounds
    [paper][paper]
    [background=color,backgroundcolor=bgnd]



\starttext



\startbuffer[caracteristiques]

\bTABLE[frame=off,width=.45\paperwidth]
% \setupTABLE[r][1][topframe=on,rulethickness=1em,rulecolor=\TitleColor]
\setupTABLE[c][1][style=\bfb,color=\SubTitleColor]  %foreground=color,foregroundcolor=\SubTitleColor
\setupTABLE[c][2][style=\bfa,color=\TextColor]    %foreground=color,foregroundcolor=\TextColor
\bTR \bTD Famille : \eTD \bTD Bombacaceae \eTD \eTR
\bTR \bTD Origine : \eTD \bTD Costa Rica \eTD  \eTR
\bTR \bTD Température mini : \eTD \bTD  7°C voire moins, mais à cette température l'arbre perd ses feuilles.\eTD \eTR
\bTR \bTD Généralités : \eTD \bTD  arbre tropical pachycaule, feuilles palmées, fleurs blanches avec aigrettes en forme de plumeau, floraison d'avril à juillet, gros fruits ronds, excellente plante d'intérieur. N'entre pas en dormance. \eTD \eTR
\bTR \bTD Exposition : \eTD \bTD mi-ombre \eTD \eTR
\bTR \bTD Atmosphère : \eTD \bTD humide (soucoupe remplie de pouzzolane mouillée et vaporisation à l'eau tiède)  \eTD \eTR
\bTR \bTD Arrosage : \eTD \bTD abondants et généreux en été (mais laisser sécher entre 2 arrosages), ne pas trop arroser en hiver Engrais : normal \eTD  \eTR
\bTR \bTD Substrat : \eTD \bTD moitié terreau plante verte, moitié sable \eTD \eTR
\eTABLE
\stopbuffer




\startalignment[center]
\hbox \bgroup \ignorespaces

    \externalfigure[Pachiraaquatica.jpg][width=.5\paperwidth]

\unskip \quad \ignorespaces

    \getbuffer[caracteristiques]

\unskip \egroup
\stopalignment


\stoptext


and the answer from texmfstart newtexexec.rb --autopdf --pdf
pachira-quest.tex
(texexec 5.4.3, texutil 9.0.0, context ver: 2006.02.08) :

[snip]
systems         : begin file pachira-quest at line 20
<pachira-quest-caracteristiques.tmp>
figures         : figure Pachiraaquatica can not be found

(c:\mytex\isoimage\usr\local\context\tex\texmf-local/tex/context/base/pdfr-ec.t
ex) (./pachira-quest-caracteristiques.tmp
! Missing \endcsname inserted.
<to be read again> 
                   \bgroup 
\switchtocolor [#1]->\bgroup 
                             \startcolor [#1]\aftergroup \stopcolor \aftergr...

\doifcolorelse ...\ifcsname \??cr \currentpalet #1
                                                  \endcsname \currentpalet \...

\dodoglobalstartcolor ...fcolorelse \@@askedcolor 
                                                  {\ifpermitcolormode \docol...

\doglobalstartcolor ...else \dodoglobalstartcolor 
                                                  \fi \else \dodoglobalstart...

\BeforeGroup ->\bgroup \startcolor [\tbltblcolor ]
                                                  \bgroup \aftergroup \After...
...
l.13 \eTABLE
            
? TeXExec | runtime: 2.704


Thanks for any answer

-- 
olivier Turlier

             reply	other threads:[~2006-03-13 22:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-13 22:02 olivier [this message]
2006-03-14  9:14 ` Taco Hoekwater
2006-03-15 22:51   ` olivier Turlier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=pan.2006.03.13.22.02.53.703000@free.fr \
    --to=o.turlier@free.fr \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).