From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/32315 Path: news.gmane.org!not-for-mail From: cormullion@mac.com Newsgroups: gmane.comp.tex.context Subject: Re: List of special characters? Date: Thu, 28 Dec 2006 09:33:47 +0000 Message-ID: References: <3746CF82-FE31-4BAD-99D1-CA1C5958E49F@mac.com> <458FABF3.10909@elvenkind.com> <6faad9f00612251019n1494518ep5c32b51901a48558@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1167298457 24712 80.91.229.10 (28 Dec 2006 09:34:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 28 Dec 2006 09:34:17 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 28 10:34:16 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by dough.gmane.org with esmtp (Exim 4.50) id 1GzreR-0004f6-TI for gctc-ntg-context-518@m.gmane.org; Thu, 28 Dec 2006 10:34:15 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2EC781FFC6; Thu, 28 Dec 2006 10:32:15 +0100 (CET) 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 28899-02; Thu, 28 Dec 2006 10:32:06 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DE9311FF1F; Thu, 28 Dec 2006 10:32:05 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 99EC41FF7D for ; Thu, 28 Dec 2006 10:32:01 +0100 (CET) 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 28422-03-3 for ; Thu, 28 Dec 2006 10:31:55 +0100 (CET) Original-Received: from proof.pobox.com (proof.pobox.com [207.106.133.28]) by ronja.ntg.nl (Postfix) with SMTP id C8D3D1FF08 for ; Thu, 28 Dec 2006 10:31:54 +0100 (CET) Original-Received: from proof (localhost [127.0.0.1]) by proof.pobox.com (Postfix) with ESMTP id C1B9328D89 for ; Thu, 28 Dec 2006 04:34:11 -0500 (EST) Original-Received: from [192.168.0.3] (dyn-62-56-70-52.dslaccess.co.uk [62.56.70.52]) by proof.sasl.smtp.pobox.com (Postfix) with ESMTP id 79E66A269C for ; Thu, 28 Dec 2006 04:34:11 -0500 (EST) In-Reply-To: <6faad9f00612251019n1494518ep5c32b51901a48558@mail.gmail.com> Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.752.2) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:32315 Archived-At: I'm really struggling to get this working... I've got some keywords which i want to mark in the text with a special style: -- \starttext \usetypescript[adobekb][\defaultencoding] \setupbodyfont[pos,9pt] \setupcolors[state=start] \define[1]\Keyword{% {\startcolor[darkgreen]\bf{#1}\stopcolor}} \chapter{Introduction} \Keyword{if} blah blah blah blah blah \Keyword{for} blah blah blah -- This works great. But then I've got the following keywords: # ! | \ @ ^ + - * / % Of these, i can get half of them to work: -- \Keyword{\#} \Keyword{\percent} \Keyword{\&} \Keyword{\backslash} \Keyword{\@} \Keyword{/} -- but i can't get any of the the remaining ones ( ! | ^ + - * ) to. Any suggestions would be very welcome! I was then going to go on to add an indexing command: \define[1]\Keyword{% {\startcolor[darkgreen]\bf{#1}\stopcolor} \index{#1}} but this wasn't working either... Help!