From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/22145 Path: news.gmane.org!not-for-mail From: Eugene Toporov Newsgroups: gmane.comp.tex.context Subject: Re: How to customize the default verbatim colors Date: Fri, 26 Aug 2005 20:17:40 +0300 Message-ID: References: <430DAA1C.9050809@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0510914694==" X-Trace: sea.gmane.org 1125076730 10548 80.91.229.2 (26 Aug 2005 17:18:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 26 Aug 2005 17:18:50 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 26 19:18:46 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 1E8hps-0003GI-PJ for gctc-ntg-context-518@m.gmane.org; Fri, 26 Aug 2005 19:17:48 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A3DA1127E4; Fri, 26 Aug 2005 19:17:47 +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 31771-06; Fri, 26 Aug 2005 19:17:44 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 08C35127CA; Fri, 26 Aug 2005 19:17:44 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3932A127CA for ; Fri, 26 Aug 2005 19:17:42 +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 32051-01 for ; Fri, 26 Aug 2005 19:17:41 +0200 (CEST) Original-Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.207]) by ronja.ntg.nl (Postfix) with ESMTP id 5E974127C6 for ; Fri, 26 Aug 2005 19:17:41 +0200 (CEST) Original-Received: by rproxy.gmail.com with SMTP id 34so129574rns for ; Fri, 26 Aug 2005 10:17:40 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=DmkKoZDobbbaFYVMvdmcWeMkJnuSjN6U0uhVEsf2Ewpp/5m1xEySywbSdDWUq/WnSae6YmgJKu+l/GNus3pR0BHBc3q8UDLYX2DhpxvXvN9omffbtECewPPQsuntCw9ZxppKMoOOZPtrLnE5QHSyYSHVQsbIloLqmlnAiZqcbDg= Original-Received: by 10.11.119.8 with SMTP id r8mr10194cwc; Fri, 26 Aug 2005 10:17:40 -0700 (PDT) Original-Received: by 10.11.117.74 with HTTP; Fri, 26 Aug 2005 10:17:40 -0700 (PDT) Original-To: mailing list for ConTeXt users In-Reply-To: <430DAA1C.9050809@elvenkind.com> 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:22145 Archived-At: --===============0510914694== Content-Type: multipart/alternative; boundary="----=_Part_1115_28439177.1125076660173" ------=_Part_1115_28439177.1125076660173 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Thanks a lot, Taco! I knew there should be a good way! Maybe it would be useful to add it to http://contextgarden.net/Verbatim_tex= t? I also noticed that XML verbatim does not correctly handle tags with=20 namespace. In the xml like the "ns" gets colored with= =20 tag-color, the "tag" with attr-color. I think the whole "ns:tag" should be= =20 of tag-color. Best wishes, Eugene On 8/25/05, Taco Hoekwater wrote: >=20 >=20 > Hi! >=20 >=20 > Eugene Toporov wrote: >=20 > > I expect there is a way to redefine whole palette or something. >=20 > Yes, sure (you need to define an XXXcolorpretty palet for each type > you want to change): > ------=_Part_1115_28439177.1125076660173 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Thanks a lot, Taco!

I knew there should be a good way!
Maybe it would be useful to add it to http://contextgarden.net/Verbatim_text ?

I also noticed that XML verbatim does not correctly handle tags with namesp= ace.
In the xml like <ns:tag attribute=3D"somevalue"> the "= ns" gets colored with tag-color, the "tag" with attr-color. I think the wh= ole "ns:tag" should be of tag-color.

Best wishes,
Eugene

On 8/25/05, Taco Hoekwater <= taco@elvenkind.com> wrote:

Hi!


Eugene Toporov wrote:

> I expect there is a wa= y to redefine whole palette or something.

Yes, sure (you need to def= ine an XXXcolorpretty palet for each type
you want to change):

------=_Part_1115_28439177.1125076660173-- --===============0510914694== 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 --===============0510914694==--