diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/datetime/dt-french.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/datetime/dt-french.def | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/datetime/dt-french.def b/Master/texmf-dist/tex/latex/datetime/dt-french.def index d2aa9887a87..e024d904ccf 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-french.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-french.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-french.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -94,6 +94,27 @@ Month numbers should go from 1 (janvier) to 12 (decembre)}% \number\@day\ifnum\@day=1{\ier}\fi\space \monthnamefrench[\@month]\space \number\@year}}% \global\let\datefrench\datefrench +\providecommand{\shortmonthnamefrench}[1][\month]{% +\@orgargctr=#1\relax +\ifcase\@orgargctr +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 (jan.) to 12 (dec.)}% +\or jan.% +\or f\'evr.% +\or mars% +\or avr.% +\or mai% +\or juin% +\or juill.% +\or ao\^ut% +\or sept.% +\or oct.% +\or nov.% +\or d\'ec.% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 (jan.) to 12 (dec.)}% +\fi} \endinput %% %% End of file `dt-french.def'. |