diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic')
-rw-r--r-- | Master/texmf-dist/tex/generic/babel-italian/italian.ldf | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/generic/babel-italian/italian.ldf b/Master/texmf-dist/tex/generic/babel-italian/italian.ldf index 07ec53a80d0..52e40b89f68 100644 --- a/Master/texmf-dist/tex/generic/babel-italian/italian.ldf +++ b/Master/texmf-dist/tex/generic/babel-italian/italian.ldf @@ -7,12 +7,12 @@ %% italian.dtx (with options: `code') %% ------------------------------------------ %% The Italian support for babel: italian.ldf. -%% Copyright (C) 1990-2019 Claudio Beccari +%% Copyright (C) 1990-2020 Claudio Beccari %% All rights reserved %% %% License information appended. \ProvidesLanguage{italian} - [2019/11/16 v.1.4.03 Italian support for the babel system] + [2020/05/21 v.1.4.04 Italian support for the babel system] %% %% Please report errors to: claudio dot beccari at gmail dot com %% @@ -43,8 +43,15 @@ \def\proofname{Dimostrazione}% \def\glossaryname{Glossario}% }% +\newif\ifOrdinalDayNumber \OrdinalDayNumberfalse +\def\OrdinalDayNumberOn{\OrdinalDayNumbertrue} +\def\OrdinalDayNumberOff{\OrdinalDayNumberfalse} \def\dateitalian{% - \def\today{\number\day~\ifcase\month\or + \def\today{\ifnum\number\day=\@ne + \ifOrdinalDayNumber1\ap{o}\else1\fi + \else + \number\day + \fi~\ifcase\month\or gennaio\or febbraio\or marzo\or aprile\or maggio\or giugno\or luglio\or agosto\or settembre\or ottobre\or novembre\or dicembre\fi\space \number\year}}% @@ -92,8 +99,6 @@ J\or K\or L\or M\or N\or O\or P\or Q\or R\or S\or T\or U\or V\or W\or X\or Y\or Z\else\@ctrerr\fi \fi}% - - \newcount\it@doublequoteactive \it@doublequoteactive=\z@ \def\setactivedoublequote{\it@doublequoteactive=\@ne} {\catcode`"=12 \global\let\it@doublequote"} |