From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/23996 Path: news.gmane.org!not-for-mail From: Hans van der Meer Newsgroups: gmane.comp.tex.context Subject: Re: texteuro Date: Thu, 1 Dec 2005 14:08:12 +0100 Message-ID: References: <45C14217-EECB-46E5-89B6-37C55AD281E9@science.uva.nl> <438C3D32.4060108@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v733) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1133530083 28723 80.91.229.2 (2 Dec 2005 13:28:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 2 Dec 2005 13:28:03 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 02 14:27:59 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 1EiAuv-00034N-60 for gctc-ntg-context-518@m.gmane.org; Fri, 02 Dec 2005 14:25:37 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 131871287C; Fri, 2 Dec 2005 14:24:00 +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 11579-08-20; Fri, 2 Dec 2005 14:23:58 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6369B128E4; Fri, 2 Dec 2005 14:20:50 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E60BD128AB for ; Fri, 2 Dec 2005 14:16:14 +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 10345-04-43 for ; Fri, 2 Dec 2005 14:16:09 +0100 (CET) Original-Received: from smtp.science.uva.nl (smtp.science.uva.nl [146.50.4.84]) by ronja.ntg.nl (Postfix) with ESMTP id 18D5D1284D for ; Thu, 1 Dec 2005 15:05:40 +0100 (CET) Original-Received: from 119-15.uva.surfnetthuis.nl [145.98.119.15] by smtp.science.uva.nl with ESMTP (sendmail 8.11.6p2/config 11.36). id jB1E5bv32385; Thu, 1 Dec 2005 15:05:37 +0100 X-Organisation: Faculty of Science, University of Amsterdam, The Netherlands X-URL: http://www.science.uva.nl/ In-Reply-To: <438C3D32.4060108@wxs.nl> Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.733) X-Virus-Scanned: by amavisd-new 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-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:23996 Archived-At: On Nov 29, 2005, at 12:36, Hans Hagen wrote: >> I could not redefine the \texteuro. In \showcharacters it stays >> empty. >> Doing \definecharacter texteuro to_some_value in a typescript >> does not work (giving: Runaway argument?) >> > > has to do with \definecharacter being space delimited and > typescripts being space ignorant > > you define characters in an encoding vector, so > \startencoding[whatever] > \definecharacter .... > \stopencoding > which you can do anyplace I now put "\startencoding[texnansi]\definecharacter texteuro {\symbol [europe][EUR]}\stopencoding" in the Tex document sourcetext for a font having texnansi encoding but no euro symbol; that works. However, it seems a bit awkward to have to remember to do this for each document -- and remember to delete/change it when another font is chosen for the document. As you explained, in contrast to for example "\def\euro{\symbol [europe][EUR]}" this definition does not work inside a typescript. Is the only generic solution perhaps to be found in special encoding files coupled to specific fonts? I.e. having a separate texnansi coding for fonts with and without euro symbol? yours sincerely, dr. H. van der Meer