From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86210 Path: news.gmane.org!not-for-mail From: Pablo Rodriguez Newsgroups: gmane.comp.tex.context Subject: Re: suggestion on [option=TEX] Date: Thu, 06 Feb 2014 19:29:11 +0100 Message-ID: <52F3D477.90507@gmx.es> References: <52F287F0.9060902@gmx.es> <3F1F8792-209A-4030-8D2D-509587A615B3@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1391711368 19866 80.91.229.3 (6 Feb 2014 18:29:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Feb 2014 18:29:28 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Feb 06 19:29:37 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WBThg-00070r-CC for gctc-ntg-context-518@m.gmane.org; Thu, 06 Feb 2014 19:29:36 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 82F44101EE; Thu, 6 Feb 2014 19:29:35 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id tKw4tr4jhQoM; Thu, 6 Feb 2014 19:29:32 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 36D43101E2; Thu, 6 Feb 2014 19:29:32 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 990E9101E2 for ; Thu, 6 Feb 2014 19:29:30 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id AJO9bzkWEorM for ; Thu, 6 Feb 2014 19:29:29 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 44979101E1 for ; Thu, 6 Feb 2014 19:29:19 +0100 (CET) Original-Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s16ITIrx003807 for ; Thu, 6 Feb 2014 19:29:18 +0100 Original-Received: from [192.168.1.33] ([88.13.157.34]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0LqF9o-1VXj5x1w6y-00dlUL for ; Thu, 06 Feb 2014 19:29:18 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: <3F1F8792-209A-4030-8D2D-509587A615B3@gmail.com> X-Provags-ID: V03:K0:qVPMJljdrzPYK9QdPd7TAEUref2tatiBXn4H3jki+vpeIjuLszp rh+MYF6hcqXinn3k4MkwpgW8E/JofxJb3o+8lkNQYkyU7o1oWvNmfEhblNSO9iyf4NTXAsZ w8LziOsHpzJa95/D2GPs8dKPmW99QATg3yqN+kIHor3gUvXAElaeKdAMBrtc9blY6Mp8JpU JoEZUWtYFqICvpvkXjuXw== X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=212.227.17.22; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QLn6tipv - 31de421a667d - 20140206 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:86210 Archived-At: On 02/06/2014 12:57 AM, Wolfgang Schuster wrote: > Am 05.02.2014 um 19:50 schrieb Pablo Rodriguez : > = >> Hi Hans, >> >> I have the following sample: >> >> \setuptyping[option=3DTEX] >> \starttext >> \starttyping >> \input zapf % knuth >> \stoptyping >> \stoptext >> >> The percent character is in bold font and gray color, but the rest of >> the commented text isn=92t. >> [...] > = > http://pragma-ade.com/general/magazines/mag-1102.pdf Many thanks for your reply, Wolfgang. After reading the document, I think it could be achieved with: \definefontfamily[mainface][mono][DejaVu Sans Mono] \setupbodyfont[mainface] \defineprocessor[myescape][style=3Dbold,color=3Dgray, left=3D\%] \setuptyping[TEX][escape=3Dmyescape->{\%}] \starttext \startTEX This is a c%omment. % And this is another one. \command [with colored] {brackets} \stopTEX \stoptext But this doesn=92t work. I must be missing something obvious. What am I doing wrong here? Many thanks for your help, Pablo -- = http://www.ousia.tk ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________