ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jeong Dal <haksan@me.com>
To: "list ntg-context@ntg.nl ntg-context@ntg.nl ntg-context@ntg.nl
	ntg-context@ntg.nl" <ntg-context@ntg.nl>
Subject: Re: about the color of sidebar
Date: Mon, 25 Feb 2019 23:14:44 +0900	[thread overview]
Message-ID: <FB3F35F0-E08F-4958-B373-0103F16CDF32@me.com> (raw)
In-Reply-To: <mailman.771.1551068825.1205.ntg-context@ntg.nl>


[-- Attachment #1.1: Type: text/plain, Size: 919 bytes --]

Dear Mohammad Hossein Bateni,

> 2019. 2. 25. 오후 1:27, ntg-context-request@ntg.nl 작성:
> 
> 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 “\setupsidebar”.

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

\starttext

\startsidebar
\samplefile{knuth}
\stopsidebar

\stoptext
%%%%%%%%%

The reason of putting “\definecolor…” is that “[rulecolor=(.4green)]” is not working as in MetaFun, while [rulecolor=green] is working well.

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

Thank you again.

Best regards,

Dalyoung



[-- Attachment #1.2: Type: text/html, Size: 4658 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

       reply	other threads:[~2019-02-25 14:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.771.1551068825.1205.ntg-context@ntg.nl>
2019-02-25 14:14 ` Jeong Dal [this message]
     [not found] <mailman.747.1551003421.1205.ntg-context@ntg.nl>
2019-02-24 23:34 ` Jeong Dal
2019-02-25  4:26   ` Mohammad Hossein Bateni

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=FB3F35F0-E08F-4958-B373-0103F16CDF32@me.com \
    --to=haksan@me.com \
    --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).