From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/21625 Path: news.gmane.org!not-for-mail From: Brooks Moses Newsgroups: gmane.comp.tex.context Subject: Re: "Very dirty" localisation request for a rainy evening Date: Tue, 26 Jul 2005 14:28:44 -0700 Message-ID: <4.3.1.2.20050726141606.01c8ffd8@cits1.stanford.edu> References: <6faad9f00507261401390177c3@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="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1122413429 10694 80.91.229.2 (26 Jul 2005 21:30:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 26 Jul 2005 21:30:29 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Jul 26 23:30:18 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 1DxWz0-0006vC-SH for gctc-ntg-context-518@m.gmane.org; Tue, 26 Jul 2005 23:29:02 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2D278127DA; Tue, 26 Jul 2005 23:29:00 +0200 (CEST) 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 21910-07; Tue, 26 Jul 2005 23:28:56 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9F85A127CF; Tue, 26 Jul 2005 23:28:55 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 52236127CF for ; Tue, 26 Jul 2005 23:28:55 +0200 (CEST) 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 21958-03 for ; Tue, 26 Jul 2005 23:28:54 +0200 (CEST) Original-Received: from smtp1.Stanford.EDU (smtp1.Stanford.EDU [171.67.16.123]) by ronja.ntg.nl (Postfix) with ESMTP id 17181127CB for ; Tue, 26 Jul 2005 23:28:53 +0200 (CEST) Original-Received: from mindolluin.stanford.edu (DNab42a643.Stanford.EDU [171.66.166.67]) by smtp1.Stanford.EDU (8.12.11/8.12.11) with ESMTP id j6QLSm1M001473 for ; Tue, 26 Jul 2005 14:28:49 -0700 X-Sender: brooks@cits1.stanford.edu X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Original-To: Mailing list for ConTeXt users In-Reply-To: <6faad9f00507261401390177c3@mail.gmail.com> 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-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:21625 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:21625 At 02:01 PM 7/26/2005, Mojca Miklavec wrote: >Hello Hans, Today I saw a webpage of someone, who is very active in the=20 >field of translation and localisation of free software into Slovenian. It= =20 >astonished me the way he numered the items on his webpage: (a)=20 >approximation ... (b) Gauss ... (c) numerical solutions ... (=E8) solving= =20 >parabolic ... % [\ccaron] (d) ... This should actually be the only proper= =20 >way to number items in Slovenian, but you can imagine that nobody is able= =20 >to use that since the beginning of computer era. As it happens, I've just been looking at the ConTeXt code for doing=20 counters as characters, and it's really pretty simple: \def\character#1% {\ifcase#1\unknowncharacter \or a\or b\or c\or d\or e\or f\or g\or h\or i\or j\or k\or l\or m% \or n\or o\or p\or q\or r\or s\or t\or u\or v\or w\or x\or y\or z% \else \unknowncharacter \fi} (There's also an equivalent \Character for the uppercase letters.) All you need to do Solvenian ordering is to put a \ccaron in the list=20 between c and d, and maybe call the macros "sloveniancharacter" and=20 "slovenianCharacter" to keep them distinct. Then, when you want to specify= =20 a numbering format for an enumeration, you should be able to use=20 "conversion=3Dsolveniancharacter" rather than "conversion=3Dcharacters". This isn't quite a complete solution -- ConTeXt has some more code that=20 defines a \characters macro (with the "s" on the end) that keeps counting=20 after "z", as x, y, z, aa, ab, ac, and so on. Duplicating that requires=20 only a little more work. - Brooks