From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24694 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Character names Date: Fri, 23 Dec 2005 11:31:37 +0100 Message-ID: <43ABD209.2090501@wxs.nl> References: <6faad9f00512210619m2d45bai227752eb00d3f091@mail.gmail.com> <43A9801F.4020101@elvenkind.com> <6faad9f00512221700s4c200df9v6e2a0963304918b6@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1135333909 7863 80.91.229.2 (23 Dec 2005 10:31:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 23 Dec 2005 10:31:49 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 23 11:31:47 2005 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 ciao.gmane.org with esmtp (Exim 4.43) id 1EpkD9-0007RQ-2V for gctc-ntg-context-518@m.gmane.org; Fri, 23 Dec 2005 11:31:43 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A7459128B3; Fri, 23 Dec 2005 11:31:42 +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 32263-01-4; Fri, 23 Dec 2005 11:31:37 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7485A12844; Fri, 23 Dec 2005 11:31:37 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 05D7512844 for ; Fri, 23 Dec 2005 11:31:36 +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 32263-01-3 for ; Fri, 23 Dec 2005 11:31:35 +0100 (CET) Original-Received: from mail.pragma-ade.net (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by ronja.ntg.nl (Postfix) with ESMTP id 1334C12834 for ; Fri, 23 Dec 2005 11:31:34 +0100 (CET) Original-Received: from [10.100.1.102] (unverified [10.100.1.102]) by controller-1 (SurgeMail 3.5b3) with ESMTP id 9073 for ; Fri, 23 Dec 2005 11:39:10 +0300 User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <6faad9f00512221700s4c200df9v6e2a0963304918b6@mail.gmail.com> X-Server: High Performance Mail Server - http://surgemail.com r=-274017400 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.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:24694 Archived-At: Mojca Miklavec wrote: >\defineregimesynonym[windows-1250][cp1250] > > the synonym features is already in the kernel; the following patch to regi-ini will permit file name synonyms, so \definefilesynonym[regi-win][...] patch: \def\douseregime#1% nearly identical to encoding {\doifundefined{\c!file\f!regimeprefix#1}% {\setvalue{\c!file\f!regimeprefix#1}{}% \makeshortfilename[\truefilename{\f!regimeprefix#1}]% \startreadingfile \readsysfile\shortfilename {\showmessage\m!encodings2{#1}} {\showmessage\m!encodings3{#1}}% \stopreadingfile}} so, we can make (many) files called regi-cp-1250 and then say \definefilesynonym[regi-win][regi-cp-1250] \defineregimesynonym[win][cp1250] (of course the internals of regi-... should become cp1250 then) Hans