diff options
Diffstat (limited to 'Master/texmf-dist/tex')
3 files changed, 52 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/datetime2-italian/datetime2-italian-ascii.ldf b/Master/texmf-dist/tex/latex/datetime2-italian/datetime2-italian-ascii.ldf index 33860795e56..f83de42e9fa 100644 --- a/Master/texmf-dist/tex/latex/datetime2-italian/datetime2-italian-ascii.ldf +++ b/Master/texmf-dist/tex/latex/datetime2-italian/datetime2-italian-ascii.ldf @@ -18,6 +18,7 @@ %% version 2005/12/01 or later. %% %% The Current Maintainer of this work is Claudio Duchi +%% claduc at libero dot it %% %% This work has the LPPL maintenance status `maintained'. %% @@ -41,7 +42,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesDateTimeModule{italian-ascii}[2015/04/10 v1.1] +\ProvidesDateTimeModule{italian-ascii}[2015/05/01 v1.3] \newcommand*{\DTMitalianordinal}[1]{% \number#1 }% diff --git a/Master/texmf-dist/tex/latex/datetime2-italian/datetime2-italian-utf8.ldf b/Master/texmf-dist/tex/latex/datetime2-italian/datetime2-italian-utf8.ldf index cdfdff542b6..de779cd51a2 100644 --- a/Master/texmf-dist/tex/latex/datetime2-italian/datetime2-italian-utf8.ldf +++ b/Master/texmf-dist/tex/latex/datetime2-italian/datetime2-italian-utf8.ldf @@ -18,6 +18,7 @@ %% version 2005/12/01 or later. %% %% The Current Maintainer of this work is Claudio Duchi +%% claduc at libero dot it %% %% This work has the LPPL maintenance status `maintained'. %% @@ -41,12 +42,13 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesDateTimeModule{italian-utf8}[2015/04/10 v1.1] +\ProvidesDateTimeModule{italian-utf8}[2015/05/01 v1.3] \newcommand*{\DTMitalianordinal}[1]{% \number#1 }% \newcommand*{\DTMitalianmonthname}[1]{% \ifcase#1 + \or gennaio% \or febbraio% @@ -72,7 +74,6 @@ dicembre% \fi } - \newcommand*{\DTMitalianweekdayname}[1]{% \ifcase#1 lunedì% @@ -92,6 +93,7 @@ } \newcommand*{\DTMitalianshortmonthname}[1]{% \ifcase#1 +\or gen.% \or feb.% diff --git a/Master/texmf-dist/tex/latex/datetime2-italian/datetime2-italian.ldf b/Master/texmf-dist/tex/latex/datetime2-italian/datetime2-italian.ldf index 968f59a5133..3420014bd74 100644 --- a/Master/texmf-dist/tex/latex/datetime2-italian/datetime2-italian.ldf +++ b/Master/texmf-dist/tex/latex/datetime2-italian/datetime2-italian.ldf @@ -18,6 +18,7 @@ %% version 2005/12/01 or later. %% %% The Current Maintainer of this work is Claudio Duchi +%% claduc at libero dot it %% %% This work has the LPPL maintenance status `maintained'. %% @@ -41,7 +42,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesDateTimeModule{italian}[2015/04/10 v1.1] +\ProvidesDateTimeModule{italian}[2015/05/01 v1.3] \RequirePackage{ifxetex,ifluatex} \ifxetex \RequireDateTimeModule{italian-utf8} @@ -132,7 +133,7 @@ }% {% time style \renewcommand*\DTMitaliantimesep{\DTMitaliantimesep}% -\DTMsettimestyle{default}%ampm +\DTMsettimestyle{default}% }% {% zone style \DTMresetzones @@ -290,11 +291,53 @@ \fi }% }% + \DTMnewtimestyle + {italian-twenty-four}% label + {% + \renewcommand*\DTMdisplaytime[3]{% + \ifnum##2=0 + \ifnum##1=12 + \DTMtexorpdfstring + {\DTMitalianampmfmt{\DTMitaliannoon}}% + {\DTMitaliannoon}% + \else + \ifnum##1=0 + \DTMtexorpdfstring + {\DTMitalianampmfmt{\DTMitalianmidnight}}% + {\DTMitalianmidnight}% + \else + \ifnum##1=24 + \DTMtexorpdfstring + {\DTMitalianampmfmt{\DTMitalianmidnight}}% + {\DTMitalianmidnight}% + \else + \ifnum##1<12 + \DTMtwodigits{##1}\DTMitaliantimesep\DTMtwodigits{##2}% + \else + \DTMtwodigits{##1}\DTMitaliantimesep\DTMtwodigits{##2}% + \fi + \fi + \fi + \fi + \else + \ifnum##1<13 + \ifnum##1=0 + \DTMtwodigits{##1}% + \else + \DTMtwodigits{##1}\relax + \fi + \DTMitaliantimesep\DTMtwodigits{##2}% + \else + \DTMtwodigits{##1}\relax + \DTMitaliantimesep\DTMtwodigits{##2}% + \fi + \fi + }% + }% \newcommand*{\DTMitalianzonemaps}{% \DTMdefzonemap{01}{00}{CET}% \DTMdefzonemap{02}{00}{CEST}% } - \DTMifcaseregional {}% do nothing {\DTMsetstyle{italian}} |