Fabrice Couvreur schrieb am 09.08.2021 um 14:16:
Hi Wolfgang,
Thank you for your suggestion.
I tested the code and the result is not what I expected from the second item : "2 exemple" instead of "2^{e} exemple", "3 exemple" instead of "3^{e} exemple" ...

core-con.lua (line 1155):

local ordinals = {
    [...]
    french = function(n)
        if n == 1 then
            return "er"
+       else
+           return "e"
        end
    end,
}


Then I tried to use the key  alternative = serried but without success.

This works for me:

\defineenumeration
  [test]
  [text=,
   alternative=serried,
   width=fit,
   distance=.5em,
   numbercommand=\groupedcommand{}{~exemple},
   numberconversion=ordinal]

\mainlanguage [fr]

\starttext

\starttest
\input knuth
\stoptest

\starttest
\input knuth
\stoptest

\stoptext

Wolfgang