From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/22125 Path: news.gmane.org!not-for-mail From: Eugene Toporov Newsgroups: gmane.comp.tex.context Subject: How to customize the default verbatim colors Date: Thu, 25 Aug 2005 02:55:01 +0300 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0739243344==" X-Trace: sea.gmane.org 1124927897 10154 80.91.229.2 (24 Aug 2005 23:58:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 24 Aug 2005 23:58:17 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Aug 25 01:58:08 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1E856w-0006Hy-K1 for gctc-ntg-context-518@m.gmane.org; Thu, 25 Aug 2005 01:56:50 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5BF2B127E8; Thu, 25 Aug 2005 01:56:50 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 26637-07; Thu, 25 Aug 2005 01:56:50 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9C88D127DF; Thu, 25 Aug 2005 01:55:05 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A23E3127DF for ; Thu, 25 Aug 2005 01:55:03 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 26680-05 for ; Thu, 25 Aug 2005 01:55:03 +0200 (CEST) Original-Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.199]) by ronja.ntg.nl (Postfix) with ESMTP id CAA60127C4 for ; Thu, 25 Aug 2005 01:55:02 +0200 (CEST) Original-Received: by rproxy.gmail.com with SMTP id 34so70999rns for ; Wed, 24 Aug 2005 16:55:01 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=jX3bRp+YSrekMwuJu6AUND/64VVWQ+2OzNwyqLuRaR4vtHeHRH62BcDJYHywRSnkweUbvmTybpq57nP98KTJZtszezgECLoqvCU5QBAWuXssFrOii8HEfdLWH7Wk/ZurNDAeRzujhgS0YAXUbALpKMJbEvUY2SuHFAz9sOWYEW0= Original-Received: by 10.11.117.14 with SMTP id p14mr31413cwc; Wed, 24 Aug 2005 16:55:01 -0700 (PDT) Original-Received: by 10.11.117.74 with HTTP; Wed, 24 Aug 2005 16:55:01 -0700 (PDT) Original-To: mailing list for ConTeXt users X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:22125 Archived-At: --===============0739243344== Content-Type: multipart/alternative; boundary="----=_Part_397_24839065.1124927701538" ------=_Part_397_24839065.1124927701538 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi all! I recently started using Verbatim Macroses to make source code pieces look= =20 prettier in my docs. I use things like \setuptyping[JV] and then \startJV - \stopJV But I'd like to change the default colors in the macroses to my own. I only found that redefining some colors like this=20 \definecolor [colorprettyone] [green] \definecolor [colorprettytwo] [navy]=20 \definecolor [colorprettythree] [r=3D0,g=3D0,b=3D.9] makes effect, but that seems not very effective and affects all verbatims.= =20 1) I could not find all colors. 2) I need several different schemes (palettes) for different verbatims (XML= ,=20 Java, SQL).=20 I expect there is a way to redefine whole palette or something. What's the easiest and the right way to do it? Thanks in advance! --=20 Eugene ------=_Part_397_24839065.1124927701538 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi all!

I recently started using Verbatim Macroses to make source code pieces look = prettier in my docs.
I use things like \setuptyping[JV] and then \startJV - \stopJV

But I'd like to change the default colors in the macroses to my own.

I only found that redefining some colors like this
\definecolor [colorprettyone]       [green] \definecolor [colorprettytwo]       [navy] \definecolor [colorprettythree]     [r=3D0,g=3D0,b=3D.9= ]

makes effect, but that seems not very effective and affects all verbatims. =
1) I could not find all colors.
2) I need several different schemes (palettes) for different verbatims (XML= , Java, SQL).

I expect there is a way to redefine whole palette or something.

What's the easiest and the right way to do it?

Thanks in advance!

--
Eugene ------=_Part_397_24839065.1124927701538-- --===============0739243344== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --===============0739243344==--