From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/89220 Path: news.gmane.org!not-for-mail From: Pablo Rodriguez Newsgroups: gmane.comp.tex.context Subject: Re: enumeration with the Spanish alphabet Date: Tue, 11 Nov 2014 22:28:36 +0100 Message-ID: <54627F84.9040700@gmx.es> References: <54624A11.3090802@gmx.es> <5462547E.3000808@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------040209020905070200040301" X-Trace: ger.gmane.org 1415741359 5085 80.91.229.3 (11 Nov 2014 21:29:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Nov 2014 21:29:19 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 11 22:29:14 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XoIzx-0007Vn-HD for gctc-ntg-context-518@m.gmane.org; Tue, 11 Nov 2014 22:29:13 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1739D1022F for ; Tue, 11 Nov 2014 22:29:13 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id v94XlAImxC3b for ; Tue, 11 Nov 2014 22:29:12 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 6752A10233 for ; Tue, 11 Nov 2014 22:28:47 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 161E6101EF for ; Tue, 11 Nov 2014 22:28:44 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id o20GVV475Sec for ; Tue, 11 Nov 2014 22:28:43 +0100 (CET) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 3A959101E3 for ; Tue, 11 Nov 2014 22:28:43 +0100 (CET) Original-Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id sABLSfEx007462 for ; Tue, 11 Nov 2014 22:28:42 +0100 Original-Received: from [192.168.0.154] ([188.84.213.114]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MVJze-1XUvCg3yF4-00Ygwz for ; Tue, 11 Nov 2014 22:28:41 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 In-Reply-To: <5462547E.3000808@wxs.nl> X-Provags-ID: V03:K0:xhOnEDFXju1g/t+KBSscMAW2dO/upCGR1mPv6+ToZeqeRxg4N6l H64Q8QVGypnRQq3T5fqHHDtsNfQofrkVM2ZFh8wCtCxRCMExNIRQsHp1BPPGCzUoygA4C+L s9COd8HtkFSVnD04AXQnbr3ERoTixMFBU677fvQxjg8SoIFgzM2IScppkMihxJg5Iy9QZAw S7iFyHzUcMbolylbAdlrQ== X-UI-Out-Filterresults: notjunk:1; X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=212.227.17.20; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03NelsF0v - 3a04b279016c - 20141111 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:89220 Archived-At: This is a multi-part message in MIME format. --------------040209020905070200040301 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 11/11/2014 07:25 PM, Hans Hagen wrote: > On 11/11/2014 6:40 PM, Pablo Rodriguez wrote: >> Hans, >> >> enumerating using the Spanish alphabet lacks a letter between n and o, >> the =C3=B1. >> [...] >=20 > see core-con.lua ... we can add a spanish number sequence there ... and= =20 > also some entries in core-con.mkiv ... (look at slovenian for instance) >=20 > then send me patches I replicated the two Slovenian ocurrences and adapted it to the Spanish language. (I also corrected a typo.) Pablo --=20 http://www.ousia.tk --------------040209020905070200040301 Content-Type: text/x-patch; name="spanish-numerals.diff" Content-Disposition: attachment; filename="spanish-numerals.diff" Content-Transfer-Encoding: quoted-printable --- ctxbase/core-con.lua 2014-09-10 23:13:00.000000000 +0200 +++ core-con.lua 2014-11-11 21:20:07.704095640 +0100 @@ -60,6 +60,14 @@ 0x006F, 0x0070, 0x0072, 0x0073, 0x0161, 0x0074, 0x0075, 0x0076, 0x007A, 0x017E }, + ['spanish'] =3D { + 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, + 0x0066, 0x0067, 0x0068, 0x0069, 0x006A, + 0x006B, 0x006C, 0x006D, 0x006E, 0x00F1, + 0x006F, 0x0070, 0x0071, 0x0072, 0x0073, + 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, + 0x0079, 0x007A + }, ['greek'] =3D { -- this should be the lowercase table -- 0x0391, 0x0392, 0x0393, 0x0394, 0x0395, -- 0x0396, 0x0397, 0x0398, 0x0399, 0x039A, @@ -131,6 +139,7 @@ counters['gr'] =3D counters['greek'] counters['g'] =3D counters['greek'] counters['sl'] =3D counters['slovenian'] +counters['es'] =3D counters['spanish'] counters['kr'] =3D counters['korean'] counters['kr-p'] =3D counters['korean-parent'] counters['kr-c'] =3D counters['korean-circle'] @@ -893,7 +902,7 @@ [900] =3D "novecientos", [1000] =3D "mil", [1000^2] =3D "mill=C3=B3n", - [1000^3] =3D "mil mill=C3=B3nes", + [1000^3] =3D "mil millones", [1000^4] =3D "bill=C3=B3n", } =20 --------------040209020905070200040301 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --------------040209020905070200040301--