From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/22321 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: Re: some highlighted \type-ing Date: Tue, 6 Sep 2005 18:01:32 +0200 Message-ID: <6faad9f00509060901d97f6d2@mail.gmail.com> References: <6faad9f005090608265d273dda@mail.gmail.com> <431DB87E.5020001@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1126022635 6055 80.91.229.2 (6 Sep 2005 16:03:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Sep 2005 16:03:55 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 06 18:03: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 1ECftF-0005fv-Bz for gctc-ntg-context-518@m.gmane.org; Tue, 06 Sep 2005 18:01:41 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 48C95127F9; Tue, 6 Sep 2005 18:01:40 +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 20954-07; Tue, 6 Sep 2005 18:01:35 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4CFE6127DE; Tue, 6 Sep 2005 18:01:35 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 688F0127DE for ; Tue, 6 Sep 2005 18:01:34 +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 21147-02-6 for ; Tue, 6 Sep 2005 18:01:33 +0200 (CEST) Original-Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.202]) by ronja.ntg.nl (Postfix) with ESMTP id 06921127C3 for ; Tue, 6 Sep 2005 18:01:32 +0200 (CEST) Original-Received: by nproxy.gmail.com with SMTP id n15so438137nfc for ; Tue, 06 Sep 2005 09:01:32 -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:content-transfer-encoding:content-disposition:references; b=ToCXS0pEI82+gcZfhH+AiaNqx4MhyZicD8FuNST9Xy56cNE76ZGbsWi2fXb3D7Ut7jTBlAAEGCt7OBypCMD3k49oCq3kWq8cR5A9gHCU9vzvQrfA+mSyFBmDh0YCIgHdELzq6AMs0vv6PptiPw3nV2mkz8T9SgRCAsxv+DciuNU= Original-Received: by 10.48.108.4 with SMTP id g4mr323365nfc; Tue, 06 Sep 2005 09:01:32 -0700 (PDT) Original-Received: by 10.48.247.14 with HTTP; Tue, 6 Sep 2005 09:01:32 -0700 (PDT) Original-To: mailing list for ConTeXt users In-Reply-To: <431DB87E.5020001@elvenkind.com> Content-Disposition: inline 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:22321 Archived-At: Taco Hoekwater wrote: > Mojca Miklavec wrote: > > Hello, > > > > How can I make highlighted \type-d text? > > I would like \type{\thisTeXcommand[option=3Dsomething]} to be > > highlighted in TEX style. >=20 >=20 > \def\typeTEX > {\bgroup > \initializetyping{TEX}% > \startverbatimcolor > \processinlineverbatim\egroup } >=20 > \starttext > \typeTEX{\color[red]} > \stoptext Than you very much!. An interesting side-effect though. The text that follows remains green, at least untill the end of the page ;) (A workaround is an additional space after the command.) Thanks, Mojca