ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Otared Kavian via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Otared Kavian <otared@gmail.com>
Subject: Re: Create an enumeration style
Date: Wed, 11 Aug 2021 13:55:45 +0200	[thread overview]
Message-ID: <7C896BE1-9F43-432E-9F11-F85F6A1520A6@gmail.com> (raw)
In-Reply-To: <3CF6E3F4-0E73-438E-9446-4C29A3A5CBE7@uni-bonn.de>

> On 11 Aug 2021, at 10:19, Thomas A. Schmitz via ntg-context <ntg-context@ntg.nl> wrote:
> 
> 
>> On 11. Aug 2021, at 10:09, Otared Kavian via ntg-context <ntg-context@ntg.nl> wrote:
>> 
>> Thanks for the example and the fix, but I would rather think that the « french » part of ordinals should be
>> 
>> 	french = function(n)
>> 		if n == 1 then
>> 			return « er"
>> 		else
>> 			 return « ème"
>> 		end
>> 	end,
> 
> Except if you have something like “1ère image”… Ah, languages are so messy (no pun with recent events in Paris intended).
> 
> Thomas

Sure… But then maybe it is possible to define one’s own « ordinals.french » for messy cases :-) 
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2021-08-11 11:55 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-08 15:47 Fabrice Couvreur via ntg-context
2021-08-08 19:29 ` Wolfgang Schuster via ntg-context
     [not found]   ` <CACyK-epjgPwOitRnz1uWNmaTWoD-g_LXhV=EfgcOQnuH4HT9NA@mail.gmail.com>
2021-08-09 16:10     ` [NTG-context] " Wolfgang Schuster
2021-08-11  8:09       ` Otared Kavian via ntg-context
2021-08-11  8:19         ` Thomas A. Schmitz via ntg-context
2021-08-11 11:55           ` Otared Kavian via ntg-context [this message]
2021-08-11  8:23         ` Hans Hagen via ntg-context
2021-08-11 10:41           ` Fabrice Couvreur via ntg-context
2021-08-11 10:57             ` Fabrice Couvreur via ntg-context
2021-08-13 10:41               ` Wolfgang Schuster via ntg-context
2021-08-27  9:26           ` Vincent Hennebert via ntg-context
2021-08-27 15:10             ` Rudolf Bahr via ntg-context

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=7C896BE1-9F43-432E-9F11-F85F6A1520A6@gmail.com \
    --to=ntg-context@ntg.nl \
    --cc=otared@gmail.com \
    /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).