[latex3-commits] [git/LaTeX3-latex3-babel] master: \localedigits. [|] in dates. (1d4f48c)

Javier email at dante.de
Thu Apr 30 19:32:35 CEST 2020


Repository : https://github.com/latex3/babel
On branch  : master
Link       : https://github.com/latex3/babel/commit/1d4f48c37b839dcbc3a0cc9c7f1802e0bccbd8b0

>---------------------------------------------------------------

commit 1d4f48c37b839dcbc3a0cc9c7f1802e0bccbd8b0
Author: Javier <email at localhost>
Date:   Thu Apr 30 19:32:35 2020 +0200

    \localedigits. [|] in dates.


>---------------------------------------------------------------

1d4f48c37b839dcbc3a0cc9c7f1802e0bccbd8b0
 README.md                 |  10 ++-
 babel.dtx                 | 172 ++++++++++++++++++++++++----------------------
 babel.ins                 |   2 +-
 babel.pdf                 | Bin 773033 -> 773632 bytes
 bbcompat.dtx              |   2 +-
 locale/fr/babel-fr-BE.ini |   4 +-
 locale/fr/babel-fr-CA.ini |   4 +-
 locale/fr/babel-fr-CH.ini |   4 +-
 locale/fr/babel-fr-LU.ini |   4 +-
 locale/fr/babel-fr.ini    |   4 +-
 10 files changed, 111 insertions(+), 95 deletions(-)

diff --git a/README.md b/README.md
index d37c85f..faa33ab 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-## Babel 3.43
+## Babel 3.43.1993
 
 This package manages culturally-determined typographical (and other)
 rules, and hyphenation patterns for a wide range of languages.  Many
@@ -9,7 +9,7 @@ The latest stable version is available on <https://ctan.org/pkg/babel>.
 
 Changes in version 3.43 are described in:
 
-https://github.com/latex3/babel/wiki/What's-new-in-babel-3.43
+https://github.com/latex3/babel/wiki/What's-new-in-babel-3.44
 
 Included is a set of ini files for about 200 languages.
 
@@ -44,6 +44,11 @@ respective authors.
 ### Latest changes
 
 ```
+3.44   2020-05-??
+       - \localedigits
+       - [|] syntax in dates
+       -
+       
 3.43   2020-04-28
        - Autoloading based on the BCP47 codes, with basic lookup.
        - Now only a few essential commands are loaded in the format.
@@ -55,6 +60,7 @@ respective authors.
          - \guillemotleft and \guillemotleft renamed to \guillemetleft
            and \guillemetleft (#63).
          - A couple of bugs related to autoloading.
+https://github.com/latex3/babel/wiki/What's-new-in-babel-3.44
        
 3.42   2020-03-22
        - \getlocaleproperty, to get the value of a field from the loaded
diff --git a/babel.dtx b/babel.dtx
index 7acfb16..c8f67be 100644
--- a/babel.dtx
+++ b/babel.dtx
@@ -31,7 +31,7 @@
 %
 % \iffalse
 %<*filedriver>
-\ProvidesFile{babel.dtx}[2020/03/28 v3.43 The Babel package]
+\ProvidesFile{babel.dtx}[2020/04/30 v3.43.1993 The Babel package]
 \documentclass{ltxdoc}
 \GetFileInfo{babel.dtx}
 \usepackage{fontspec}
@@ -4530,8 +4530,8 @@ help from Bernd Raichle, for which I am grateful.
 % \section{Tools}
 %
 %    \begin{macrocode}
-%<<version=3.43>>
-%<<date=2020/03/28>>
+%<<version=3.43.1993>>
+%<<date=2020/04/30>>
 %    \end{macrocode}
 %
 % \textbf{Do not use the following macros in \texttt{ldf} files. They
@@ -5673,30 +5673,30 @@ help from Bernd Raichle, for which I am grateful.
 %
 % \subsubsection{\pkg{ifthen}}
 %
-%  \begin{macro}{\ifthenelse}
+% \begin{macro}{\ifthenelse}
 %
-%    Sometimes a document writer wants to create a special effect
-%    depending on the page a certain fragment of text appears on. This
-%    can be achieved by the following piece of code:
+% Sometimes a document writer wants to create a special effect
+% depending on the page a certain fragment of text appears on. This
+% can be achieved by the following piece of code:
 %\begin{verbatim}
 %    \ifthenelse{\isodd{\pageref{some:label}}}
 %               {code for odd pages}
 %               {code for even pages}
 %\end{verbatim}
-%    In order for this to work the argument of |\isodd| needs to be
-%    fully expandable. With the above redefinition of |\pageref| it is
-%    not in the case of this example. To overcome that, we add some
-%    code to the definition of |\ifthenelse| to make things work.
+% In order for this to work the argument of |\isodd| needs to be
+% fully expandable. With the above redefinition of |\pageref| it is
+% not in the case of this example. To overcome that, we add some
+% code to the definition of |\ifthenelse| to make things work.
 %
-%    We want to revert the definition of |\pageref| and |\ref| to
-%    their original definition for the first argument of |\ifthenelse|,
-%    so we first need to store their current meanings.
+% We want to revert the definition of |\pageref| and |\ref| to
+% their original definition for the first argument of |\ifthenelse|,
+% so we first need to store their current meanings.
 %
-%    Then we can set the |\@safe at actives| switch and call the original
-%    |\ifthenelse|. In order to be able to use shorthands in the
-%    second and third arguments of |\ifthenelse| the resetting of the
-%    switch \emph{and} the definition of |\pageref| happens inside
-%    those arguments. 
+% Then we can set the |\@safe at actives| switch and call the original
+% |\ifthenelse|. In order to be able to use shorthands in the
+% second and third arguments of |\ifthenelse| the resetting of the
+% switch \emph{and} the definition of |\pageref| happens inside
+% those arguments. 
 %
 %    \begin{macrocode}
 \bbl at trace{Preventing clashes with other packages}
@@ -5728,14 +5728,14 @@ help from Bernd Raichle, for which I am grateful.
 %
 % \subsubsection{\pkg{varioref}}
 %
-%  \begin{macro}{\@@vpageref}
-%  \begin{macro}{\vrefpagenum}
-%  \begin{macro}{\Ref}
+% \begin{macro}{\@@vpageref}
+% \begin{macro}{\vrefpagenum}
+% \begin{macro}{\Ref}
 %
-%    When the package varioref is in use we need to modify its
-%    internal command |\@@vpageref| in order to prevent problems when
-%    an active character ends up in the argument of |\vref|. The same
-%    needs to happen for |\vrefpagenum|.
+% When the package varioref is in use we need to modify its
+% internal command |\@@vpageref| in order to prevent problems when
+% an active character ends up in the argument of |\vref|. The same
+% needs to happen for |\vrefpagenum|.
 %
 %    \begin{macrocode}
   \AtBeginDocument{%
@@ -5750,14 +5750,14 @@ help from Bernd Raichle, for which I am grateful.
         \@safe at activesfalse}%
 %    \end{macrocode}
 %
-%    The package \pkg{varioref} defines |\Ref| to be a robust command
-%    wich uppercases the first character of the reference text. In
-%    order to be able to do that it needs to access the expandable form
-%    of |\ref|. So we employ a little trick here. We redefine the
-%    (internal) command \verb*|\Ref | to call |\org at ref| instead of
-%    |\ref|. The disadvantage of this solution is that whenever the
-%    definition of |\Ref| changes, this definition needs to be updated
-%    as well.
+% The package \pkg{varioref} defines |\Ref| to be a robust command
+% wich uppercases the first character of the reference text. In
+% order to be able to do that it needs to access the expandable form
+% of |\ref|. So we employ a little trick here. We redefine the
+% (internal) command \verb*|\Ref | to call |\org at ref| instead of
+% |\ref|. The disadvantage of this solution is that whenever the
+% definition of |\Ref| changes, this definition needs to be updated
+% as well.
 %
 %    \begin{macrocode}
       \expandafter\def\csname Ref \endcsname#1{%
@@ -5773,14 +5773,15 @@ help from Bernd Raichle, for which I am grateful.
 %
 % \subsubsection{\pkg{hhline}}
 %
-%  \begin{macro}{\hhline}
-%    Delaying the activation of the shorthand characters has introduced
-%    a problem with the \pkg{hhline} package. The reason is that it
-%    uses the `:' character which is made active by the french support
-%    in \babel. Therefore we need to \emph{reload} the package when
-%    the `:' is an active character. Note that this happens
-%    \emph{after} the category code of the @-sign has been changed to
-%    other, so we need to temporarily change it to letter again.
+% \begin{macro}{\hhline}
+%
+% Delaying the activation of the shorthand characters has introduced
+% a problem with the \pkg{hhline} package. The reason is that it
+% uses the `:' character which is made active by the french support
+% in \babel. Therefore we need to \emph{reload} the package when
+% the `:' is an active character. Note that this happens
+% \emph{after} the category code of the @-sign has been changed to
+% other, so we need to temporarily change it to letter again.
 %
 %    \begin{macrocode}
 \AtEndOfPackage{%
@@ -5798,15 +5799,15 @@ help from Bernd Raichle, for which I am grateful.
 %
 % \subsubsection{\pkg{hyperref}}
 %
-%  \begin{macro}{\pdfstringdefDisableCommands}
+% \begin{macro}{\pdfstringdefDisableCommands}
 %
-%    A number of interworking problems between \pkg{babel} and
-%    \pkg{hyperref} are tackled by \pkg{hyperref} itself. The
-%    following code was introduced to prevent some annoying warnings
-%    but it broke bookmarks. This was quickly fixed in \pkg{hyperref},
-%    which essentially made it no-op. However, it will not removed for
-%    the moment because \pkg{hyperref} is expecting it. TODO. Still
-%    true? 
+% A number of interworking problems between \pkg{babel} and
+% \pkg{hyperref} are tackled by \pkg{hyperref} itself. The
+% following code was introduced to prevent some annoying warnings
+% but it broke bookmarks. This was quickly fixed in \pkg{hyperref},
+% which essentially made it no-op. However, it will not removed for
+% the moment because \pkg{hyperref} is expecting it. TODO. Still
+% true? 
 %
 %    \begin{macrocode}
 \AtBeginDocument{%
@@ -5819,13 +5820,14 @@ help from Bernd Raichle, for which I am grateful.
 %
 % \subsubsection{\pkg{fancyhdr}}
 %
-%  \begin{macro}{\FOREIGNLANGUAGE}
-%    The package \pkg{fancyhdr} treats the running head and fout lines
-%    somewhat differently as the standard classes. A symptom of this is
-%    that the command |\foreignlanguage| which \babel\ adds to the
-%    marks can end up inside the argument of |\MakeUppercase|. To
-%    prevent unexpected results we need to define |\FOREIGNLANGUAGE|
-%    here.
+% \begin{macro}{\FOREIGNLANGUAGE}
+%
+% The package \pkg{fancyhdr} treats the running head and fout lines
+% somewhat differently as the standard classes. A symptom of this is
+% that the command |\foreignlanguage| which \babel\ adds to the
+% marks can end up inside the argument of |\MakeUppercase|. To
+% prevent unexpected results we need to define |\FOREIGNLANGUAGE|
+% here.
 %
 %    \begin{macrocode}
 \DeclareRobustCommand{\FOREIGNLANGUAGE}[1]{%
@@ -5834,12 +5836,12 @@ help from Bernd Raichle, for which I am grateful.
 %
 %  \end{macro}
 %
-%  \begin{macro}{\substitutefontfamily}
+% \begin{macro}{\substitutefontfamily}
 %
-%    The command |\substitutefontfamily| creates an
-%    \file{.fd} file on the fly. The first argument is an encoding
-%    mnemonic, the second and third arguments are font family names.
-%    This command is deprecated. Use the tools provides by \LaTeX.
+% The command |\substitutefontfamily| creates an
+% \file{.fd} file on the fly. The first argument is an encoding
+% mnemonic, the second and third arguments are font family names.
+% This command is deprecated. Use the tools provides by \LaTeX.
 %
 %    \begin{macrocode}
 \def\substitutefontfamily#1#2#3{%
@@ -9932,17 +9934,17 @@ help from Bernd Raichle, for which I am grateful.
 %
 %  \end{macro}
 %
-%    For all vowels we declare |\"| to be a composite command which
-%    uses |\bbl at umlauta| or |\bbl at umlaute| to position the umlaut
-%    character. We need to be sure that these definitions override the
-%    ones that are provided when the package \pkg{fontenc} with
-%    option \Lopt{OT1} is used. Therefore these declarations are
-%    postponed until the beginning of the document. Note these
-%    definitions only apply to some languages, but
-%    babel sets them for \textit{all} languages -- you may want to
-%    redefine |\bbl at umlauta| and/or |\bbl at umlaute| for a language
-%    in the corresponding |ldf| (using the babel switching mechanism,
-%    of course).
+% For all vowels we declare |\"| to be a composite command which
+% uses |\bbl at umlauta| or |\bbl at umlaute| to position the umlaut
+% character. We need to be sure that these definitions override the
+% ones that are provided when the package \pkg{fontenc} with
+% option \Lopt{OT1} is used. Therefore these declarations are
+% postponed until the beginning of the document. Note these
+% definitions only apply to some languages, but
+% babel sets them for \textit{all} languages -- you may want to
+% redefine |\bbl at umlauta| and/or |\bbl at umlaute| for a language
+% in the corresponding |ldf| (using the babel switching mechanism,
+% of course).
 %
 %    \begin{macrocode}
 \AtBeginDocument{%
@@ -9956,8 +9958,7 @@ help from Bernd Raichle, for which I am grateful.
   \DeclareTextCompositeCommand{\"}{OT1}{E}{\bbl at umlaute{E}}%
   \DeclareTextCompositeCommand{\"}{OT1}{I}{\bbl at umlaute{I}}%
   \DeclareTextCompositeCommand{\"}{OT1}{O}{\bbl at umlauta{O}}%
-  \DeclareTextCompositeCommand{\"}{OT1}{U}{\bbl at umlauta{U}}%
-}
+  \DeclareTextCompositeCommand{\"}{OT1}{U}{\bbl at umlauta{U}}}
 %    \end{macrocode}
 %
 % Finally, make sure the default hyphenrules are defined (even if
@@ -10109,7 +10110,8 @@ help from Bernd Raichle, for which I am grateful.
   \bbl at ifunset{bbl at lname@#2}%  TODO. Duplicated
     {\def\BabelBeforeIni##1##2{%
        \begingroup
-         \catcode`\[=12 \catcode`\]=12 \catcode`\==12  \catcode`\;=12 %
+         \catcode`\[=12 \catcode`\]=12 \catcode`\==12
+         \catcode`\;=12 \catcode`\|=12 %
          \let\bbl at ini@captions at aux\@gobbletwo
          \def\bbl at inidate ####1.####2.####3.####4\relax ####5####6{}%
          \bbl at read@ini{##1}{basic data}%
@@ -10341,9 +10343,11 @@ help from Bernd Raichle, for which I am grateful.
 %
 % A tool to define the macros for native digits from the list provided 
 % in the |ini| file. Somewhat convoluted because there are 10 digits, 
-% but only 9 arguments in \TeX.
+% but only 9 arguments in \TeX. Non-digits characters are kept. The
+% first macro is the generic “localized” command.
 %
 %    \begin{macrocode}
+\newcommand\localedigits{\@nameuse{\languagename digits}}
 \def\bbl at setdigits#1#2#3#4#5{%
   \bbl at exp{%
     \def\<\languagename digits>####1{%       ie, \langdigits
@@ -10414,7 +10418,8 @@ help from Bernd Raichle, for which I am grateful.
   \bbl at ifunset{bbl at lname@#1}%     TODO. Duplicated
     {\def\BabelBeforeIni##1##2{%
        \begingroup
-         \catcode`\[=12 \catcode`\]=12 \catcode`\==12  \catcode`\;=12 %
+         \catcode`\[=12 \catcode`\]=12 \catcode`\==12
+         \catcode`\;=12 \catcode`\|=12 %
          \let\bbl at ini@captions at aux\@gobbletwo
          \def\bbl at inidate ####1.####2.####3.####4\relax ####5####6{}%
          \bbl at read@ini{##1}{basic data}%
@@ -10813,9 +10818,13 @@ help from Bernd Raichle, for which I am grateful.
   \bbl at replace\bbl at toreplace{[y]}{\BabelDatey{####1}}%
   \bbl at replace\bbl at toreplace{[yy]}{\BabelDateyy{####1}}%
   \bbl at replace\bbl at toreplace{[yyyy]}{\BabelDateyyyy{####1}}%
+  \bbl at replace\bbl at toreplace{[y|}{\bbl at datecntr[####1|}%
+  \bbl at replace\bbl at toreplace{[m|}{\bbl at datecntr[####2|}%
+  \bbl at replace\bbl at toreplace{[d|}{\bbl at datecntr[####3|}%
 % Note after \bbl at replace \toks@ contains the resulting string.
 % TODO - Using this implicit behavior doesn't seem a good idea.
   \bbl at replace@finish at iii\bbl at toreplace}
+\def\bbl at datecntr[#1|#2]{\localenumeral{#2}{#1}}
 %    \end{macrocode}
 %
 % Language and Script values to be used when defining a font or
@@ -10854,7 +10863,8 @@ help from Bernd Raichle, for which I am grateful.
   \def\BabelBeforeIni##1##2{%
     \begingroup
       \bbl at add\bbl at secpost@identification{\closein\bbl at readstream }%
-      \catcode`\[=12 \catcode`\]=12 \catcode`\==12 \catcode`\;=12 %
+      \catcode`\[=12 \catcode`\]=12 \catcode`\==12
+      \catcode`\;=12 \catcode`\|=12 %
       \bbl at read@ini{##1}{font and identification data}%   
       \endinput          % babel- .tex may contain onlypreamble's
     \endgroup}%            boxed, to avoid extra spaces:
@@ -10882,7 +10892,7 @@ help from Bernd Raichle, for which I am grateful.
 % number of digits in the number to be converted. This explains the
 % reverse set |76543210|. Digits above 10000 are not handled yet. When
 % the key contains the subkey |.F.|, the number after is treated as an
-% special case. for a fixed form (see |babel-he.ini|, for example).
+% special case, for a fixed form (see |babel-he.ini|, for example).
 %
 %    \begin{macrocode}
 \newcommand\localenumeral[2]{\bbl at cs{cntr@#1@\languagename}{#2}}
@@ -10905,7 +10915,7 @@ help from Bernd Raichle, for which I am grateful.
      \bbl at cs{cntr@#1.3@\languagename}#6%
      \bbl at cs{cntr@#1.2@\languagename}#7%
      \bbl at cs{cntr@#1.1@\languagename}#8%
-     \ifnum#6#7#8>\z@ % An ad hod rule for Greek. Ugly. To be fixed.
+     \ifnum#6#7#8>\z@ % TODO. An ad hoc rule for Greek. Ugly.
        \bbl at ifunset{bbl at cntr@#1.S.321@\languagename}{}%
          {\bbl at cs{cntr@#1.S.321@\languagename}}%
      \fi}%
diff --git a/babel.ins b/babel.ins
index c194325..b09b25c 100644
--- a/babel.ins
+++ b/babel.ins
@@ -26,7 +26,7 @@
 %% and covered by LPPL is defined by the unpacking scripts (with
 %% extension .ins) which are part of the distribution.
 %%
-\def\filedate{2020/03/28}
+\def\filedate{2020/04/30}
 \def\batchfile{babel.ins}
 \input docstrip.tex
 
diff --git a/babel.pdf b/babel.pdf
index 56405ab..182fe5a 100644
Binary files a/babel.pdf and b/babel.pdf differ
diff --git a/bbcompat.dtx b/bbcompat.dtx
index 6a7ba07..30ed652 100644
--- a/bbcompat.dtx
+++ b/bbcompat.dtx
@@ -30,7 +30,7 @@
 %
 % \iffalse
 %<*dtx>
-\ProvidesFile{bbcompat.dtx}[2020/03/28 v3.43]
+\ProvidesFile{bbcompat.dtx}[2020/04/30 v3.43.1993]
 %</dtx>
 %
 %% File 'bbcompat.dtx'
diff --git a/locale/fr/babel-fr-BE.ini b/locale/fr/babel-fr-BE.ini
index e7d628a..51c9d79 100644
--- a/locale/fr/babel-fr-BE.ini
+++ b/locale/fr/babel-fr-BE.ini
@@ -27,7 +27,6 @@ script.tag.opentype = latn
 level = 1
 encodings = T1 OT1 LY1
 derivate = no
-warning = The `french' date format may not be suitable\\for proper typesetting, and therefore very likely\\it will change in a future release.
 
 [captions]
 preface = Préface
@@ -76,7 +75,7 @@ proof = D\'emonstration
 glossary = Glossaire
 
 [date.gregorian]
-date.long = [d] [MMMM] [y]
+date.long = [d|date.day] [MMMM] [y]
 date.short = [d]/[MM]/[yy]
 months.wide.1 = janvier
 months.wide.2 = février
@@ -186,3 +185,4 @@ plusSign = +
 superscriptingExponent = ×
 
 [counters]
+date.day = 1\textsuperscript{er} 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
\ No newline at end of file
diff --git a/locale/fr/babel-fr-CA.ini b/locale/fr/babel-fr-CA.ini
index 9b51457..759f408 100644
--- a/locale/fr/babel-fr-CA.ini
+++ b/locale/fr/babel-fr-CA.ini
@@ -28,7 +28,6 @@ script.tag.opentype = latn
 level = 1
 encodings = T1 OT1 LY1
 derivate = no
-warning = The `french' date format may not be suitable\\for proper typesetting, and therefore very likely\\it will change in a future release.
 
 [captions]
 preface = Préface
@@ -77,7 +76,7 @@ proof = D\'emonstration
 glossary = Glossaire
 
 [date.gregorian]
-date.long = [d] [MMMM] [y]
+date.long = [d|date.day] [MMMM] [y]
 date.short = [yy]-[MM]-[dd]
 months.wide.1 = janvier
 months.wide.2 = février
@@ -187,3 +186,4 @@ plusSign = +
 superscriptingExponent = ×
 
 [counters]
+date.day = 1\textsuperscript{er} 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
\ No newline at end of file
diff --git a/locale/fr/babel-fr-CH.ini b/locale/fr/babel-fr-CH.ini
index 93864e9..a37518c 100644
--- a/locale/fr/babel-fr-CH.ini
+++ b/locale/fr/babel-fr-CH.ini
@@ -28,7 +28,6 @@ script.tag.opentype = latn
 level = 1
 encodings = T1 OT1 LY1
 derivate = no
-warning = The `french' date format may not be suitable\\for proper typesetting, and therefore very likely\\it will change in a future release.
 
 [captions]
 preface = Préface
@@ -77,7 +76,7 @@ proof = D\'emonstration
 glossary = Glossaire
 
 [date.gregorian]
-date.long = [d] [MMMM] [y]
+date.long = [d|date.day] [MMMM] [y]
 date.short = [dd].[MM].[yy]
 months.wide.1 = janvier
 months.wide.2 = février
@@ -187,3 +186,4 @@ plusSign = +
 superscriptingExponent = ×
 
 [counters]
+date.day = 1\textsuperscript{er} 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
\ No newline at end of file
diff --git a/locale/fr/babel-fr-LU.ini b/locale/fr/babel-fr-LU.ini
index f070696..05e2f5f 100644
--- a/locale/fr/babel-fr-LU.ini
+++ b/locale/fr/babel-fr-LU.ini
@@ -28,7 +28,6 @@ script.tag.opentype = latn
 level = 1
 encodings = T1 OT1 LY1
 derivate = no
-warning = The `french' date format may not be suitable\\for proper typesetting, and therefore very likely\\it will change in a future release.
 
 [captions]
 preface = Préface
@@ -77,7 +76,7 @@ proof = D\'emonstration
 glossary = Glossaire
 
 [date.gregorian]
-date.long = [d] [MMMM] [y]
+date.long = [d|date.day] [MMMM] [y]
 date.short = [dd]/[MM]/[y]
 months.wide.1 = janvier
 months.wide.2 = février
@@ -187,3 +186,4 @@ plusSign = +
 superscriptingExponent = ×
 
 [counters]
+date.day = 1\textsuperscript{er} 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
\ No newline at end of file
diff --git a/locale/fr/babel-fr.ini b/locale/fr/babel-fr.ini
index b80f066..9436871 100644
--- a/locale/fr/babel-fr.ini
+++ b/locale/fr/babel-fr.ini
@@ -26,7 +26,6 @@ script.tag.opentype = latn
 level = 1
 encodings = T1 OT1 LY1
 derivate = no
-warning = The `french' date format may not be suitable\\for proper typesetting, and therefore very likely\\it will change in a future release.
 
 [captions]
 preface = Préface
@@ -75,7 +74,7 @@ proof = D\'emonstration
 glossary = Glossaire
 
 [date.gregorian]
-date.long = [d] [MMMM] [y]
+date.long = [d|date.day] [MMMM] [y]
 date.short = [dd]/[MM]/[y]
 months.wide.1 = janvier
 months.wide.2 = février
@@ -185,3 +184,4 @@ plusSign = +
 superscriptingExponent = ×
 
 [counters]
+date.day = 1\textsuperscript{er} 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
\ No newline at end of file





More information about the latex3-commits mailing list.