From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/89228 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: enumeration with the Spanish alphabet Date: Wed, 12 Nov 2014 18:40:16 +0100 Message-ID: <679A55CA-2B5E-468B-8BF7-1202942BD090@gmail.com> References: <54624A11.3090802@gmx.es> <5462ABFA.9050203@wxs.nl> <54637B88.2070100@gmx.es> <54639661.5030404@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\)) Content-Type: multipart/mixed; boundary="===============1731046118==" X-Trace: ger.gmane.org 1415814069 10368 80.91.229.3 (12 Nov 2014 17:41:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Nov 2014 17:41:09 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 12 18:41:05 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 1Xobuh-0004yh-Mj for gctc-ntg-context-518@m.gmane.org; Wed, 12 Nov 2014 18:41:03 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3DDC910204 for ; Wed, 12 Nov 2014 18:41:03 +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 Z444rCd-0LuX for ; Wed, 12 Nov 2014 18:41:02 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 381BC1023A for ; Wed, 12 Nov 2014 18:40:31 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A64D2101EF for ; Wed, 12 Nov 2014 18:40:26 +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 SKDVvfEAdVzg for ; Wed, 12 Nov 2014 18:40:25 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id A9CF9101EA for ; Wed, 12 Nov 2014 18:40:25 +0100 (CET) Original-Received: from mail-wg0-x231.google.com (mail-wg0-x231.google.com [IPv6:2a00:1450:400c:c00::231]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id sACHeJKw025899 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Wed, 12 Nov 2014 18:40:20 +0100 Original-Received: by mail-wg0-f49.google.com with SMTP id x13so14792304wgg.36 for ; Wed, 12 Nov 2014 09:40:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to; bh=dJK+FXFo59IQ47yuN3GdH30KaC3IOj6oVf2phonFfOg=; b=Z4Ebq2t0mLAyhFXhtDp1EBnlzzqKCCPSM7la5eTu9u0FifbjhQbELrtcAwp+latA0i Pm6shM0t7LFKMrcDIT3W7YbNh16ZxOwxGT7FBYQFioeILY3KwdSwZ5NaK2u7xywv4oK9 KfOn+fdslXcFmQffVveSYYPZf/dh8zB/MhMTFjdVRnasX9xY71VgRHhfgrfqvTplOb+S h9Q4xi0soKQ6FI4zn60pCmSUQ4qH8IsFvCpF9OhmJZeH+gObfpKxWdWBuiwShbD8BJHS 0ue2Bm0Z/eYYui1CG8paBuX1Z5wlJYicJRw64D7lNf4lvUr5AftxD8GK3eJBmBxRcyf9 TJrQ== X-Received: by 10.194.172.131 with SMTP id bc3mr67761465wjc.64.1415814019602; Wed, 12 Nov 2014 09:40:19 -0800 (PST) Original-Received: from keima-7.localdomain (x2f26980.dyn.telefonica.de. [2.242.105.128]) by mx.google.com with ESMTPSA id w10sm32279246wje.10.2014.11.12.09.40.17 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 12 Nov 2014 09:40:18 -0800 (PST) In-Reply-To: <54639661.5030404@wxs.nl> X-Mailer: Apple Mail (2.1990.1) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c00::231; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TNeFEjud - 2e8d527ac1f0 - 20141112 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:89228 Archived-At: --===============1731046118== Content-Type: multipart/alternative; boundary="Apple-Mail=_FFA92126-C041-4D2A-8B7B-4A119517FF98" --Apple-Mail=_FFA92126-C041-4D2A-8B7B-4A119517FF98 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > Am 12.11.2014 um 18:18 schrieb Hans Hagen : >=20 > On 11/12/2014 4:23 PM, Pablo Rodriguez wrote: >> On 11/12/2014 01:38 AM, Hans Hagen wrote: >>> On 11/11/2014 6:40 PM, Pablo Rodriguez wrote: >>>> [...] >>>> Instead of changing the default letter series, how about adding the = =C3=B1 >>>> (or =C3=91) after n and before o (or after N and before O) in a new >>>> enumeration series named =C3=B1 (and =C3=91). >>>=20 >>> in next beta >>=20 >> Many thanks for your fast implementation, Hans. >>=20 >> I=E2=80=99m afraid it is not implemented for bookmarks. >>=20 >> \mainlanguage[es] >> \setupinteraction[state=3Dstart] >> \placebookmarks[section] >> \definestructureconversionset[sectionnumbers] >> [0,n,characters][n] >> \setupheads[sectionconversionset=3Dsectionnumbers] >> \starttext >> \dorecurse{20}{\section{section}} >> \stoptext >=20 > you can try spanishnumerals This won=E2=80=99t work unless you change (are you serious with these = names) \defineconversion [=C3=B1] [\spanishnumerals] \defineconversion [=C3=91] [\Spanishnumerals] to \defineconversion [spanishnumerals] [\spanishnumerals] \defineconversion [Spanishnumerals] [\Spanishnumerals] What=E2=80=99s missing as well are these two definitions in core-con.miv \def\spanishnumerals #1{\ctxcommand{alphabetic(\number#1,"spanish")}} \def\Spanishnumerals #1{\ctxcommand{Alphabetic(\number#1,"spanish")}} and the following line in core-con.la counters['spanishnumerals'] =3D counters['spanish'] Wolfgang= --Apple-Mail=_FFA92126-C041-4D2A-8B7B-4A119517FF98 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
Am 12.11.2014 um 18:18 schrieb Hans Hagen <pragma@wxs.nl>:

On 11/12/2014 4:23 = PM, Pablo Rodriguez wrote:
On 11/12/2014 01:38 AM, Hans Hagen wrote:
On 11/11/2014 6:40 PM, = Pablo Rodriguez wrote:
[...]
Instead of changing the default letter = series, how about adding the =C3=B1
(or =C3=91) after n = and before o (or after N and before O) in a new
enumeration = series named =C3=B1 (and =C3=91).

in next beta

Many = thanks for your fast implementation, Hans.

I=E2=80=99m afraid it is not implemented for bookmarks.

    \mainlanguage[es]
    \setupinteraction[state=3Dstart]
    \placebookmarks[section]
=     \definestructureconversionset[sectionnumbers]
=         [0,n,characters][n]
=     \setupheads[sectionconversionset=3Dsectionnumbers]=
    \starttext
=     \dorecurse{20}{\section{section}}
=     \stoptext

you can try spanishnumerals

This = won=E2=80=99t work unless you change (are you serious with these = names)

\defineconversion [=C3=B1]     =               =  [\spanishnumerals]
\defineconversion [=C3=91]           =         =  [\Spanishnumerals]

to

\defineconversion = [spanishnumerals]     =  [\spanishnumerals]
\defineconversion [Spanishnumerals]     =  [\Spanishnumerals]


What=E2=80=99s missing as well are these two definitions in = core-con.miv

\def\spanishnumerals   = #1{\ctxcommand{alphabetic(\number#1,"spanish")}}
<= blockquote style=3D"margin: 0 0 0 40px; border: none; padding: 0px;" = class=3D"">
\def\Spanishnumerals   = #1{\ctxcommand{Alphabetic(\number#1,"spanish")}}
<= div class=3D"">
and the following = line in core-con.la

counters['spanishnumerals']     =  =3D counters['spanish']


Wolfgang
= --Apple-Mail=_FFA92126-C041-4D2A-8B7B-4A119517FF98-- --===============1731046118== 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= --===============1731046118==--