From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/89155 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: Strange behavior with the command \color[]{} Date: Thu, 6 Nov 2014 21:16:48 +0100 Message-ID: References: <545B3996.7070908@wxs.nl> <545BC2E0.8000100@wanadoo.fr> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1957739367==" X-Trace: ger.gmane.org 1415305047 6153 80.91.229.3 (6 Nov 2014 20:17:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Nov 2014 20:17:27 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Nov 06 21:17:23 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XmTUh-0005qc-4r for gctc-ntg-context-518@m.gmane.org; Thu, 06 Nov 2014 21:17:23 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BD9861022A for ; Thu, 6 Nov 2014 21:17:22 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id UuhdTCzIB8ji for ; Thu, 6 Nov 2014 21:17:21 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 8B29410238 for ; Thu, 6 Nov 2014 21:16:53 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D7C11101E7 for ; Thu, 6 Nov 2014 21:16:50 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id sNvhDHwIwtbf for ; Thu, 6 Nov 2014 21:16:50 +0100 (CET) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 28A0D101E3 for ; Thu, 6 Nov 2014 21:16:49 +0100 (CET) Original-Received: from mail-qa0-x231.google.com (mail-qa0-x231.google.com [IPv6:2607:f8b0:400d:c00::231]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id sA6KGZqn024587 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Thu, 6 Nov 2014 21:16:36 +0100 Original-Received: by mail-qa0-f49.google.com with SMTP id i13so1308344qae.22 for ; Thu, 06 Nov 2014 12:16:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=P4auuJD+bh8svlk6lS/kEXUDhrxnTreiSz1cSgTslcQ=; b=oGdpTb3hl5uq3so2XdHZMT248NwNer++urHS8AfAIEhIH105iwwf89Ax/nrqPXnHNP BXoEvR8vvtDgDe569spptCvDCBv1kBmF4nhZFSzhqqnqlqjDTY6qPQegcD3jN5LJu13n 79/Ln/DGmokFe1xgGS96FVyN5ZnbuAAST9u0w0zsvDPulqzOPdZNoEim5vxkSf+MAOzz OJRy5lPScjzeehWeJIqv1+O3kv8eQV5L5TXeVKquNLFv+ONcHTduCQnrxgTpLD0ox8x4 kvz5ZFQETDifx2DqQh41G0I623wLYwK8gETOe4L21HavRd3wr11uOKtYhSsWYNbC8mgd mpwg== X-Received: by 10.140.106.34 with SMTP id d31mr460392qgf.39.1415305008081; Thu, 06 Nov 2014 12:16:48 -0800 (PST) Original-Received: by 10.140.37.99 with HTTP; Thu, 6 Nov 2014 12:16:48 -0800 (PST) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2607:f8b0:400d:c00::231; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07Nckgzzh - 7858ca72582a - 20141106 X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:89155 Archived-At: --===============1957739367== Content-Type: multipart/alternative; boundary=001a113a8a0c41744205073660c6 --001a113a8a0c41744205073660c6 Content-Type: text/plain; charset=UTF-8 On Thu, Nov 6, 2014 at 8:57 PM, luigi scarso wrote: > > > \usemodule[tikz] \usetikzlibrary[calc] \usetikzlibrary[3d] \usetikzlibrary[arrows.meta] \usetikzlibrary[positioning] \definecolor[H1prime][c=0.50, m=0.00, y=1.00, k=0.00] \definecolor[H4][c=0.07, m=0.00, y=0.15, k=0.00] \tikzset{% cube join/.style={ thick, -{Stealth}, }, cube face/.style={ minimum size=1cm, outer sep=0pt, draw=white, thick, line join=round, shading=ball, text=white, }, face color/.style={cube face/.append style={ball color=#1}}, pics/cube/.style args={#1 with #2}{ code={ \node [cube face, label={[name=-label]below:#2}] (-front) {#1}; \node [cube face] (-top) at (-front.north west) [anchor=south west, xslant=1, yscale=1/3] {}; \node [cube face] (-side) at (-front.south east) [anchor=south west, yslant=1, xscale=1/3] {}; }} } \starttext \startsetups[table:initialize] \setupTABLE[height=2cm,align={middle,lohi}] \setupTABLE[column][1][width=4cm,align={right,lohi},frame=on]%,framecolor=H1prime] \setupTABLE[column][2][width=5cm,align={middle,lohi},frame=off] \setupTABLE[column][3][width=9cm,align={right,lohi},frame=off] \setupTABLE[1][1][frame=off] \stopsetups \bTABLE[setups=table:initialize] \switchtobodyfont[10pt] \bTR \bTD[n=3] \eTD \eTR \bTR \bTD $A$ prend la valeur $3$ \eTD \bTD \starttikzpicture \pic [cube face/.append style={ball color=green}] at (-1, 1) {cube=3 with $A$};\pic [cube face/.append style={ball color=red}] at ( 1, 1) {cube={} with $B$}; \stoptikzpicture \eTD \bTD \tracingall La valeur de $A$ est\color[green]{3} et $B$ n'a pas encore de valeur \tracingnone \eTD \eTR \eTABLE{} \stoptext The problem seems to be %,framecolor=H1prime] -- luigi --001a113a8a0c41744205073660c6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Thu, Nov 6, 2014 at 8:57 PM, luigi scarso <luigi.scarso@gmail.= com> wrote:


\usemodule[tikz]
\usetikzlibrary[calc]
\use= tikzlibrary[3d]
\usetikzlibrary[arrows.meta= ]
\usetikzlibrary[positioning]
\definecolor[H1prime][c=3D0.50, m=3D0.00, y=3D1.00, k= =3D0.00]
\definecolor[H4][c=3D0.07, m=3D0.0= 0, y=3D0.15, k=3D0.00]

\tikzset{%
=C2=A0 cube joi= n/.style=3D{
=C2=A0 =C2=A0 thick, -{Stealth= },
=C2=A0 },
=C2=A0 cube face/.style=3D{
=C2=A0 =C2=A0= minimum size=3D1cm, outer sep=3D0pt,
=C2= =A0 =C2=A0 draw=3Dwhite, thick, line join=3Dround,
=C2=A0 =C2=A0 shading=3Dball,
=C2= =A0 =C2=A0 text=3Dwhite,
=C2=A0 },
=C2=A0 face color/.style=3D{cube face/.append style= =3D{ball color=3D#1}},
=C2=A0 pics/cube/.st= yle args=3D{#1 with #2}{
=C2=A0 code=3D{
=C2=A0 =C2=A0 \node [cube face, label=3D{[nam= e=3D-label]below:#2}] (-front) {#1};
=C2=A0= =C2=A0 \node [cube face] (-top) =C2=A0at (-front.north west) [anchor=3Dsou= th west,
xslant=3D1, yscale=3D1/3] {};
=C2=A0 =C2=A0 \node [cube face] (-side) at (-fr= ont.south east) [anchor=3Dsouth west,
yslan= t=3D1, xscale=3D1/3] {};
=C2=A0 =C2=A0}}
}
\starttext<= /div>

\start= setups[table:initialize]
\setupTABLE[he= ight=3D2cm,align=3D{middle,lohi}]
\setupTAB= LE[column][1][width=3D4cm,align=3D{right,lohi},frame=3Don]%,framecolor=3DH1= prime]
\setupTABLE[column][2][width=3D5cm,a= lign=3D{middle,lohi},frame=3Doff]
\setupTAB= LE[column][3][width=3D9cm,align=3D{right,lohi},frame=3Doff]
\setupTABLE[1][1][frame=3Doff]
\stopsetups


\bTABLE[setups=3Dtable:init= ialize]
\switchtobodyfont[10pt]
\bTR \bTD[n=3D3] \eTD \eTR
\bTR \bTD $A$ prend la valeur $3$ \eTD =C2=A0
=C2=A0 =C2=A0 =C2=A0\bTD=C2=A0
\sta= rttikzpicture
\pic [cube face/.append style= =3D{ball color=3Dgreen}] at (-1, 1) {cube=3D3 =C2=A0with
$A$};\pic [cube face/.append style=3D{ball color=3Dred}] at (= 1, 1) {cube=3D{}
with $B$};
\stoptikzpicture
=C2=A0 = =C2=A0 \eTD
=C2=A0 =C2=A0 \bTD \tracingall = La valeur de $A$ est\color[green]{3} et $B$ =C2=A0n'a pas encore de val= eur \tracingnone
=C2=A0 =C2=A0 \eTD
\eTR
\eTABLE{}



\stoptext<= /div>

The problem seems to be=C2=A0
%,framecol= or=3DH1prime]


--
luigi
--001a113a8a0c41744205073660c6-- --===============1957739367== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============1957739367==--