From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/45519 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: \definecharacter Date: Thu, 13 Nov 2008 09:12:40 +0100 Message-ID: <491BE178.3080304@wxs.nl> References: <2AE2048F-1031-4660-8C39-4AE10CE86D00@uni-bonn.de> <491BDAB9.8060402@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1226564072 25372 80.91.229.12 (13 Nov 2008 08:14:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Nov 2008 08:14:32 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Nov 13 09:15:34 2008 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 lo.gmane.org with esmtp (Exim 4.50) id 1L0XMS-0005Z9-7C for gctc-ntg-context-518@m.gmane.org; Thu, 13 Nov 2008 09:15:32 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C23871FBCB; Thu, 13 Nov 2008 09:14:20 +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 25483-05-2; Thu, 13 Nov 2008 09:13:19 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2153D1FB57; Thu, 13 Nov 2008 09:13:19 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DCD461FB49 for ; Thu, 13 Nov 2008 09:13:17 +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 25483-05 for ; Thu, 13 Nov 2008 09:12:39 +0100 (CET) Original-Received: from mail.pragma-ade.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by ronja.ntg.nl (Postfix) with ESMTP id C4D221FB5A for ; Thu, 13 Nov 2008 09:12:39 +0100 (CET) Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by controller-1 (SurgeMail 3.9e) with ESMTP id 9117-1840426 for ; Thu, 13 Nov 2008 09:12:39 +0100 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) In-Reply-To: X-Originating-IP: 10.100.1.100 X-Authenticated-User: hagen@controller-1 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:45519 Archived-At: Thomas A. Schmitz wrote: > On Nov 13, 2008, at 8:43 AM, Hans Hagen wrote: > >> Thomas A. Schmitz wrote: >>> On Nov 11, 2008, at 11:58 PM, Wolfgang Schuster wrote: >>> >>>> from enco-ini.mkiv >>>> >>>> \def\definecharacter#1 #2 % >>>> {} >>>> >>>> You could use \definecommand. >>>> >>>> Wolfgang >>> Wolfgang, thanks for pointing me to this. What is the reason of this >>> unfriendly behavior? I can understand if the \definecharacter command >>> is gone in mkiv, but simply taking the arguments and sending them >>> into >>> nirvana? It was a bit difficult for me to see where the errors in my >>> environments came from, so I'm really wondering what this is supposed >>> to do. >> well, i was not aware of users using \definecharacter >> >> (i can make it a chardef if needed) >> > Hey, you should know that your users use ConTeXt for all kinds of > weird and deviant purposes :-) > > I have it in some of my private modules/environments, e.g. for > creating symbols and a metrical font. What would you suggest using > instead? \definecharacter etc were closely related to font encoding, so unless you defined them in 'default' encoding you had to replicate the definitions in each fotn encoding a more natural variant for your case is \definesymbol or just \def\MyFunnySymbol{...} ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________