From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/108882 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Susanne G. Loeber" Newsgroups: gmane.comp.tex.context Subject: color problem Date: Thu, 1 Oct 2020 20:55:10 +0200 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6729187890427370407==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20447"; mail-complaints-to="usenet@ciao.gmane.io" To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Oct 01 20:55:57 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kO3kD-0005Cn-L8 for gctc-ntg-context-518@m.gmane-mx.org; Thu, 01 Oct 2020 20:55:57 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id BF5E71A92FB; Thu, 1 Oct 2020 20:55:30 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Hb8D_srcflkV; Thu, 1 Oct 2020 20:55:27 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id EFCA61A92D7; Thu, 1 Oct 2020 20:55:26 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 9BA701A920B for ; Thu, 1 Oct 2020 20:55:25 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EJJbxnS7k17s for ; Thu, 1 Oct 2020 20:55:24 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.167.174; helo=mail-oi1-f174.google.com; envelope-from=dekleurenfamilie@gmail.com; receiver= Original-Received: from mail-oi1-f174.google.com (mail-oi1-f174.google.com [209.85.167.174]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 1D69C1A9194 for ; Thu, 1 Oct 2020 20:55:23 +0200 (CEST) Original-Received: by mail-oi1-f174.google.com with SMTP id v20so6755719oiv.3 for ; Thu, 01 Oct 2020 11:55:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=pmJJpMJjYhsiDnYo/a1qhw+T0Yo2vEATO8G0haGExvE=; b=QViQqaXyragmUL6KPUTSY334OBDap+l0z5zsM4ZsHZLPGg9RxUMbWIMxqgTUX2iWIT ZrMEyds8YjAG2pJD5lJm+GrvMA+5vnBWXPxpGQF5QWjxvpnErRwERUGeXQss2SEBRctI 40bf1mhdbkeuVcEq4pTkL2SORDfUrch1k3I5ajEEOiuwSRmttp3Sirry0c13pbsEYIRb V88wo/TEyuNbEtcGOUTWxdtsOt6hGLuvgbuuy7hiP+Hnqi7Ts+Cz1lhbe+zwVCuBClo3 lWeH4pi1Av8RYrrZXhBYE10MRjNdpPCPUtTI3hiESAormzwWIJhsMnhHyh6cggjZ9Npn h+Gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=pmJJpMJjYhsiDnYo/a1qhw+T0Yo2vEATO8G0haGExvE=; b=gdKNN5mjeWuMMC9GTVN9V6ps1aZPZh/EVpCia0s5rGktXXLcB1ktWJSk1ZHopie8n5 iaoyVtYBvRIu1uKsN9JlsldAQXc2sVhFYfciVIiQcXNCsH6FLP3P4hGW5H5OmcwSicR9 0oyWlwvgH0Bt95ZslQgFoMoGWuFD+4XVAEm2PTfmGqpvIUyN0byL/WElEvqzl8lXfiuk X+dwevS5Wm5qtdXn0CcDtvCl9/LIPh4Rghv2A268qmoxaEuMyITxmZTWNcv1WNQQtcI2 O2O7KCHljcmKCEOK2RWQ3JCHHijMCdxQ+efUvFGCbL5X6VPUdD4aentATK+yI2CZx80N fUcQ== X-Gm-Message-State: AOAM532PD32fXqYKGMH0jNOkG2wXPmUS51V1ys4X2+6CZc7XIh4ZnqYN z4WLKiCjBjHNSKVsICoWlcoX18yIB79yucPMDr+a8hVm7GXkVg== X-Google-Smtp-Source: ABdhPJwAASO6drYYUkVe+Poe+wYo40lBHYcHHsiYHaqBbKRh49X7r/ZppcOYTelAwWY+D0gYEsNuoGZsohHqaS4FRNk= X-Received: by 2002:a54:4f9e:: with SMTP id g30mr889743oiy.81.1601578522061; Thu, 01 Oct 2020 11:55:22 -0700 (PDT) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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.io gmane.comp.tex.context:108882 Archived-At: --===============6729187890427370407== Content-Type: multipart/alternative; boundary="000000000000e32efc05b0a08ea7" --000000000000e32efc05b0a08ea7 Content-Type: text/plain; charset="UTF-8" Dear Reader, I have a colored section, text in another color and a TikZ picture with a differently colored node, following each other. However, either the node gets the wrong color or the following paragraph, see example below. Is there something wrong with the section settings? How do I get all the colors right without using a paragraph in between? \setuphead[chapter] [ style={\tfd}, color={A2plus}, ] \setuphead[section] [ style={\tfc}, color={A3plus}, ] \definecolor[A1plus][h=5CAF00] \definecolor[A2plus][h=B6437E] \definecolor[A3plus][h=606ABD] \definecolor[A4plus][h=FFC700] \definecolor[A5plus][h=D0202B] \definecolor[A6plus][h=EF8600] \definecolor[A7plus][h=0082AA] \setupcolors[textcolor=A1plus] \usemodule[tikz] \starttext \startchapter[title={Colour test}, ref=colourtest] \startsection[title={Section}] \starttikzpicture \draw[text=A6plus] (0,0) rectangle (2,1) node[right] {node text should be orange}; \stoptikzpicture \par This a paragraph which gets the colour of the section for no reason. \stopsection \stopchapter \startchapter[title={Colour test 2}, ref=colourtest] \startsection[title={Another section }] \par This a paragraph in the appropriate text color (green). \starttikzpicture \draw[text=A6plus] (0,0) rectangle (2,1) node[right] {node text is orange}; \stoptikzpicture \stopsection \stopchapter \stoptext --000000000000e32efc05b0a08ea7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dear Reader,=C2=A0

I have a colored sec= tion, text in another color and a TikZ picture with a differently colored n= ode,=C2=A0following each other. However, either the node gets the wrong col= or or the following paragraph, see example below.=C2=A0

Is there something wrong with the section settings? How do I get all = the colors right without using=C2=A0a paragraph in between?=C2=A0

\setuphead[chapter]

[

style=3D{\tf= d},

color=3D{A2p= lus},

]

\setuphead[se= ction]

[

style=3D{\tf= c},

color=3D{A3p= lus},

]


\definecolor[= A1plus][h=3D5CAF00]

\definecolor[= A2plus][h=3DB6437E]

\definecolor[= A3plus][h=3D606ABD]

\definecolor[= A4plus][h=3DFFC700]

\definecolor[= A5plus][h=3DD0202B]

\definecolor[= A6plus][h=3DEF8600]

\definecolor[= A7plus][h=3D0082AA]


\setupcolors[= textcolor=3DA1plus]


\usemodule[ti= kz]



\starttext


\startchapter= [title=3D{Colour test}, ref=3Dcolourtest]


\startsection= [title=3D{Section}]

\starttikzpic= ture

\draw[text=3D= A6plus] (0,0) rectangle (2,1) node[right] {node text should be orange};

\stoptikzpict= ure


\par This a p= aragraph which gets the colour of the section for no reason.


\stopsection<= /p>


\stopchapter<= /p>


\startchapter= [title=3D{Colour test 2}, ref=3Dcolourtest]


\startsection= [title=3D{Another section }]


\par This a p= aragraph in the appropriate text color (green).



\starttikzpic= ture

\draw[text=3D= A6plus] (0,0) rectangle (2,1) node[right] {node text is orange};

\stoptikzpict= ure


\stopsection<= /p>


\stopchapter<= /p>

\stoptext<= /p>

--000000000000e32efc05b0a08ea7-- --===============6729187890427370407== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============6729187890427370407==--