From 80a7fe00c064153e0b219f08bb590fdca4a6f3d1 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 1 Apr 2015 20:44:19 +0000 Subject: datetime2-* git-svn-id: svn://tug.org/texlive/trunk@36700 c570f23f-e606-0410-a88d-b1316a301751 --- .../datetime2-slovak/datetime2-slovak-ascii.ldf | 104 +++++++++ .../datetime2-slovak/datetime2-slovak-utf8.ldf | 104 +++++++++ .../latex/datetime2-slovak/datetime2-slovak.ldf | 233 ++++++++++++++++++++ .../datetime2-slovene/datetime2-slovene-ascii.ldf | 104 +++++++++ .../datetime2-slovene/datetime2-slovene-utf8.ldf | 104 +++++++++ .../latex/datetime2-slovene/datetime2-slovene.ldf | 233 ++++++++++++++++++++ .../datetime2-swedish/datetime2-swedish-ascii.ldf | 138 ++++++++++++ .../datetime2-swedish/datetime2-swedish-utf8.ldf | 138 ++++++++++++ .../latex/datetime2-swedish/datetime2-swedish.ldf | 233 ++++++++++++++++++++ .../datetime2-turkish/datetime2-turkish-ascii.ldf | 76 +++++++ .../datetime2-turkish/datetime2-turkish-utf8.ldf | 76 +++++++ .../latex/datetime2-turkish/datetime2-turkish.ldf | 207 ++++++++++++++++++ .../datetime2-ukrainian-ascii.ldf | 128 +++++++++++ .../datetime2-ukrainian-utf8.ldf | 108 +++++++++ .../datetime2-ukrainian/datetime2-ukrainian.ldf | 229 ++++++++++++++++++++ .../datetime2-usorbian-ascii.ldf | 160 ++++++++++++++ .../datetime2-usorbian/datetime2-usorbian-utf8.ldf | 160 ++++++++++++++ .../datetime2-usorbian/datetime2-usorbian.ldf | 241 +++++++++++++++++++++ 18 files changed, 2776 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/datetime2-slovak/datetime2-slovak-ascii.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-slovak/datetime2-slovak-utf8.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-slovak/datetime2-slovak.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-slovene/datetime2-slovene-ascii.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-slovene/datetime2-slovene-utf8.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-slovene/datetime2-slovene.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-swedish/datetime2-swedish-ascii.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-swedish/datetime2-swedish-utf8.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-swedish/datetime2-swedish.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-turkish/datetime2-turkish-ascii.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-turkish/datetime2-turkish-utf8.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-turkish/datetime2-turkish.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-ukrainian/datetime2-ukrainian-ascii.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-ukrainian/datetime2-ukrainian-utf8.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-ukrainian/datetime2-ukrainian.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-usorbian/datetime2-usorbian-ascii.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-usorbian/datetime2-usorbian-utf8.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-usorbian/datetime2-usorbian.ldf (limited to 'Master/texmf-dist/tex') diff --git a/Master/texmf-dist/tex/latex/datetime2-slovak/datetime2-slovak-ascii.ldf b/Master/texmf-dist/tex/latex/datetime2-slovak/datetime2-slovak-ascii.ldf new file mode 100644 index 00000000000..d4eaa29275a --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-slovak/datetime2-slovak-ascii.ldf @@ -0,0 +1,104 @@ +%% +%% This is file `datetime2-slovak-ascii.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-slovak.dtx (with options: `datetime2-slovak-ascii.ldf,package') +%% +%% datetime2-slovak.dtx +%% 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 +%% of this license of (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `inactive'. +%% +%% This work consists of the files datetime2-slovak.dtx and +%% datetime2-slovak.ins and the derived files +%% datetime2-slovak-utf8.ldf, datetime2-slovak-ascii.ldf and +%% datetime2-slovak.ldf. +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\ProvidesDateTimeModule{slovak-ascii}[2015/04/01 v1.0] +\newcommand*{\DTMslovakordinal}[1]{% + \number#1.% +} +\newcommand*{\DTMslovakmonthname}[1]{% + \ifcase#1 + \or + janu\protect\'ara% + \or + febru\protect\'ara% + \or + marca% + \or + apr\protect\'{\protect\i}la% + \or + m\protect\'aja% + \or + j\protect\'una% + \or + j\protect\'ula% + \or + augusta% + \or + septembra% + \or + okt\protect\'obra% + \or + novembra% + \or + decembra% + \fi +} +\newcommand*{\DTMslovakMonthname}[1]{% + \ifcase#1 + \or + Janu\protect\'ara% + \or + Febru\protect\'ara% + \or + Marca% + \or + Apr\protect\'{\protect\i}la% + \or + M\protect\'aja% + \or + J\protect\'una% + \or + J\protect\'ula% + \or + Augusta% + \or + Septembra% + \or + Okt\protect\'obra% + \or + Novembra% + \or + Decembra% + \fi +} +\endinput +%% +%% End of file `datetime2-slovak-ascii.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-slovak/datetime2-slovak-utf8.ldf b/Master/texmf-dist/tex/latex/datetime2-slovak/datetime2-slovak-utf8.ldf new file mode 100644 index 00000000000..6733bbd6ac4 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-slovak/datetime2-slovak-utf8.ldf @@ -0,0 +1,104 @@ +%% +%% This is file `datetime2-slovak-utf8.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-slovak.dtx (with options: `datetime2-slovak-utf8.ldf,package') +%% +%% datetime2-slovak.dtx +%% 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 +%% of this license of (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `inactive'. +%% +%% This work consists of the files datetime2-slovak.dtx and +%% datetime2-slovak.ins and the derived files +%% datetime2-slovak-utf8.ldf, datetime2-slovak-ascii.ldf and +%% datetime2-slovak.ldf. +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\ProvidesDateTimeModule{slovak-utf8}[2015/04/01 v1.0] +\newcommand*{\DTMslovakordinal}[1]{% + \number#1.% +} +\newcommand*{\DTMslovakmonthname}[1]{% + \ifcase#1 + \or + januára% + \or + februára% + \or + marca% + \or + apríla% + \or + mája% + \or + júna% + \or + júla% + \or + augusta% + \or + septembra% + \or + októbra% + \or + novembra% + \or + decembra% + \fi +} +\newcommand*{\DTMslovakMonthname}[1]{% + \ifcase#1 + \or + Januára% + \or + Februára% + \or + Marca% + \or + Apríla% + \or + Mája% + \or + Júna% + \or + Júla% + \or + Augusta% + \or + Septembra% + \or + Októbra% + \or + Novembra% + \or + Decembra% + \fi +} +\endinput +%% +%% End of file `datetime2-slovak-utf8.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-slovak/datetime2-slovak.ldf b/Master/texmf-dist/tex/latex/datetime2-slovak/datetime2-slovak.ldf new file mode 100644 index 00000000000..526d472048e --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-slovak/datetime2-slovak.ldf @@ -0,0 +1,233 @@ +%% +%% This is file `datetime2-slovak.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-slovak.dtx (with options: `datetime2-slovak.ldf,package') +%% +%% datetime2-slovak.dtx +%% 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 +%% of this license of (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `inactive'. +%% +%% This work consists of the files datetime2-slovak.dtx and +%% datetime2-slovak.ins and the derived files +%% datetime2-slovak-utf8.ldf, datetime2-slovak-ascii.ldf and +%% datetime2-slovak.ldf. +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\ProvidesDateTimeModule{slovak}[2015/04/01 v1.0] +\RequirePackage{ifxetex,ifluatex} +\ifxetex + \RequireDateTimeModule{slovak-utf8} +\else + \ifluatex + \RequireDateTimeModule{slovak-utf8} + \else + \RequireDateTimeModule{slovak-ascii} + \fi +\fi +\newcommand*{\DTMslovakdaymonthsep}{% + \DTMtexorpdfstring{\protect~}{\space}} +\newcommand*{\DTMslovakmonthyearsep}{\space} +\newcommand*{\DTMslovakdatetimesep}{\space} +\newcommand*{\DTMslovaktimezonesep}{\space} +\newcommand*{\DTMslovakdatesep}{.} +\newcommand*{\DTMslovaktimesep}{:} +\DTMdefkey{slovak}{daymonthsep}{\renewcommand*{\DTMslovakdaymonthsep}{#1}} +\DTMdefkey{slovak}{monthyearsep}{\renewcommand*{\DTMslovakmonthyearsep}{#1}} +\DTMdefkey{slovak}{datetimesep}{\renewcommand*{\DTMslovakdatetimesep}{#1}} +\DTMdefkey{slovak}{timezonesep}{\renewcommand*{\DTMslovaktimezonesep}{#1}} +\DTMdefkey{slovak}{datesep}{\renewcommand*{\DTMslovakdatesep}{#1}} +\DTMdefkey{slovak}{timesep}{\renewcommand*{\DTMslovaktimesep}{#1}} +\DTMdefboolkey{slovak}{mapzone}[true]{} +\DTMsetbool{slovak}{mapzone}{true} +\DTMdefboolkey{slovak}{showdayofmonth}[true]{} +\DTMsetbool{slovak}{showdayofmonth}{true} +\DTMdefboolkey{slovak}{showyear}[true]{} +\DTMsetbool{slovak}{showyear}{true} +\DTMnewstyle + {slovak}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{slovak}{showdayofmonth} + {% + \DTMslovakordinal{##3}% + \DTMslovakdaymonthsep + }% + {}% + \DTMslovakmonthname{##2}% + \DTMifbool{slovak}{showyear}% + {% + \DTMslovakmonthyearsep + \number##1 + }% + {}% + }% + \renewcommand*\DTMDisplaydate[4]{% + \DTMifbool{slovak}{showdayofmonth} + {% + \DTMslovakordinal{##3}% + \DTMslovakdaymonthsep + \DTMslovakmonthname{##2}% + }% + {% + \DTMslovakMonthname{##2}% + }% + \DTMifbool{slovak}{showyear}% + {% + \DTMslovakmonthyearsep + \number##1 + }% + {}% + }% + }% + {% time style (use default) + \DTMsettimestyle{default}% + }% + {% zone style + \DTMresetzones + \DTMslovakzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{slovak}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMslovaktimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMslovakdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMslovaktimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}[9]{% + \ifDTMshowdate + \DTMDisplaydate{##1}{##2}{##3}{##4}% + \DTMslovakdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMslovaktimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + }% +\DTMnewstyle + {slovak-numeric}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{slovak}{showdayofmonth}% + {% + \number##3 % space intended + \DTMslovakdatesep + }% + {}% + \number##2 % space intended + \DTMifbool{slovak}{showyear}% + {% + \DTMslovakdatesep + \number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}{\DTMdisplaydate}% + }% + {% time style + \renewcommand*\DTMdisplaytime[3]{% + \number##1 + \DTMslovaktimesep\DTMtwodigits{##2}% + \ifDTMshowseconds\DTMslovaktimesep\DTMtwodigits{##3}\fi + }% + }% + {% zone style + \DTMresetzones + \DTMslovakzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{slovak}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMslovaktimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMslovakdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMslovaktimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + } +\newcommand*{\DTMslovakzonemaps}{% + \DTMdefzonemap{01}{00}{CET}% + \DTMdefzonemap{02}{00}{CEST}% +} + +\DTMifcaseregional +{}% do nothing +{\DTMsetstyle{slovak}} +{\DTMsetstyle{slovak-numeric}} +\ifcsundef{date\CurrentTrackedDialect} +{% + \ifundef\dateslovak + {% do nothing + }% + {% + \def\dateslovak{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{slovak}}% + {\DTMsetstyle{slovak-numeric}}% + }% + }% +}% +{% + \csdef{date\CurrentTrackedDialect}{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{slovak}}% + {\DTMsetstyle{slovak-numeric}} + }% +}% +\endinput +%% +%% End of file `datetime2-slovak.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-slovene/datetime2-slovene-ascii.ldf b/Master/texmf-dist/tex/latex/datetime2-slovene/datetime2-slovene-ascii.ldf new file mode 100644 index 00000000000..7668b6daba3 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-slovene/datetime2-slovene-ascii.ldf @@ -0,0 +1,104 @@ +%% +%% This is file `datetime2-slovene-ascii.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-slovene.dtx (with options: `datetime2-slovene-ascii.ldf,package') +%% +%% datetime2-slovene.dtx +%% 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 +%% of this license of (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `inactive'. +%% +%% This work consists of the files datetime2-slovene.dtx and +%% datetime2-slovene.ins and the derived files +%% datetime2-slovene-utf8.ldf, datetime2-slovene-ascii.ldf and +%% datetime2-slovene.ldf. +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\ProvidesDateTimeModule{slovene-ascii}[2015/04/01 v1.0] +\newcommand*{\DTMsloveneordinal}[1]{% + \number#1.% +} +\newcommand*{\DTMslovenemonthname}[1]{% + \ifcase#1 + \or + januar% + \or + februar% + \or + marec% + \or + april% + \or + maj% + \or + junij% + \or + julij% + \or + avgust% + \or + september% + \or + oktober% + \or + november% + \or + december% + \fi +} +\newcommand*{\DTMsloveneMonthname}[1]{% + \ifcase#1 + \or + Januar% + \or + Februar% + \or + Marec% + \or + April% + \or + Maj% + \or + Junij% + \or + Julij% + \or + Avgust% + \or + September% + \or + Oktober% + \or + November% + \or + December% + \fi +} +\endinput +%% +%% End of file `datetime2-slovene-ascii.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-slovene/datetime2-slovene-utf8.ldf b/Master/texmf-dist/tex/latex/datetime2-slovene/datetime2-slovene-utf8.ldf new file mode 100644 index 00000000000..1630533f310 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-slovene/datetime2-slovene-utf8.ldf @@ -0,0 +1,104 @@ +%% +%% This is file `datetime2-slovene-utf8.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-slovene.dtx (with options: `datetime2-slovene-utf8.ldf,package') +%% +%% datetime2-slovene.dtx +%% 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 +%% of this license of (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `inactive'. +%% +%% This work consists of the files datetime2-slovene.dtx and +%% datetime2-slovene.ins and the derived files +%% datetime2-slovene-utf8.ldf, datetime2-slovene-ascii.ldf and +%% datetime2-slovene.ldf. +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\ProvidesDateTimeModule{slovene-utf8}[2015/04/01 v1.0] +\newcommand*{\DTMsloveneordinal}[1]{% + \number#1.% +} +\newcommand*{\DTMslovenemonthname}[1]{% + \ifcase#1 + \or + januar% + \or + februar% + \or + marec% + \or + april% + \or + maj% + \or + junij% + \or + julij% + \or + avgust% + \or + september% + \or + oktober% + \or + november% + \or + december% + \fi +} +\newcommand*{\DTMsloveneMonthname}[1]{% + \ifcase#1 + \or + Januar% + \or + Februar% + \or + Marec% + \or + April% + \or + Maj% + \or + Junij% + \or + Julij% + \or + Avgust% + \or + September% + \or + Oktober% + \or + November% + \or + December% + \fi +} +\endinput +%% +%% End of file `datetime2-slovene-utf8.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-slovene/datetime2-slovene.ldf b/Master/texmf-dist/tex/latex/datetime2-slovene/datetime2-slovene.ldf new file mode 100644 index 00000000000..7c906c77732 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-slovene/datetime2-slovene.ldf @@ -0,0 +1,233 @@ +%% +%% This is file `datetime2-slovene.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-slovene.dtx (with options: `datetime2-slovene.ldf,package') +%% +%% datetime2-slovene.dtx +%% 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 +%% of this license of (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `inactive'. +%% +%% This work consists of the files datetime2-slovene.dtx and +%% datetime2-slovene.ins and the derived files +%% datetime2-slovene-utf8.ldf, datetime2-slovene-ascii.ldf and +%% datetime2-slovene.ldf. +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\ProvidesDateTimeModule{slovene}[2015/04/01 v1.0] +\RequirePackage{ifxetex,ifluatex} +\ifxetex + \RequireDateTimeModule{slovene-utf8} +\else + \ifluatex + \RequireDateTimeModule{slovene-utf8} + \else + \RequireDateTimeModule{slovene-ascii} + \fi +\fi +\newcommand*{\DTMslovenedaymonthsep}{% + \DTMtexorpdfstring{\protect~}{\space}} +\newcommand*{\DTMslovenemonthyearsep}{\space} +\newcommand*{\DTMslovenedatetimesep}{\space} +\newcommand*{\DTMslovenetimezonesep}{\space} +\newcommand*{\DTMslovenedatesep}{.} +\newcommand*{\DTMslovenetimesep}{:} +\DTMdefkey{slovene}{daymonthsep}{\renewcommand*{\DTMslovenedaymonthsep}{#1}} +\DTMdefkey{slovene}{monthyearsep}{\renewcommand*{\DTMslovenemonthyearsep}{#1}} +\DTMdefkey{slovene}{datetimesep}{\renewcommand*{\DTMslovenedatetimesep}{#1}} +\DTMdefkey{slovene}{timezonesep}{\renewcommand*{\DTMslovenetimezonesep}{#1}} +\DTMdefkey{slovene}{datesep}{\renewcommand*{\DTMslovenedatesep}{#1}} +\DTMdefkey{slovene}{timesep}{\renewcommand*{\DTMslovenetimesep}{#1}} +\DTMdefboolkey{slovene}{mapzone}[true]{} +\DTMsetbool{slovene}{mapzone}{true} +\DTMdefboolkey{slovene}{showdayofmonth}[true]{} +\DTMsetbool{slovene}{showdayofmonth}{true} +\DTMdefboolkey{slovene}{showyear}[true]{} +\DTMsetbool{slovene}{showyear}{true} +\DTMnewstyle + {slovene}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{slovene}{showdayofmonth} + {% + \DTMsloveneordinal{##3}% + \DTMslovenedaymonthsep + }% + {}% + \DTMslovenemonthname{##2}% + \DTMifbool{slovene}{showyear}% + {% + \DTMslovenemonthyearsep + \number##1 + }% + {}% + }% + \renewcommand*\DTMDisplaydate[4]{% + \DTMifbool{slovene}{showdayofmonth} + {% + \DTMsloveneordinal{##3}% + \DTMslovenedaymonthsep + \DTMslovenemonthname{##2}% + }% + {% + \DTMsloveneMonthname{##2}% + }% + \DTMifbool{slovene}{showyear}% + {% + \DTMslovenemonthyearsep + \number##1 + }% + {}% + }% + }% + {% time style (use default) + \DTMsettimestyle{default}% + }% + {% zone style + \DTMresetzones + \DTMslovenezonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{slovene}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMslovenetimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMslovenedatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMslovenetimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}[9]{% + \ifDTMshowdate + \DTMDisplaydate{##1}{##2}{##3}{##4}% + \DTMslovenedatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMslovenetimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + }% +\DTMnewstyle + {slovene-numeric}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{slovene}{showdayofmonth}% + {% + \number##3 % space intended + \DTMslovenedatesep + }% + {}% + \number##2 % space intended + \DTMifbool{slovene}{showyear}% + {% + \DTMslovenedatesep + \number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}{\DTMdisplaydate}% + }% + {% time style + \renewcommand*\DTMdisplaytime[3]{% + \number##1 + \DTMslovenetimesep\DTMtwodigits{##2}% + \ifDTMshowseconds\DTMslovenetimesep\DTMtwodigits{##3}\fi + }% + }% + {% zone style + \DTMresetzones + \DTMslovenezonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{slovene}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMslovenetimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMslovenedatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMslovenetimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + } +\newcommand*{\DTMslovenezonemaps}{% + \DTMdefzonemap{01}{00}{CET}% + \DTMdefzonemap{02}{00}{CEST}% +} + +\DTMifcaseregional +{}% do nothing +{\DTMsetstyle{slovene}} +{\DTMsetstyle{slovene-numeric}} +\ifcsundef{date\CurrentTrackedDialect} +{% + \ifundef\dateslovene + {% do nothing + }% + {% + \def\dateslovene{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{slovene}}% + {\DTMsetstyle{slovene-numeric}}% + }% + }% +}% +{% + \csdef{date\CurrentTrackedDialect}{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{slovene}}% + {\DTMsetstyle{slovene-numeric}} + }% +}% +\endinput +%% +%% End of file `datetime2-slovene.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-swedish/datetime2-swedish-ascii.ldf b/Master/texmf-dist/tex/latex/datetime2-swedish/datetime2-swedish-ascii.ldf new file mode 100644 index 00000000000..2ad208e2ca5 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-swedish/datetime2-swedish-ascii.ldf @@ -0,0 +1,138 @@ +%% +%% This is file `datetime2-swedish-ascii.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-swedish.dtx (with options: `datetime2-swedish-ascii.ldf,package') +%% +%% datetime2-swedish.dtx +%% 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 +%% of this license of (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `inactive'. +%% +%% This work consists of the files datetime2-swedish.dtx and +%% datetime2-swedish.ins and the derived files +%% datetime2-swedish-utf8.ldf, datetime2-swedish-ascii.ldf and +%% datetime2-swedish.ldf. +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\ProvidesDateTimeModule{swedish-ascii}[2015/04/01 v1.0] +\newcommand*{\DTMswedishordinal}[1]{% + \number#1 +} +\newcommand*{\DTMswedishmonthname}[1]{% + \ifcase#1 + \or + januari% + \or + februari% + \or + mars% + \or + april% + \or + maj% + \or + juni% + \or + juli% + \or + augusti% + \or + september% + \or + oktober% + \or + november% + \or + december% + \fi +} +\newcommand*{\DTMswedishMonthname}[1]{% + \ifcase#1 + \or + Januari% + \or + Februari% + \or + Mars% + \or + April% + \or + Maj% + \or + Juni% + \or + Juli% + \or + Augusti% + \or + September% + \or + Oktober% + \or + November% + \or + December% + \fi +} +\newcommand*{\DTMswedishweekdayname}[1]{% + \ifcase#1 + m\protect\aa ndag% + \or + tisdag% + \or + onsdag% + \or + torsdag% + \or + fredag% + \or + l\protect\"ordag% + \or + s\protect\"ondag% + \fi +} +\newcommand*{\DTMswedishWeekdayname}[1]{% + \ifcase#1 + M\protect\aa ndag% + \or + Tisdag% + \or + Onsdag% + \or + Torsdag% + \or + Fredag% + \or + L\protect\"ordag% + \or + S\protect\"ondag% + \fi +} +\endinput +%% +%% End of file `datetime2-swedish-ascii.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-swedish/datetime2-swedish-utf8.ldf b/Master/texmf-dist/tex/latex/datetime2-swedish/datetime2-swedish-utf8.ldf new file mode 100644 index 00000000000..2c1a1af9aad --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-swedish/datetime2-swedish-utf8.ldf @@ -0,0 +1,138 @@ +%% +%% This is file `datetime2-swedish-utf8.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-swedish.dtx (with options: `datetime2-swedish-utf8.ldf,package') +%% +%% datetime2-swedish.dtx +%% 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 +%% of this license of (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `inactive'. +%% +%% This work consists of the files datetime2-swedish.dtx and +%% datetime2-swedish.ins and the derived files +%% datetime2-swedish-utf8.ldf, datetime2-swedish-ascii.ldf and +%% datetime2-swedish.ldf. +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\ProvidesDateTimeModule{swedish-utf8}[2015/04/01 v1.0] +\newcommand*{\DTMswedishordinal}[1]{% + \number#1 +} +\newcommand*{\DTMswedishmonthname}[1]{% + \ifcase#1 + \or + januari% + \or + februari% + \or + mars% + \or + april% + \or + maj% + \or + juni% + \or + juli% + \or + augusti% + \or + september% + \or + oktober% + \or + november% + \or + december% + \fi +} +\newcommand*{\DTMswedishMonthname}[1]{% + \ifcase#1 + \or + Januari% + \or + Februari% + \or + Mars% + \or + April% + \or + Maj% + \or + Juni% + \or + Juli% + \or + Augusti% + \or + September% + \or + Oktober% + \or + November% + \or + December% + \fi +} +\newcommand*{\DTMswedishweekdayname}[1]{% + \ifcase#1 + måndag% + \or + tisdag% + \or + onsdag% + \or + torsdag% + \or + fredag% + \or + lördag% + \or + söndag% + \fi +} +\newcommand*{\DTMswedishWeekdayname}[1]{% + \ifcase#1 + Måndag% + \or + Tisdag% + \or + Onsdag% + \or + Torsdag% + \or + Fredag% + \or + Lördag% + \or + Söndag% + \fi +} +\endinput +%% +%% End of file `datetime2-swedish-utf8.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-swedish/datetime2-swedish.ldf b/Master/texmf-dist/tex/latex/datetime2-swedish/datetime2-swedish.ldf new file mode 100644 index 00000000000..ffe897c74c5 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-swedish/datetime2-swedish.ldf @@ -0,0 +1,233 @@ +%% +%% This is file `datetime2-swedish.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-swedish.dtx (with options: `datetime2-swedish.ldf,package') +%% +%% datetime2-swedish.dtx +%% 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 +%% of this license of (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `inactive'. +%% +%% This work consists of the files datetime2-swedish.dtx and +%% datetime2-swedish.ins and the derived files +%% datetime2-swedish-utf8.ldf, datetime2-swedish-ascii.ldf and +%% datetime2-swedish.ldf. +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\ProvidesDateTimeModule{swedish}[2015/04/01 v1.0] +\RequirePackage{ifxetex,ifluatex} +\ifxetex + \RequireDateTimeModule{swedish-utf8} +\else + \ifluatex + \RequireDateTimeModule{swedish-utf8} + \else + \RequireDateTimeModule{swedish-ascii} + \fi +\fi +\newcommand*{\DTMswedishdaymonthsep}{% + \DTMtexorpdfstring{\protect~}{\space}} +\newcommand*{\DTMswedishmonthyearsep}{\space} +\newcommand*{\DTMswedishdatetimesep}{\space} +\newcommand*{\DTMswedishtimezonesep}{\space} +\newcommand*{\DTMswedishdatesep}{.} +\newcommand*{\DTMswedishtimesep}{:} +\DTMdefkey{swedish}{daymonthsep}{\renewcommand*{\DTMswedishdaymonthsep}{#1}} +\DTMdefkey{swedish}{monthyearsep}{\renewcommand*{\DTMswedishmonthyearsep}{#1}} +\DTMdefkey{swedish}{datetimesep}{\renewcommand*{\DTMswedishdatetimesep}{#1}} +\DTMdefkey{swedish}{timezonesep}{\renewcommand*{\DTMswedishtimezonesep}{#1}} +\DTMdefkey{swedish}{datesep}{\renewcommand*{\DTMswedishdatesep}{#1}} +\DTMdefkey{swedish}{timesep}{\renewcommand*{\DTMswedishtimesep}{#1}} +\DTMdefboolkey{swedish}{mapzone}[true]{} +\DTMsetbool{swedish}{mapzone}{true} +\DTMdefboolkey{swedish}{showdayofmonth}[true]{} +\DTMsetbool{swedish}{showdayofmonth}{true} +\DTMdefboolkey{swedish}{showyear}[true]{} +\DTMsetbool{swedish}{showyear}{true} +\DTMnewstyle + {swedish}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{swedish}{showdayofmonth} + {% + \DTMswedishordinal{##3}% + \DTMswedishdaymonthsep + }% + {}% + \DTMswedishmonthname{##2}% + \DTMifbool{swedish}{showyear}% + {% + \DTMswedishmonthyearsep + \number##1 + }% + {}% + }% + \renewcommand*\DTMDisplaydate[4]{% + \DTMifbool{swedish}{showdayofmonth} + {% + \DTMswedishordinal{##3}% + \DTMswedishdaymonthsep + \DTMswedishmonthname{##2}% + }% + {% + \DTMswedishMonthname{##2}% + }% + \DTMifbool{swedish}{showyear}% + {% + \DTMswedishmonthyearsep + \number##1 + }% + {}% + }% + }% + {% time style (use default) + \DTMsettimestyle{default}% + }% + {% zone style + \DTMresetzones + \DTMswedishzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{swedish}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMswedishtimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMswedishdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMswedishtimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}[9]{% + \ifDTMshowdate + \DTMDisplaydate{##1}{##2}{##3}{##4}% + \DTMswedishdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMswedishtimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + }% +\DTMnewstyle + {swedish-numeric}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{swedish}{showdayofmonth}% + {% + \number##3 % space intended + \DTMswedishdatesep + }% + {}% + \number##2 % space intended + \DTMifbool{swedish}{showyear}% + {% + \DTMswedishdatesep + \number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}{\DTMdisplaydate}% + }% + {% time style + \renewcommand*\DTMdisplaytime[3]{% + \number##1 + \DTMswedishtimesep\DTMtwodigits{##2}% + \ifDTMshowseconds\DTMswedishtimesep\DTMtwodigits{##3}\fi + }% + }% + {% zone style + \DTMresetzones + \DTMswedishzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{swedish}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMswedishtimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMswedishdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMswedishtimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + } +\newcommand*{\DTMswedishzonemaps}{% + \DTMdefzonemap{01}{00}{CET}% + \DTMdefzonemap{02}{00}{CEST}% +} + +\DTMifcaseregional +{}% do nothing +{\DTMsetstyle{swedish}} +{\DTMsetstyle{swedish-numeric}} +\ifcsundef{date\CurrentTrackedDialect} +{% + \ifundef\dateswedish + {% do nothing + }% + {% + \def\dateswedish{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{swedish}}% + {\DTMsetstyle{swedish-numeric}}% + }% + }% +}% +{% + \csdef{date\CurrentTrackedDialect}{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{swedish}}% + {\DTMsetstyle{swedish-numeric}} + }% +}% +\endinput +%% +%% End of file `datetime2-swedish.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-turkish/datetime2-turkish-ascii.ldf b/Master/texmf-dist/tex/latex/datetime2-turkish/datetime2-turkish-ascii.ldf new file mode 100644 index 00000000000..bdf8fc64688 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-turkish/datetime2-turkish-ascii.ldf @@ -0,0 +1,76 @@ +%% +%% This is file `datetime2-turkish-ascii.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-turkish.dtx (with options: `datetime2-turkish-ascii.ldf,package') +%% +%% datetime2-turkish.dtx +%% 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 +%% of this license of (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `inactive'. +%% +%% This work consists of the files datetime2-turkish.dtx and +%% datetime2-turkish.ins and the derived files +%% datetime2-turkish-utf8.ldf, datetime2-turkish-ascii.ldf and +%% datetime2-turkish.ldf. +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\ProvidesDateTimeModule{turkish-ascii}[2015/04/01 v1.0] +\newcommand*{\DTMturkishordinal}[1]{% + \number#1 +} +\newcommand*{\DTMturkishmonthname}[1]{% + \ifcase#1 + \or + Ocak% + \or + \protect\c Subat% + \or + Mart% + \or + Nisan% + \or + May\protect\i s% + \or + Haziran% + \or + Temmuz% + \or + A\protect\u gustos% + \or + Eyl\protect\"ul% + \or + Ekim% + \or + Kas\protect\i m% + \or + Aral\protect\i k% + \fi +} +\endinput +%% +%% End of file `datetime2-turkish-ascii.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-turkish/datetime2-turkish-utf8.ldf b/Master/texmf-dist/tex/latex/datetime2-turkish/datetime2-turkish-utf8.ldf new file mode 100644 index 00000000000..c68b7e34a71 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-turkish/datetime2-turkish-utf8.ldf @@ -0,0 +1,76 @@ +%% +%% This is file `datetime2-turkish-utf8.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-turkish.dtx (with options: `datetime2-turkish-utf8.ldf,package') +%% +%% datetime2-turkish.dtx +%% 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 +%% of this license of (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `inactive'. +%% +%% This work consists of the files datetime2-turkish.dtx and +%% datetime2-turkish.ins and the derived files +%% datetime2-turkish-utf8.ldf, datetime2-turkish-ascii.ldf and +%% datetime2-turkish.ldf. +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\ProvidesDateTimeModule{turkish-utf8}[2015/04/01 v1.0] +\newcommand*{\DTMturkishordinal}[1]{% + \number#1 +} +\newcommand*{\DTMturkishmonthname}[1]{% + \ifcase#1 + \or + Ocak% + \or + Şubat% + \or + Mart% + \or + Nisan% + \or + Mayıs% + \or + Haziran% + \or + Temmuz% + \or + Ağustos% + \or + Eylül% + \or + Ekim% + \or + Kasım% + \or + Aralık% + \fi +} +\endinput +%% +%% End of file `datetime2-turkish-utf8.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-turkish/datetime2-turkish.ldf b/Master/texmf-dist/tex/latex/datetime2-turkish/datetime2-turkish.ldf new file mode 100644 index 00000000000..984e2577298 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-turkish/datetime2-turkish.ldf @@ -0,0 +1,207 @@ +%% +%% This is file `datetime2-turkish.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-turkish.dtx (with options: `datetime2-turkish.ldf,package') +%% +%% datetime2-turkish.dtx +%% 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 +%% of this license of (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `inactive'. +%% +%% This work consists of the files datetime2-turkish.dtx and +%% datetime2-turkish.ins and the derived files +%% datetime2-turkish-utf8.ldf, datetime2-turkish-ascii.ldf and +%% datetime2-turkish.ldf. +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\ProvidesDateTimeModule{turkish}[2015/04/01 v1.0] +\RequirePackage{ifxetex,ifluatex} +\ifxetex + \RequireDateTimeModule{turkish-utf8} +\else + \ifluatex + \RequireDateTimeModule{turkish-utf8} + \else + \RequireDateTimeModule{turkish-ascii} + \fi +\fi +\newcommand*{\DTMturkishdaymonthsep}{% + \DTMtexorpdfstring{\protect~}{\space}} +\newcommand*{\DTMturkishmonthyearsep}{\space} +\newcommand*{\DTMturkishdatetimesep}{\space} +\newcommand*{\DTMturkishtimezonesep}{\space} +\newcommand*{\DTMturkishdatesep}{.} +\newcommand*{\DTMturkishtimesep}{:} +\DTMdefkey{turkish}{daymonthsep}{\renewcommand*{\DTMturkishdaymonthsep}{#1}} +\DTMdefkey{turkish}{monthyearsep}{\renewcommand*{\DTMturkishmonthyearsep}{#1}} +\DTMdefkey{turkish}{datetimesep}{\renewcommand*{\DTMturkishdatetimesep}{#1}} +\DTMdefkey{turkish}{timezonesep}{\renewcommand*{\DTMturkishtimezonesep}{#1}} +\DTMdefkey{turkish}{datesep}{\renewcommand*{\DTMturkishdatesep}{#1}} +\DTMdefkey{turkish}{timesep}{\renewcommand*{\DTMturkishtimesep}{#1}} +\DTMdefboolkey{turkish}{mapzone}[true]{} +\DTMsetbool{turkish}{mapzone}{true} +\DTMdefboolkey{turkish}{showdayofmonth}[true]{} +\DTMsetbool{turkish}{showdayofmonth}{true} +\DTMdefboolkey{turkish}{showyear}[true]{} +\DTMsetbool{turkish}{showyear}{true} +\DTMnewstyle + {turkish}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{turkish}{showdayofmonth} + {% + \DTMturkishordinal{##3}% + \DTMturkishdaymonthsep + }% + {}% + \DTMturkishmonthname{##2}% + \DTMifbool{turkish}{showyear}% + {% + \DTMturkishmonthyearsep + \number##1 + }% + {}% + }% + \renewcommand*\DTMDisplaydate{\DTMdisplaydate}% + }% + {% time style (use default) + \DTMsettimestyle{default}% + }% + {% zone style + \DTMresetzones + \DTMturkishzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{turkish}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMturkishtimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMturkishdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMturkishtimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + }% +\DTMnewstyle + {turkish-numeric}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{turkish}{showdayofmonth}% + {% + \number##3 % space intended + \DTMturkishdatesep + }% + {}% + \number##2 % space intended + \DTMifbool{turkish}{showyear}% + {% + \DTMturkishdatesep + \number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}{\DTMdisplaydate}% + }% + {% time style + \renewcommand*\DTMdisplaytime[3]{% + \number##1 + \DTMturkishtimesep\DTMtwodigits{##2}% + \ifDTMshowseconds\DTMturkishtimesep\DTMtwodigits{##3}\fi + }% + }% + {% zone style + \DTMresetzones + \DTMturkishzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{turkish}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMturkishtimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMturkishdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMturkishtimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + } +\newcommand*{\DTMturkishzonemaps}{% + \DTMdefzonemap{02}{00}{EET}% + \DTMdefzonemap{03}{00}{EEST}% +} + +\DTMifcaseregional +{}% do nothing +{\DTMsetstyle{turkish}} +{\DTMsetstyle{turkish-numeric}} +\ifcsundef{date\CurrentTrackedDialect} +{% + \ifundef\dateturkish + {% do nothing + }% + {% + \def\dateturkish{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{turkish}}% + {\DTMsetstyle{turkish-numeric}}% + }% + }% +}% +{% + \csdef{date\CurrentTrackedDialect}{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{turkish}}% + {\DTMsetstyle{turkish-numeric}} + }% +}% +\endinput +%% +%% End of file `datetime2-turkish.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-ukrainian/datetime2-ukrainian-ascii.ldf b/Master/texmf-dist/tex/latex/datetime2-ukrainian/datetime2-ukrainian-ascii.ldf new file mode 100644 index 00000000000..a48c7bcdaf5 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-ukrainian/datetime2-ukrainian-ascii.ldf @@ -0,0 +1,128 @@ +%% +%% This is file `datetime2-ukrainian-ascii.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-ukrainian.dtx (with options: `datetime2-ukrainian-ascii.ldf,package') +%% +%% datetime2-ukrainian.dtx +%% 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 +%% of this license of (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `inactive'. +%% +%% This work consists of the files datetime2-ukrainian.dtx and +%% datetime2-ukrainian.ins and the derived files +%% datetime2-ukrainian-utf8.ldf, datetime2-ukrainian-ascii.ldf and +%% datetime2-ukrainian.ldf. +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\ProvidesDateTimeModule{ukrainian-ascii}[2015/04/01 v1.0] +\newcommand*{\DTMukrainianordinal}[1]{% + \number#1 +} +\newcommand*{\DTMukrainianyear}[1]{% + \number#1 + \DTMtexorpdfstring{\protect~}{\space}\protect\cyrr.% +} +\newcommand*{\DTMukrainianmonthname}[1]{% + \ifcase#1 + \or + \protect\cyrs\protect\cyrii\protect\cyrch\protect\cyrn\protect\cyrya + \or + \protect\cyrl\protect\cyryu\protect\cyrt\protect\cyro\protect\cyrg + \protect\cyro + \or + \protect\cyrb\protect\cyre\protect\cyrr\protect\cyre\protect\cyrz + \protect\cyrn\protect\cyrya + \or + \protect\cyrk\protect\cyrv\protect\cyrii\protect\cyrt\protect\cyrn + \protect\cyrya + \or + \protect\cyrt\protect\cyrr\protect\cyra\protect\cyrv\protect\cyrn + \protect\cyrya + \or + \protect\cyrch\protect\cyre\protect\cyrr\protect\cyrv\protect\cyrn + \protect\cyrya + \or + \protect\cyrl\protect\cyri\protect\cyrp\protect\cyrn\protect\cyrya + \or + \protect\cyrs\protect\cyre\protect\cyrr\protect\cyrp\protect\cyrn + \protect\cyrya + \or + \protect\cyrv\protect\cyre\protect\cyrr\protect\cyre\protect\cyrs + \protect\cyrn\protect\cyrya + \or + \protect\cyrzh\protect\cyro\protect\cyrv\protect\cyrt\protect\cyrn + \protect\cyrya + \or + \protect\cyrl\protect\cyri\protect\cyrs\protect\cyrt\protect\cyro + \protect\cyrp\protect\cyra\protect\cyrd\protect\cyra + \or + \protect\cyrg\protect\cyrr\protect\cyru\protect\cyrd\protect\cyrn + \protect\cyrya + \fi +} +\newcommand*{\DTMukrainianMonthname}[1]{% + \ifcase#1 + \or + \protect\CYRS\protect\cyrii\protect\cyrch\protect\cyrn\protect\cyrya + \or + \protect\CYRL\protect\cyryu\protect\cyrt\protect\cyro\protect\cyrg + \protect\cyro + \or + \protect\CYRB\protect\cyre\protect\cyrr\protect\cyre\protect\cyrz + \protect\cyrn\protect\cyrya + \or + \protect\CYRK\protect\cyrv\protect\cyrii\protect\cyrt\protect\cyrn + \protect\cyrya + \or + \protect\CYRT\protect\cyrr\protect\cyra\protect\cyrv\protect\cyrn + \protect\cyrya + \or + \protect\CYRCH\protect\cyre\protect\cyrr\protect\cyrv\protect\cyrn + \protect\cyrya + \or + \protect\CYRL\protect\cyri\protect\cyrp\protect\cyrn\protect\cyrya + \or + \protect\CYRS\protect\cyre\protect\cyrr\protect\cyrp\protect\cyrn + \protect\cyrya + \or + \protect\CYRV\protect\cyre\protect\cyrr\protect\cyre\protect\cyrs + \protect\cyrn\protect\cyrya + \or + \protect\CYRZH\protect\cyro\protect\cyrv\protect\cyrt\protect\cyrn + \protect\cyrya + \or + \protect\CYRL\protect\cyri\protect\cyrs\protect\cyrt\protect\cyro + \protect\cyrp\protect\cyra\protect\cyrd\protect\cyra + \or + \protect\CYRG\protect\cyrr\protect\cyru\protect\cyrd\protect\cyrn + \protect\cyrya + \fi +} +\endinput +%% +%% End of file `datetime2-ukrainian-ascii.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-ukrainian/datetime2-ukrainian-utf8.ldf b/Master/texmf-dist/tex/latex/datetime2-ukrainian/datetime2-ukrainian-utf8.ldf new file mode 100644 index 00000000000..b2f38c039b9 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-ukrainian/datetime2-ukrainian-utf8.ldf @@ -0,0 +1,108 @@ +%% +%% This is file `datetime2-ukrainian-utf8.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-ukrainian.dtx (with options: `datetime2-ukrainian-utf8.ldf,package') +%% +%% datetime2-ukrainian.dtx +%% 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 +%% of this license of (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `inactive'. +%% +%% This work consists of the files datetime2-ukrainian.dtx and +%% datetime2-ukrainian.ins and the derived files +%% datetime2-ukrainian-utf8.ldf, datetime2-ukrainian-ascii.ldf and +%% datetime2-ukrainian.ldf. +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\ProvidesDateTimeModule{ukrainian-utf8}[2015/04/01 v1.0] +\newcommand*{\DTMukrainianordinal}[1]{% + \number#1 +} +\newcommand*{\DTMukrainianyear}[1]{% + \number#1 + \DTMtexorpdfstring{\protect~}{\space}р.% +} +\newcommand*{\DTMukrainianmonthname}[1]{% + \ifcase#1 + \or + січня% + \or + лютого% + \or + березня% + \or + квітня% + \or + травня% + \or + червня% + \or + липня% + \or + серпня% + \or + вересня% + \or + жовтня% + \or + листопада% + \or + грудня% + \fi +} +\newcommand*{\DTMukrainianMonthname}[1]{% + \ifcase#1 + \or + Січня% + \or + Лютого% + \or + Березня% + \or + Квітня% + \or + Травня% + \or + Червня% + \or + Липня% + \or + Серпня% + \or + Вересня% + \or + Жовтня% + \or + Листопада% + \or + Грудня% + \fi +} +\endinput +%% +%% End of file `datetime2-ukrainian-utf8.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-ukrainian/datetime2-ukrainian.ldf b/Master/texmf-dist/tex/latex/datetime2-ukrainian/datetime2-ukrainian.ldf new file mode 100644 index 00000000000..05564019e9b --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-ukrainian/datetime2-ukrainian.ldf @@ -0,0 +1,229 @@ +%% +%% This is file `datetime2-ukrainian.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-ukrainian.dtx (with options: `datetime2-ukrainian.ldf,package') +%% +%% datetime2-ukrainian.dtx +%% 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 +%% of this license of (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `inactive'. +%% +%% This work consists of the files datetime2-ukrainian.dtx and +%% datetime2-ukrainian.ins and the derived files +%% datetime2-ukrainian-utf8.ldf, datetime2-ukrainian-ascii.ldf and +%% datetime2-ukrainian.ldf. +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\ProvidesDateTimeModule{ukrainian}[2015/04/01 v1.0] +\RequirePackage{ifxetex,ifluatex} +\ifxetex + \RequireDateTimeModule{ukrainian-utf8} +\else + \ifluatex + \RequireDateTimeModule{ukrainian-utf8} + \else + \RequireDateTimeModule{ukrainian-ascii} + \fi +\fi +\newcommand*{\DTMukrainiandaymonthsep}{% + \DTMtexorpdfstring{\protect~}{\space}} +\newcommand*{\DTMukrainianmonthyearsep}{\space} +\newcommand*{\DTMukrainiandatetimesep}{\space} +\newcommand*{\DTMukrainiantimezonesep}{\space} +\newcommand*{\DTMukrainiandatesep}{.} +\newcommand*{\DTMukrainiantimesep}{:} +\DTMdefkey{ukrainian}{daymonthsep}{\renewcommand*{\DTMukrainiandaymonthsep}{#1}} +\DTMdefkey{ukrainian}{monthyearsep}{\renewcommand*{\DTMukrainianmonthyearsep}{#1}} +\DTMdefkey{ukrainian}{datetimesep}{\renewcommand*{\DTMukrainiandatetimesep}{#1}} +\DTMdefkey{ukrainian}{timezonesep}{\renewcommand*{\DTMukrainiantimezonesep}{#1}} +\DTMdefkey{ukrainian}{datesep}{\renewcommand*{\DTMukrainiandatesep}{#1}} +\DTMdefkey{ukrainian}{timesep}{\renewcommand*{\DTMukrainiantimesep}{#1}} +\DTMdefboolkey{ukrainian}{mapzone}[true]{} +\DTMsetbool{ukrainian}{mapzone}{true} +\DTMdefboolkey{ukrainian}{showdayofmonth}[true]{} +\DTMsetbool{ukrainian}{showdayofmonth}{true} +\DTMdefboolkey{ukrainian}{showyear}[true]{} +\DTMsetbool{ukrainian}{showyear}{true} +\DTMnewstyle + {ukrainian}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{ukrainian}{showdayofmonth} + {\DTMukrainianordinal{##3}\DTMukrainiandaymonthsep}% + {}% + \DTMukrainianmonthname{##2}% + \DTMifbool{ukrainian}{showyear}% + {% + \DTMukrainianmonthyearsep + \DTMukrainianyear{##1}% + }% + {}% + }% + \renewcommand*\DTMDisplaydate[4]{% + \DTMifbool{ukrainian}{showdayofmonth} + {% + \DTMukrainianordinal{##3}\DTMukrainiandaymonthsep + \DTMukrainianmonthname{##2}% + }% + {% + \DTMukrainianMonthname{##2}% + }% + \DTMifbool{ukrainian}{showyear}% + {% + \DTMukrainianmonthyearsep + \DTMukrainianyear{##1}% + }% + {}% + }% + }% + {% time style (use default) + \DTMsettimestyle{default}% + }% + {% zone style + \DTMresetzones + \DTMukrainianzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{ukrainian}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMukrainiantimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMukrainiandatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMukrainiantimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}[9]{% + \ifDTMshowdate + \DTMDisplaydate{##1}{##2}{##3}{##4}% + \DTMukrainiandatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMukrainiantimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + }% +\DTMnewstyle + {ukrainian-numeric}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{ukrainian}{showdayofmonth}% + {% + \number##3 % space intended + \DTMukrainiandatesep + }% + {}% + \number##2 % space intended + \DTMifbool{ukrainian}{showyear}% + {% + \DTMukrainiandatesep + \number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}[4]{\DTMdisplaydate{##1}{##2}{##3}{##4}}% + }% + {% time style + \renewcommand*\DTMdisplaytime[3]{% + \number##1 + \DTMukrainiantimesep\DTMtwodigits{##2}% + \ifDTMshowseconds\DTMukrainiantimesep\DTMtwodigits{##3}\fi + }% + }% + {% zone style + \DTMresetzones + \DTMukrainianzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{ukrainian}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMukrainiantimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMukrainiandatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMukrainiantimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + } +\newcommand*{\DTMukrainianzonemaps}{% + \DTMdefzonemap{02}{00}{EET}% + \DTMdefzonemap{03}{00}{EEST}% +} + +\DTMifcaseregional +{}% do nothing +{\DTMsetstyle{ukrainian}} +{\DTMsetstyle{ukrainian-numeric}} +\ifcsundef{date\CurrentTrackedDialect} +{% + \ifundef\dateukrainian + {% do nothing + }% + {% + \def\dateukrainian{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{ukrainian}}% + {\DTMsetstyle{ukrainian-numeric}}% + }% + }% +}% +{% + \csdef{date\CurrentTrackedDialect}{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{ukrainian}}% + {\DTMsetstyle{ukrainian-numeric}} + }% +}% +\endinput +%% +%% End of file `datetime2-ukrainian.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-usorbian/datetime2-usorbian-ascii.ldf b/Master/texmf-dist/tex/latex/datetime2-usorbian/datetime2-usorbian-ascii.ldf new file mode 100644 index 00000000000..65ed9c85e5f --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-usorbian/datetime2-usorbian-ascii.ldf @@ -0,0 +1,160 @@ +%% +%% This is file `datetime2-usorbian-ascii.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-usorbian.dtx (with options: `datetime2-usorbian-ascii.ldf,package') +%% +%% datetime2-usorbian.dtx +%% 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 +%% of this license of (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `inactive'. +%% +%% This work consists of the files datetime2-usorbian.dtx and +%% datetime2-usorbian.ins and the derived files +%% datetime2-usorbian-utf8.ldf, datetime2-usorbian-ascii.ldf and +%% datetime2-usorbian.ldf. +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\ProvidesDateTimeModule{usorbian-ascii}[2015/04/01 v1.0] +\newcommand*{\DTMusorbianordinal}[1]{% + \number#1.% +} +\newcommand*{\DTMusorbiannewmonthname}[1]{% + \ifcase#1 + \or + januara% + \or + februara% + \or + m\protect\v erca% + \or + apryla% + \or + meje% + \or + junija% + \or + julija% + \or + awgusta% + \or + septembra% + \or + oktobra% + \or + nowembra% + \or + decembra% + \fi +} +\newcommand*{\DTMusorbiannewMonthname}[1]{% + \ifcase#1 + \or + Januara% + \or + Februara% + \or + M\protect\v erca% + \or + Apryla% + \or + Meje% + \or + Junija% + \or + Julija% + \or + Awgusta% + \or + Septembra% + \or + Oktobra% + \or + Nowembra% + \or + Decembra% + \fi +} +\newcommand*{\DTMusorbianoldmonthname}[1]{% + \ifcase#1 + \or + wulkeho r\protect\'o\protect\v zka% + \or + ma\protect\l eho r\protect\'o\protect\v zka% + \or + nal\protect\v etnika% + \or + jutrownika% + \or + r\protect\'o\protect\v zownika% + \or + sma\protect\v znika% + \or + pra\protect\v znika% + \or + \protect\v znjenca% + \or + po\protect\v znjenca% + \or + winowca% + \or + nazymnika% + \or + hodownika% + \fi +} +\newcommand*{\DTMusorbianoldMonthname}[1]{% + \ifcase#1 + \or + Wulkeho r\protect\'o\protect\v zka% + \or + Ma\protect\l eho r\protect\'o\protect\v zka% + \or + Nal\protect\v etnika% + \or + Jutrownika% + \or + R\protect\'o\protect\v zownika% + \or + Sma\protect\v znika% + \or + Pra\protect\v znika% + \or + \protect\v Znjenca% + \or + Po\protect\v znjenca% + \or + Winowca% + \or + Nazymnika% + \or + Hodownika% + \fi +} +\endinput +%% +%% End of file `datetime2-usorbian-ascii.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-usorbian/datetime2-usorbian-utf8.ldf b/Master/texmf-dist/tex/latex/datetime2-usorbian/datetime2-usorbian-utf8.ldf new file mode 100644 index 00000000000..13745703184 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-usorbian/datetime2-usorbian-utf8.ldf @@ -0,0 +1,160 @@ +%% +%% This is file `datetime2-usorbian-utf8.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-usorbian.dtx (with options: `datetime2-usorbian-utf8.ldf,package') +%% +%% datetime2-usorbian.dtx +%% 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 +%% of this license of (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `inactive'. +%% +%% This work consists of the files datetime2-usorbian.dtx and +%% datetime2-usorbian.ins and the derived files +%% datetime2-usorbian-utf8.ldf, datetime2-usorbian-ascii.ldf and +%% datetime2-usorbian.ldf. +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\ProvidesDateTimeModule{usorbian-utf8}[2015/04/01 v1.0] +\newcommand*{\DTMusorbianordinal}[1]{% + \number#1.% +} +\newcommand*{\DTMusorbiannewmonthname}[1]{% + \ifcase#1 + \or + januara% + \or + februara% + \or + měrca% + \or + apryla% + \or + meje% + \or + junija% + \or + julija% + \or + awgusta% + \or + septembra% + \or + oktobra% + \or + nowembra% + \or + decembra% + \fi +} +\newcommand*{\DTMusorbiannewMonthname}[1]{% + \ifcase#1 + \or + Januara% + \or + Februara% + \or + Měrca% + \or + Apryla% + \or + Meje% + \or + Junija% + \or + Julija% + \or + Awgusta% + \or + Septembra% + \or + Oktobra% + \or + Nowembra% + \or + Decembra% + \fi +} +\newcommand*{\DTMusorbianoldmonthname}[1]{% + \ifcase#1 + \or + wulkeho róžka% + \or + małeho róžka% + \or + nalětnika% + \or + jutrownika% + \or + róžownika% + \or + smažnika% + \or + pražnika% + \or + žnjenca% + \or + požnjenca% + \or + winowca% + \or + nazymnika% + \or + hodownika% + \fi +} +\newcommand*{\DTMusorbianoldMonthname}[1]{% + \ifcase#1 + \or + Wulkeho róžka% + \or + Małeho róžka% + \or + Nalětnika% + \or + Jutrownika% + \or + Róžownika% + \or + Smažnika% + \or + Pražnika% + \or + Žnjenca% + \or + Požnjenca% + \or + Winowca% + \or + Nazymnika% + \or + Hodownika% + \fi +} +\endinput +%% +%% End of file `datetime2-usorbian-utf8.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-usorbian/datetime2-usorbian.ldf b/Master/texmf-dist/tex/latex/datetime2-usorbian/datetime2-usorbian.ldf new file mode 100644 index 00000000000..5ec478f1bde --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-usorbian/datetime2-usorbian.ldf @@ -0,0 +1,241 @@ +%% +%% This is file `datetime2-usorbian.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-usorbian.dtx (with options: `datetime2-usorbian.ldf,package') +%% +%% datetime2-usorbian.dtx +%% 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 +%% of this license of (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `inactive'. +%% +%% This work consists of the files datetime2-usorbian.dtx and +%% datetime2-usorbian.ins and the derived files +%% datetime2-usorbian-utf8.ldf, datetime2-usorbian-ascii.ldf and +%% datetime2-usorbian.ldf. +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\ProvidesDateTimeModule{usorbian}[2015/04/01 v1.0] +\RequirePackage{ifxetex,ifluatex} +\ifxetex + \RequireDateTimeModule{usorbian-utf8} +\else + \ifluatex + \RequireDateTimeModule{usorbian-utf8} + \else + \RequireDateTimeModule{usorbian-ascii} + \fi +\fi +\newcommand*{\DTMusorbiandaymonthsep}{% + \DTMtexorpdfstring{\protect~}{\space}% +} +\newcommand*{\DTMusorbianmonthyearsep}{\space} +\newcommand*{\DTMusorbiandatetimesep}{\space} +\newcommand*{\DTMusorbiantimezonesep}{\space} +\newcommand*{\DTMusorbiandatesep}{/} +\newcommand*{\DTMusorbiantimesep}{:} +\DTMdefkey{usorbian}{daymonthsep}{\renewcommand*{\DTMusorbiandaymonthsep}{#1}} +\DTMdefkey{usorbian}{monthyearsep}{\renewcommand*{\DTMusorbianmonthyearsep}{#1}} +\DTMdefkey{usorbian}{datetimesep}{\renewcommand*{\DTMusorbiandatetimesep}{#1}} +\DTMdefkey{usorbian}{timezonesep}{\renewcommand*{\DTMusorbiantimezonesep}{#1}} +\DTMdefkey{usorbian}{datesep}{\renewcommand*{\DTMusorbiandatesep}{#1}} +\DTMdefkey{usorbian}{timesep}{\renewcommand*{\DTMusorbiantimesep}{#1}} +\newcommand*\DTMusorbianmonthname{\DTMusorbiannewmonthname} +\newcommand*\DTMusorbianMonthname{\DTMusorbiannewMonthname} +\DTMdefchoicekey{usorbian}{style}[\val\nr]{old,new}{% + \ifcase\nr\relax + \renewcommand*\DTMusorbianmonthname{\DTMusorbianoldmonthname}% + \renewcommand*\DTMusorbianMonthname{\DTMusorbianoldMonthname}% + \or + \renewcommand*\DTMusorbianmonthname{\DTMusorbiannewmonthname}% + \renewcommand*\DTMusorbianMonthname{\DTMusorbiannewMonthname}% + \fi +} +\DTMdefboolkey{usorbian}{mapzone}[true]{} +\DTMsetbool{usorbian}{mapzone}{true} +\DTMdefboolkey{usorbian}{showdayofmonth}[true]{} +\DTMsetbool{usorbian}{showdayofmonth}{true} +\DTMdefboolkey{usorbian}{showyear}[true]{} +\DTMsetbool{usorbian}{showyear}{true} +\DTMnewstyle + {usorbian}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{usorbian}{showdayofmonth} + {\DTMusorbianordinal{##3}\DTMusorbiandaymonthsep}% + {}% + \DTMusorbianmonthname{##2}% + \DTMifbool{usorbian}{showyear}% + {% + \DTMusorbianmonthyearsep + \number##1 + }% + {}% + }% + \renewcommand*\DTMDisplaydate[4]{% + \DTMifbool{usorbian}{showdayofmonth} + {% + \DTMusorbianordinal{##3}\DTMusorbiandaymonthsep + \DTMusorbianmonthname{##2}% + }% + {% + \DTMusorbianMonthname{##2}% + }% + \DTMifbool{usorbian}{showyear}% + {% + \DTMusorbianmonthyearsep + \number##1 + }% + {}% + }% + }% + {% time style (use default) + \DTMsettimestyle{default}% + }% + {% zone style + \DTMresetzones + \DTMusorbianzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{usorbian}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMusorbiantimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMusorbiandatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMusorbiantimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}[9]{% + \ifDTMshowdate + \DTMDisplaydate{##1}{##2}{##3}{##4}% + \DTMusorbiandatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMusorbiantimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + }% +\DTMnewstyle + {usorbian-numeric}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{usorbian}{showdayofmonth}% + {% + \number##3 % space intended + \DTMusorbiandatesep + }% + {}% + \number##2 % space intended + \DTMifbool{usorbian}{showyear}% + {% + \DTMusorbiandatesep + \number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}{\DTMdisplaydate}% + }% + {% time style + \renewcommand*\DTMdisplaytime[3]{% + \number##1 + \DTMusorbiantimesep\DTMtwodigits{##2}% + \ifDTMshowseconds\DTMusorbiantimesep\DTMtwodigits{##3}\fi + }% + }% + {% zone style + \DTMresetzones + \DTMusorbianzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{usorbian}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMusorbiantimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMusorbiandatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMusorbiantimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + } +\newcommand*{\DTMusorbianzonemaps}{% + \DTMdefzonemap{01}{00}{CET}% + \DTMdefzonemap{02}{00}{CEST}% +} + +\DTMifcaseregional +{}% do nothing +{\DTMsetstyle{usorbian}} +{\DTMsetstyle{usorbian-numeric}} +\ifcsundef{date\CurrentTrackedDialect} +{% + \ifundef\dateusorbian + {% do nothing + }% + {% + \def\dateusorbian{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{usorbian}}% + {\DTMsetstyle{usorbian-numeric}}% + }% + }% +}% +{% + \csdef{date\CurrentTrackedDialect}{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{usorbian}}% + {\DTMsetstyle{usorbian-numeric}} + }% +}% +\endinput +%% +%% End of file `datetime2-usorbian.ldf'. -- cgit v1.2.3