* mixed colors in TABLE
@ 2006-03-13 22:02 olivier
2006-03-14 9:14 ` Taco Hoekwater
0 siblings, 1 reply; 3+ messages in thread
From: olivier @ 2006-03-13 22:02 UTC (permalink / 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: mixed colors in TABLE
2006-03-13 22:02 mixed colors in TABLE olivier
@ 2006-03-14 9:14 ` Taco Hoekwater
2006-03-15 22:51 ` olivier Turlier
0 siblings, 1 reply; 3+ messages in thread
From: Taco Hoekwater @ 2006-03-14 9:14 UTC (permalink / raw)
Hi,
olivier wrote:
> Hi Everybody,
>
> I'm in front of a unresolvable pb (for the moment !) : compilation aborts
> with following file, apparently for a color problem.
Luckily, this is easy to fix.
> \setupTABLE[c][1][style=\bfb,color=\SubTitleColor]
> \setupTABLE[c][2][style=\bfa,color=\TextColor]
Just delete the backslashes in front of the color names.
The second column of the table is off the page on the right,
because the table is too large, but I assume you knew that.
Cheers, taco
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: mixed colors in TABLE
2006-03-14 9:14 ` Taco Hoekwater
@ 2006-03-15 22:51 ` olivier Turlier
0 siblings, 0 replies; 3+ messages in thread
From: olivier Turlier @ 2006-03-15 22:51 UTC (permalink / raw)
On Tue, 14 Mar 2006 10:14:50 +0100, Taco Hoekwater wrote:
>
> Hi,
>
> olivier wrote:
>> Hi Everybody,
>>
>> I'm in front of a unresolvable pb (for the moment !) : compilation aborts
>> with following file, apparently for a color problem.
>
> Luckily, this is easy to fix.
>
>> \setupTABLE[c][1][style=\bfb,color=\SubTitleColor]
>> \setupTABLE[c][2][style=\bfa,color=\TextColor]
>
> Just delete the backslashes in front of the color names.
>
> The second column of the table is off the page on the right,
> because the table is too large, but I assume you knew that.
>
> Cheers, taco
Thanks a lot Taco, it's working allright now.
For placing image \& text, i've switched to layer placement, because of my
ignoreance of Tex commands (placing boxes hori \& verticaly).
In the way of finding correct width for columns, i've noticed that i was
obliged to clean aux. files for seeing a graphical change.
--
Olivier Turlier
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-03-15 22:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-13 22:02 mixed colors in TABLE olivier
2006-03-14 9:14 ` Taco Hoekwater
2006-03-15 22:51 ` olivier Turlier
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).