From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: enumeration with the Spanish alphabet
Date: Wed, 12 Nov 2014 21:35:56 +0100 [thread overview]
Message-ID: <5463C4AC.5080005@wxs.nl> (raw)
In-Reply-To: <679A55CA-2B5E-468B-8BF7-1202942BD090@gmail.com>
On 11/12/2014 6:40 PM, Wolfgang Schuster wrote:
>
>> Am 12.11.2014 um 18:18 schrieb Hans Hagen <pragma@wxs.nl
>> <mailto: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 ñ
>>>>> (or Ñ) after n and before o (or after N and before O) in a new
>>>>> enumeration series named ñ (and Ñ).
>>>>
>>>> in next beta
>>>
>>> Many thanks for your fast implementation, Hans.
>>>
>>> I’m afraid it is not implemented for bookmarks.
>>>
>>> \mainlanguage[es]
>>> \setupinteraction[state=start]
>>> \placebookmarks[section]
>>> \definestructureconversionset[sectionnumbers]
>>> [0,n,characters][n]
>>> \setupheads[sectionconversionset=sectionnumbers]
>>> \starttext
>>> \dorecurse{20}{\section{section}}
>>> \stoptext
>>
>> you can try spanishnumerals
>
> This won’t work unless you change (are you serious with these names)
>
> \defineconversion [ñ] [\spanishnumerals]
> \defineconversion [Ñ] [\Spanishnumerals]
>
well, kind of a joke these names ... fo rtesting .. i'll comment them
> to
>
> \defineconversion [spanishnumerals] [\spanishnumerals]
>
> \defineconversion [Spanishnumerals] [\Spanishnumerals]
>
ah, it should be spanishcharacters
>
> What’s 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")}}
as we have already
\def\spanishcharacters #1{\ctxcommand{alphabetic(\number#1,"es")}}
\def\spanishCharacters #1{\ctxcommand{Alphabetic(\number#1,"es")}}
> and the following line in core-con.la
>
> counters['spanishnumerals'] = counters['spanish']
before we do that ... are we going to use 'numerals' or 'characters' for
it ... I just copied some slovenian .. okay, I'll go for numerals in the
next upload
bookmarks will work also then
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2014-11-12 20:35 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-11 17:40 Pablo Rodriguez
2014-11-11 18:25 ` Hans Hagen
2014-11-11 21:28 ` Pablo Rodriguez
2014-11-12 0:38 ` Hans Hagen
2014-11-12 15:23 ` Pablo Rodriguez
2014-11-12 17:18 ` Hans Hagen
2014-11-12 17:40 ` Wolfgang Schuster
2014-11-12 18:40 ` Pablo Rodriguez
2014-11-12 20:35 ` Hans Hagen [this message]
2014-11-13 18:39 ` Pablo Rodriguez
2014-11-13 23:28 ` Hans Hagen
2014-11-15 10:36 ` Pablo Rodriguez
2014-11-17 18:06 ` Hans Hagen
2014-11-17 18:46 ` Pablo Rodriguez
2014-11-12 18:00 ` Pablo Rodriguez
2014-11-12 18:11 ` Pablo Rodriguez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5463C4AC.5080005@wxs.nl \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).