From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/103494 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Jeong Dal Newsgroups: gmane.comp.tex.context Subject: Re: about the color of sidebar Date: Mon, 25 Feb 2019 23:14:44 +0900 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Content-Type: multipart/mixed; boundary="===============4970268016956486330==" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="33778"; mail-complaints-to="usenet@blaine.gmane.org" To: "list ntg-context@ntg.nl ntg-context@ntg.nl ntg-context@ntg.nl ntg-context@ntg.nl" Original-X-From: ntg-context-bounces@ntg.nl Mon Feb 25 15:15:51 2019 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gyH2s-0008e5-Cj for gctc-ntg-context-518@m.gmane.org; Mon, 25 Feb 2019 15:15:50 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 915E1F4A72; Mon, 25 Feb 2019 15:14:53 +0100 (CET) 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 1rop4W4q_NNz; Mon, 25 Feb 2019 15:14:51 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 59129F4A7C; Mon, 25 Feb 2019 15:14:51 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 63244F4A7C for ; Mon, 25 Feb 2019 15:14:50 +0100 (CET) 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 m7EPzlcYAD07 for ; Mon, 25 Feb 2019 15:14:49 +0100 (CET) Original-Received: from pv50p00im-tydg10021701.me.com (pv50p00im-tydg10021701.me.com [17.58.6.54]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 898E2F4A72 for ; Mon, 25 Feb 2019 15:14:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=04042017; t=1551104087; bh=JLLR6jH2sTSjrPEP/vrROsbsuNlmQ9G2meLb9aQ0LoI=; h=From:Content-Type:Mime-Version:Subject:Date:To:Message-Id; b=cGhMz0xk/MrVRJosbJKapGOBA62KPoEtzjK/0jr5qrqFcY4GNAo0gFV659eNxORVU kZ3yKiEUO5N9yhJt+TmJ7aeDrb6Se+4v5zqEcgCsjBy5/LbVxHh8zsHyrLD3Cl96Tt TXhgDHYchNeBjSPAaSXazCR+yF0MWgvRNAFj3TNoIpCrAU4vYakTO54hXq7bU0LfXf NOUPLuG0L0l5rptkuxorwAKjAjMzgxexTn3LgvGT8cjoWJfoZJ4LjVg+RWHxDU3dvA Cz5Kj8wvoMS/YMtMhahSNGzihOxp2ujIsT1VcHIc++7GJzueLiG/+L7nm+pm+LHzT8 38AfldUm4QFCA== Original-Received: from [10.0.1.6] (unknown [222.232.154.22]) by pv50p00im-tydg10021701.me.com (Postfix) with ESMTPSA id E45BA9002D1 for ; Mon, 25 Feb 2019 14:14:46 +0000 (UTC) In-Reply-To: X-Mailer: Apple Mail (2.3445.102.3) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-02-25_08:, , signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1031 mlxscore=0 mlxlogscore=860 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1812120000 definitions=main-1902250106 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.org gmane.comp.tex.context:103494 Archived-At: --===============4970268016956486330== Content-Type: multipart/alternative; boundary="Apple-Mail=_80C8D987-0F61-4C6D-96E0-7927D2B11080" --Apple-Mail=_80C8D987-0F61-4C6D-96E0-7927D2B11080 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Dear Mohammad Hossein Bateni, > 2019. 2. 25. =EC=98=A4=ED=9B=84 1:27, ntg-context-request@ntg.nl = =EC=9E=91=EC=84=B1: >=20 > I have never used the sidebar mechanism, but there is a "rulecolor" = option > in setupsidebar. Maybe that's what you're looking for. >=20 > You can look up the commands and their options in "i-context.pdf" = file. Thank you for the reply. I found the command =E2=80=9C\setupsidebar=E2=80=9D. The following example is working well. %%%%%%% \definecolor[dGreen][r=3D0,g=3D.4,b=3D0] %\setupsidebar[rulecolor=3D(.4green)] \setupsidebar[rulecolor=3DdGreen] \starttext \startsidebar \samplefile{knuth} \stopsidebar \stoptext %%%%%%%%% The reason of putting =E2=80=9C\definecolor=E2=80=A6=E2=80=9D is that = =E2=80=9C[rulecolor=3D(.4green)]=E2=80=9D is not working as in MetaFun, = while [rulecolor=3Dgreen] is working well. Because of this, I can remove my definition of sidebar from my = environment. Thank you again. Best regards, Dalyoung --Apple-Mail=_80C8D987-0F61-4C6D-96E0-7927D2B11080 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Dear Mohammad = Hossein Bateni,

2019. 2. 25. =EC=98=A4=ED=9B=84 = 1:27, ntg-context-request@ntg.nl =EC=9E=91=EC=84=B1:

I have never = used the sidebar mechanism, but there is a "rulecolor" option
in setupsidebar.  Maybe that's what you're looking = for.

You can look up the commands and their options in = "i-context.pdf" file.

Thank you for the reply.
I= found the command =E2=80=9C\setupsidebar=E2=80=9D.

The following example is = working well.
%%%%%%%
\definecolor[dGreen][r=3D0,g=3D.4,b=3D0]
%\setupsidebar[rulecolor=3D(.4green)]
\setupsidebar[rulecolor=3DdGreen]

\starttext

\startsidebar
\samplefile{knuth}
\stopsidebar

\stoptext
%%%%%%%%%

The reason of putting =E2=80=9C\definecolor=E2=80=A6=E2=80=9D = is that =E2=80=9C[rulecolor=3D(.4green)]=E2=80=9D is not working as in = MetaFun, while [rulecolor=3Dgreen] is working well.

Because of this, I can = remove my definition of sidebar from my environment.

Thank you = again.

Best = regards,

Dalyoung


= --Apple-Mail=_80C8D987-0F61-4C6D-96E0-7927D2B11080-- --===============4970268016956486330== 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== --===============4970268016956486330==--