diff options
author | Karl Berry <karl@freefriends.org> | 2015-03-31 21:57:53 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-03-31 21:57:53 +0000 |
commit | 8d5ac97d04669f4d0d108242397dfbf809eeb185 (patch) | |
tree | 9a2bfc751a6ce9892ff240e5904176428c63b3b9 /Master/texmf-dist/tex | |
parent | dee0a84614e3bfa877b2803b5743a5a2fc15609e (diff) |
datetime2-* (31mar15)
git-svn-id: svn://tug.org/texlive/trunk@36692 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
32 files changed, 5092 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/datetime2-galician/datetime2-galician-ascii.ldf b/Master/texmf-dist/tex/latex/datetime2-galician/datetime2-galician-ascii.ldf new file mode 100644 index 00000000000..9fef13fc61a --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-galician/datetime2-galician-ascii.ldf @@ -0,0 +1,104 @@ +%% +%% This is file `datetime2-galician-ascii.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-galician.dtx (with options: `datetime2-galician-ascii.ldf,package') +%% +%% datetime2-galician.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-galician.dtx and +%% datetime2-galician.ins and the derived files +%% datetime2-galician-utf8.ldf, datetime2-galician-ascii.ldf and +%% datetime2-galician.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{galician-ascii}[2015/03/30 v1.0] +\newcommand*{\DTMgalicianordinal}[1]{% + \number#1 +} +\newcommand*{\DTMgalicianmonthname}[1]{% + \ifcase#1 + \or + xaneiro% + \or + febreiro% + \or + marzo% + \or + abril% + \or + maio% + \or + xu\protect\~no% + \or + xullo% + \or + agosto% + \or + setembro% + \or + outubro% + \or + novembro% + \or + decembro% + \fi +} +\newcommand*{\DTMgalicianMonthname}[1]{% + \ifcase#1 + \or + Xaneiro% + \or + Febreiro% + \or + Marzo% + \or + Abril% + \or + Maio% + \or + Xu\protect\~no% + \or + Xullo% + \or + Agosto% + \or + Setembro% + \or + Outubro% + \or + Novembro% + \or + Decembro% + \fi +} +\endinput +%% +%% End of file `datetime2-galician-ascii.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-galician/datetime2-galician-utf8.ldf b/Master/texmf-dist/tex/latex/datetime2-galician/datetime2-galician-utf8.ldf new file mode 100644 index 00000000000..e5b901ec1cd --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-galician/datetime2-galician-utf8.ldf @@ -0,0 +1,104 @@ +%% +%% This is file `datetime2-galician-utf8.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-galician.dtx (with options: `datetime2-galician-utf8.ldf,package') +%% +%% datetime2-galician.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-galician.dtx and +%% datetime2-galician.ins and the derived files +%% datetime2-galician-utf8.ldf, datetime2-galician-ascii.ldf and +%% datetime2-galician.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{galician-utf8}[2015/03/30 v1.0] +\newcommand*{\DTMgalicianordinal}[1]{% + \number#1 +} +\newcommand*{\DTMgalicianmonthname}[1]{% + \ifcase#1 + \or + xaneiro% + \or + febreiro% + \or + marzo% + \or + abril% + \or + maio% + \or + xuño% + \or + xullo% + \or + agosto% + \or + setembro% + \or + outubro% + \or + novembro% + \or + decembro% + \fi +} +\newcommand*{\DTMgalicianMonthname}[1]{% + \ifcase#1 + \or + Xaneiro% + \or + Febreiro% + \or + Marzo% + \or + Abril% + \or + Maio% + \or + Xuño% + \or + Xullo% + \or + Agosto% + \or + Setembro% + \or + Outubro% + \or + Novembro% + \or + Decembro% + \fi +} +\endinput +%% +%% End of file `datetime2-galician-utf8.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-galician/datetime2-galician.ldf b/Master/texmf-dist/tex/latex/datetime2-galician/datetime2-galician.ldf new file mode 100644 index 00000000000..7f978f0cf5a --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-galician/datetime2-galician.ldf @@ -0,0 +1,234 @@ +%% +%% This is file `datetime2-galician.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-galician.dtx (with options: `datetime2-galician.ldf,package') +%% +%% datetime2-galician.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-galician.dtx and +%% datetime2-galician.ins and the derived files +%% datetime2-galician-utf8.ldf, datetime2-galician-ascii.ldf and +%% datetime2-galician.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{galician}[2015/03/30 v1.0] +\RequirePackage{ifxetex,ifluatex} +\ifxetex + \RequireDateTimeModule{galician-utf8} +\else + \ifluatex + \RequireDateTimeModule{galician-utf8} + \else + \RequireDateTimeModule{galician-ascii} + \fi +\fi +\newcommand*{\DTMgaliciandaymonthsep}{% + \DTMtexorpdfstring{\protect~}{\space}% + de\space +} +\newcommand*{\DTMgalicianmonthyearsep}{% + \space de% + \DTMtexorpdfstring{\protect~}{\space}% +} +\newcommand*{\DTMgaliciandatetimesep}{\space} +\newcommand*{\DTMgaliciantimezonesep}{\space} +\newcommand*{\DTMgaliciandatesep}{/} +\newcommand*{\DTMgaliciantimesep}{:} +\DTMdefkey{galician}{daymonthsep}{\renewcommand*{\DTMgaliciandaymonthsep}{#1}} +\DTMdefkey{galician}{monthyearsep}{\renewcommand*{\DTMgalicianmonthyearsep}{#1}} +\DTMdefkey{galician}{datetimesep}{\renewcommand*{\DTMgaliciandatetimesep}{#1}} +\DTMdefkey{galician}{timezonesep}{\renewcommand*{\DTMgaliciantimezonesep}{#1}} +\DTMdefkey{galician}{datesep}{\renewcommand*{\DTMgaliciandatesep}{#1}} +\DTMdefkey{galician}{timesep}{\renewcommand*{\DTMgaliciantimesep}{#1}} +\DTMdefboolkey{galician}{mapzone}[true]{} +\DTMsetbool{galician}{mapzone}{true} +\DTMdefboolkey{galician}{showdayofmonth}[true]{} +\DTMsetbool{galician}{showdayofmonth}{true} +\DTMdefboolkey{galician}{showyear}[true]{} +\DTMsetbool{galician}{showyear}{true} +\DTMnewstyle + {galician}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{galician}{showdayofmonth} + {\DTMgalicianordinal{##3}\DTMgaliciandaymonthsep}% + {}% + \DTMgalicianmonthname{##2}% + \DTMifbool{galician}{showyear}% + {% + \DTMgalicianmonthyearsep + \number##1 + }% + {}% + }% + \renewcommand*\DTMDisplaydate[4]{% + \DTMifbool{galician}{showdayofmonth} + {% + \DTMgalicianordinal{##3}\DTMgaliciandaymonthsep + \DTMgalicianmonthname{##2}% + }% + {% + \DTMgalicianMonthname{##2}% + }% + \DTMifbool{galician}{showyear}% + {% + \DTMgalicianmonthyearsep + \number##1 + }% + {}% + }% + }% + {% time style (use default) + \DTMsettimestyle{default}% + }% + {% zone style + \DTMresetzones + \DTMgalicianzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{galician}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMgaliciantimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMgaliciandatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMgaliciantimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}[9]{% + \ifDTMshowdate + \DTMDisplaydate{##1}{##2}{##3}{##4}% + \DTMgaliciandatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMgaliciantimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + }% +\DTMnewstyle + {galician-numeric}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{galician}{showdayofmonth}% + {% + \number##3 % space intended + \DTMgaliciandatesep + }% + {}% + \number##2 % space intended + \DTMifbool{galician}{showyear}% + {% + \DTMgaliciandatesep + \number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}{\DTMdisplaydate}% + }% + {% time style + \renewcommand*\DTMdisplaytime[3]{% + \number##1 + \DTMgaliciantimesep\DTMtwodigits{##2}% + \ifDTMshowseconds\DTMgaliciantimesep\DTMtwodigits{##3}\fi + }% + }% + {% zone style + \DTMresetzones + \DTMgalicianzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{galician}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMgaliciantimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMgaliciandatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMgaliciantimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + } +\newcommand*{\DTMgalicianzonemaps}{% + \DTMdefzonemap{01}{00}{CET}% + \DTMdefzonemap{02}{00}{CEST}% +} + +\DTMifcaseregional +{}% do nothing +{\DTMsetstyle{galician}} +{\DTMsetstyle{galician-numeric}} +\ifcsundef{date\CurrentTrackedDialect} +{% + \ifundef\dategalician + {% do nothing + }% + {% + \def\dategalician{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{galician}}% + {\DTMsetstyle{galician-numeric}}% + }% + }% +}% +{% + \csdef{date\CurrentTrackedDialect}{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{galician}}% + {\DTMsetstyle{galician-numeric}} + }% +}% +\endinput +%% +%% End of file `datetime2-galician.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-greek/datetime2-greek-ascii.ldf b/Master/texmf-dist/tex/latex/datetime2-greek/datetime2-greek-ascii.ldf new file mode 100644 index 00000000000..007fb8e3ce9 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-greek/datetime2-greek-ascii.ldf @@ -0,0 +1,76 @@ +%% +%% This is file `datetime2-greek-ascii.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-greek.dtx (with options: `datetime2-greek-ascii.ldf,package') +%% +%% datetime2-greek.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-greek.dtx and +%% datetime2-greek.ins and the derived files +%% datetime2-greek-utf8.ldf, datetime2-greek-ascii.ldf and +%% datetime2-greek.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{greek-ascii}[2015/03/30 v1.0] +\newcommand*{\DTMgreekordinal}[1]{% + \number#1 +} +\newcommand*{\DTMgreekmonthname}[1]{% + \ifcase#1 + \or + Ianouar\protect\'iou% + \or + Febrouar\protect\'iou% + \or + Mart\protect\'iou% + \or + April\protect\'iou% + \or + Ma\protect\'{\protect\"i}ou% + \or + Ioun\protect\'iou% + \or + Ioul\protect\'iou% + \or + Augo\protect\'ustou% + \or + Septembr\protect\'iou% + \or + Oktwbr\protect\'iou% + \or + Noembr\protect\'iou% + \or + Dekembr\protect\'iou% + \fi +} +\endinput +%% +%% End of file `datetime2-greek-ascii.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-greek/datetime2-greek-utf8.ldf b/Master/texmf-dist/tex/latex/datetime2-greek/datetime2-greek-utf8.ldf new file mode 100644 index 00000000000..2c9ed7b182c --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-greek/datetime2-greek-utf8.ldf @@ -0,0 +1,76 @@ +%% +%% This is file `datetime2-greek-utf8.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-greek.dtx (with options: `datetime2-greek-utf8.ldf,package') +%% +%% datetime2-greek.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-greek.dtx and +%% datetime2-greek.ins and the derived files +%% datetime2-greek-utf8.ldf, datetime2-greek-ascii.ldf and +%% datetime2-greek.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{greek-utf8}[2015/03/30 v1.0] +\newcommand*{\DTMgreekordinal}[1]{% + \number#1 +} +\newcommand*{\DTMgreekmonthname}[1]{% + \ifcase#1 + \or + Ιανουαρίου% + \or + Φεβρουαρίου% + \or + Μαρτίου% + \or + Απριλίου% + \or + Μαΐου% + \or + Ιουνίου% + \or + Ιουλίου% + \or + Αυγούστου% + \or + Σεπτεμβρίου% + \or + Οκτωβρίου% + \or + Νοεμβρίου% + \or + Δεκεμβρίου% + \fi +} +\endinput +%% +%% End of file `datetime2-greek-utf8.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-greek/datetime2-greek.ldf b/Master/texmf-dist/tex/latex/datetime2-greek/datetime2-greek.ldf new file mode 100644 index 00000000000..c94349c812c --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-greek/datetime2-greek.ldf @@ -0,0 +1,203 @@ +%% +%% This is file `datetime2-greek.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-greek.dtx (with options: `datetime2-greek.ldf,package') +%% +%% datetime2-greek.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-greek.dtx and +%% datetime2-greek.ins and the derived files +%% datetime2-greek-utf8.ldf, datetime2-greek-ascii.ldf and +%% datetime2-greek.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{greek}[2015/03/30 v1.0] +\RequirePackage{ifxetex,ifluatex} +\ifxetex + \RequireDateTimeModule{greek-utf8} +\else + \ifluatex + \RequireDateTimeModule{greek-utf8} + \else + \RequireDateTimeModule{greek-ascii} + \fi +\fi +\newcommand*{\DTMgreekdaymonthsep}{\space} +\newcommand*{\DTMgreekmonthyearsep}{\space} +\newcommand*{\DTMgreekdatetimesep}{\space} +\newcommand*{\DTMgreektimezonesep}{\space} +\newcommand*{\DTMgreekdatesep}{.} +\newcommand*{\DTMgreektimesep}{:} +\DTMdefkey{greek}{daymonthsep}{\renewcommand*{\DTMgreekdaymonthsep}{#1}} +\DTMdefkey{greek}{monthyearsep}{\renewcommand*{\DTMgreekmonthyearsep}{#1}} +\DTMdefkey{greek}{datetimesep}{\renewcommand*{\DTMgreekdatetimesep}{#1}} +\DTMdefkey{greek}{timezonesep}{\renewcommand*{\DTMgreektimezonesep}{#1}} +\DTMdefkey{greek}{datesep}{\renewcommand*{\DTMgreekdatesep}{#1}} +\DTMdefkey{greek}{timesep}{\renewcommand*{\DTMgreektimesep}{#1}} +\DTMdefboolkey{greek}{mapzone}[true]{} +\DTMsetbool{greek}{mapzone}{true} +\DTMdefboolkey{greek}{showdayofmonth}[true]{} +\DTMsetbool{greek}{showdayofmonth}{true} +\DTMdefboolkey{greek}{showyear}[true]{} +\DTMsetbool{greek}{showyear}{true} +\DTMnewstyle + {greek}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{greek}{showdayofmonth} + {\DTMgreekordinal{##3}\DTMgreekdaymonthsep}% + {}% + \DTMgreekmonthname{##2}% + \DTMifbool{greek}{showyear}% + {% + \DTMgreekmonthyearsep + \number##1 + }% + {}% + }% + \renewcommand*\DTMDisplaydate{\DTMdisplaydate}% + }% + {% time style (use default) + \DTMsettimestyle{default}% + }% + {% zone style + \DTMresetzones + \DTMgreekzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{greek}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMgreektimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMgreekdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMgreektimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + }% +\DTMnewstyle + {greek-numeric}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{greek}{showdayofmonth}% + {% + \number##3 % space intended + \DTMgreekdatesep + }% + {}% + \number##2 % space intended + \DTMifbool{greek}{showyear}% + {% + \DTMgreekdatesep + \number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}[4]{\DTMdisplaydate{##1}{##2}{##3}{##4}}% + }% + {% time style + \renewcommand*\DTMdisplaytime[3]{% + \number##1 + \DTMgreektimesep\DTMtwodigits{##2}% + \ifDTMshowseconds\DTMgreektimesep\DTMtwodigits{##3}\fi + }% + }% + {% zone style + \DTMresetzones + \DTMgreekzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{greek}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMgreektimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMgreekdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMgreektimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + } +\newcommand*{\DTMgreekzonemaps}{% + \DTMdefzonemap{02}{00}{EET}% + \DTMdefzonemap{03}{00}{EEST}% +} + +\DTMifcaseregional +{}% do nothing +{\DTMsetstyle{greek}} +{\DTMsetstyle{greek-numeric}} +\ifcsundef{date\CurrentTrackedDialect} +{% + \ifundef\dategreek + {% do nothing + }% + {% + \def\dategreek{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{greek}}% + {\DTMsetstyle{greek-numeric}}% + }% + }% +}% +{% + \csdef{date\CurrentTrackedDialect}{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{greek}}% + {\DTMsetstyle{greek-numeric}} + }% +}% +\endinput +%% +%% End of file `datetime2-greek.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-hebrew/datetime2-hebrew.ldf b/Master/texmf-dist/tex/latex/datetime2-hebrew/datetime2-hebrew.ldf new file mode 100644 index 00000000000..d0d14f554cf --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-hebrew/datetime2-hebrew.ldf @@ -0,0 +1,190 @@ +%% +%% This is file `datetime2-hebrew.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-hebrew.dtx (with options: `datetime2-hebrew.ldf,package') +%% +%% datetime2-hebrew.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-hebrew.dtx and +%% datetime2-hebrew.ins and the derived file +%% datetime2-hebrew.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{hebrew}[2015/03/30 v1.0] +\ifdef\hebrewdate +{% + \newrobustcmd*\DTMhebrewdate[3]{\hebrewdate{#3}{#2}{#1}}% +}% +{% + \ifdef\hebdate + {% + \newrobustcmd*\DTMhebrewdate[3]{\hebdate{#3}{#2}{#1}}% + }% + {% + \newcommand*\DTMhebrewdate[3]{#3-#2-#1}% + \PackageWarning{datetime2-hebrew}{Neither + \string\hebrewdate\space nor \string\hebdate\space defined}{}% + }% +}% +\renewcommand*{\today}{\DTMdisplaydate{\year}{\month}{\day}{-1}} +\renewcommand*{\Today}{\DTMDisplaydate{\year}{\month}{\day}{-1}} +\newcommand*{\DTMhebrewdatetimesep}{\space} +\newcommand*{\DTMhebrewtimezonesep}{\space} +\newcommand*{\DTMhebrewdatesep}{.} +\newcommand*{\DTMhebrewtimesep}{:} +\DTMdefkey{hebrew}{datetimesep}{\renewcommand*{\DTMhebrewdatetimesep}{#1}} +\DTMdefkey{hebrew}{timezonesep}{\renewcommand*{\DTMhebrewtimezonesep}{#1}} +\DTMdefkey{hebrew}{datesep}{\renewcommand*{\DTMhebrewdatesep}{#1}} +\DTMdefkey{hebrew}{timesep}{\renewcommand*{\DTMhebrewtimesep}{#1}} +\DTMdefboolkey{hebrew}{mapzone}[true]{} +\DTMsetbool{hebrew}{mapzone}{true} +\DTMnewstyle + {hebrew}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMtexorpdfstring{\DTMhebrewdate{##1}{##2}{##3}}{##3-##2-##1}% + }% + \renewcommand*\DTMDisplaydate{\DTMdisplaydate}% + }% + {% time style (use default) + \DTMsettimestyle{default}% + }% + {% zone style + \DTMresetzones + \DTMhebrewzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{hebrew}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMhebrewtimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMhebrewdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMhebrewtimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + }% +\DTMnewstyle + {hebrew-numeric}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{hebrew}{showdayofmonth}% + {% + \number##3 % space intended + \DTMhebrewdatesep + }% + {}% + \number##2 % space intended + \DTMifbool{hebrew}{showyear}% + {% + \DTMhebrewdatesep + \number##1 % space intended + }% + {}% + }% + \renewcommand*\DTMDisplaydate{\DTMdisplaydate}% + }% + {% time style + \renewcommand*\DTMdisplaytime[3]{% + \number##1 + \DTMhebrewtimesep\DTMtwodigits{##2}% + \ifDTMshowseconds\DTMhebrewtimesep\DTMtwodigits{##3}\fi + }% + }% + {% zone style + \DTMresetzones + \DTMhebrewzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{hebrew}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMhebrewtimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMhebrewdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMhebrewtimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + } +\newcommand*{\DTMhebrewzonemaps}{% +} + +\DTMifcaseregional +{}% do nothing +{\DTMsetstyle{hebrew}} +{\DTMsetstyle{hebrew-numeric}} +\ifcsundef{date\CurrentTrackedDialect} +{% + \ifundef\datehebrew + {% do nothing + }% + {% + \def\datehebrew{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{hebrew}}% + {\DTMsetstyle{hebrew-numeric}}% + }% + }% +}% +{% + \csdef{date\CurrentTrackedDialect}{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{hebrew}}% + {\DTMsetstyle{hebrew-numeric}} + }% +}% +\endinput +%% +%% End of file `datetime2-hebrew.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-icelandic/datetime2-icelandic-ascii.ldf b/Master/texmf-dist/tex/latex/datetime2-icelandic/datetime2-icelandic-ascii.ldf new file mode 100644 index 00000000000..06fc2d7090a --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-icelandic/datetime2-icelandic-ascii.ldf @@ -0,0 +1,104 @@ +%% +%% This is file `datetime2-icelandic-ascii.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-icelandic.dtx (with options: `datetime2-icelandic-ascii.ldf,package') +%% +%% datetime2-icelandic.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-icelandic.dtx and +%% datetime2-icelandic.ins and the derived files +%% datetime2-icelandic-utf8.ldf, datetime2-icelandic-ascii.ldf and +%% datetime2-icelandic.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{icelandic-ascii}[2015/03/30 v1.0] +\newcommand*{\DTMicelandicordinal}[1]{% + \number#1.% +} +\newcommand*{\DTMicelandicmonthname}[1]{% + \ifcase#1 + \or + jan\protect\'uar% + \or + febr\protect\'uar% + \or + mars% + \or + apr\protect\'il% + \or + ma\protect\'i% + \or + j\protect\'un\protect\'i% + \or + j\protect\'ul\protect\'i% + \or + \protect\'ag\protect\'ust% + \or + september% + \or + okt\protect\'ober% + \or + n\protect\'ovember% + \or + desembe% + \fi +} +\newcommand*{\DTMicelandicMonthname}[1]{% + \ifcase#1 + \or + Jan\protect\'uar% + \or + Febr\protect\'uar% + \or + Mars% + \or + Apr\protect\'il% + \or + Ma\protect\'i% + \or + J\protect\'un\protect\'i% + \or + J\protect\'ul\protect\'i% + \or + \protect\'Ag\protect\'ust% + \or + September% + \or + Okt\protect\'ober% + \or + N\protect\'ovember% + \or + Desembe% + \fi +} +\endinput +%% +%% End of file `datetime2-icelandic-ascii.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-icelandic/datetime2-icelandic-utf8.ldf b/Master/texmf-dist/tex/latex/datetime2-icelandic/datetime2-icelandic-utf8.ldf new file mode 100644 index 00000000000..b0e9162b99f --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-icelandic/datetime2-icelandic-utf8.ldf @@ -0,0 +1,104 @@ +%% +%% This is file `datetime2-icelandic-utf8.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-icelandic.dtx (with options: `datetime2-icelandic-utf8.ldf,package') +%% +%% datetime2-icelandic.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-icelandic.dtx and +%% datetime2-icelandic.ins and the derived files +%% datetime2-icelandic-utf8.ldf, datetime2-icelandic-ascii.ldf and +%% datetime2-icelandic.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{icelandic-utf8}[2015/03/30 v1.0] +\newcommand*{\DTMicelandicordinal}[1]{% + \number#1.% +} +\newcommand*{\DTMicelandicmonthname}[1]{% + \ifcase#1 + \or + janúar% + \or + febrúar% + \or + mars% + \or + apríl% + \or + maí% + \or + júní% + \or + júlí% + \or + ágúst% + \or + september% + \or + október% + \or + nóvember% + \or + desembe% + \fi +} +\newcommand*{\DTMicelandicMonthname}[1]{% + \ifcase#1 + \or + Janúar% + \or + Febrúar% + \or + Mars% + \or + Apríl% + \or + Maí% + \or + Júní% + \or + Júlí% + \or + Ágúst% + \or + September% + \or + Október% + \or + Nóvember% + \or + Desembe% + \fi +} +\endinput +%% +%% End of file `datetime2-icelandic-utf8.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-icelandic/datetime2-icelandic.ldf b/Master/texmf-dist/tex/latex/datetime2-icelandic/datetime2-icelandic.ldf new file mode 100644 index 00000000000..13d1c9ffebc --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-icelandic/datetime2-icelandic.ldf @@ -0,0 +1,229 @@ +%% +%% This is file `datetime2-icelandic.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-icelandic.dtx (with options: `datetime2-icelandic.ldf,package') +%% +%% datetime2-icelandic.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-icelandic.dtx and +%% datetime2-icelandic.ins and the derived files +%% datetime2-icelandic-utf8.ldf, datetime2-icelandic-ascii.ldf and +%% datetime2-icelandic.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{icelandic}[2015/03/30 v1.0] +\RequirePackage{ifxetex,ifluatex} +\ifxetex + \RequireDateTimeModule{icelandic-utf8} +\else + \ifluatex + \RequireDateTimeModule{icelandic-utf8} + \else + \RequireDateTimeModule{icelandic-ascii} + \fi +\fi +\newcommand*{\DTMicelandicdaymonthsep}{% + \DTMtexorpdfstring{\protect~}{\space}% +} +\newcommand*{\DTMicelandicmonthyearsep}{\space} +\newcommand*{\DTMicelandicdatetimesep}{\space} +\newcommand*{\DTMicelandictimezonesep}{\space} +\newcommand*{\DTMicelandicdatesep}{/} +\newcommand*{\DTMicelandictimesep}{:} +\DTMdefkey{icelandic}{daymonthsep}{\renewcommand*{\DTMicelandicdaymonthsep}{#1}} +\DTMdefkey{icelandic}{monthyearsep}{\renewcommand*{\DTMicelandicmonthyearsep}{#1}} +\DTMdefkey{icelandic}{datetimesep}{\renewcommand*{\DTMicelandicdatetimesep}{#1}} +\DTMdefkey{icelandic}{timezonesep}{\renewcommand*{\DTMicelandictimezonesep}{#1}} +\DTMdefkey{icelandic}{datesep}{\renewcommand*{\DTMicelandicdatesep}{#1}} +\DTMdefkey{icelandic}{timesep}{\renewcommand*{\DTMicelandictimesep}{#1}} +\DTMdefboolkey{icelandic}{mapzone}[true]{} +\DTMsetbool{icelandic}{mapzone}{true} +\DTMdefboolkey{icelandic}{showdayofmonth}[true]{} +\DTMsetbool{icelandic}{showdayofmonth}{true} +\DTMdefboolkey{icelandic}{showyear}[true]{} +\DTMsetbool{icelandic}{showyear}{true} +\DTMnewstyle + {icelandic}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{icelandic}{showdayofmonth} + {\DTMicelandicordinal{##3}\DTMicelandicdaymonthsep}% + {}% + \DTMicelandicmonthname{##2}% + \DTMifbool{icelandic}{showyear}% + {% + \DTMicelandicmonthyearsep + \number##1 + }% + {}% + }% + \renewcommand*\DTMDisplaydate[4]{% + \DTMifbool{icelandic}{showdayofmonth} + {% + \DTMicelandicordinal{##3}\DTMicelandicdaymonthsep + \DTMicelandicmonthname{##2}% + }% + {% + \DTMicelandicMonthname{##2}% + }% + \DTMifbool{icelandic}{showyear}% + {% + \DTMicelandicmonthyearsep + \number##1 + }% + {}% + }% + }% + {% time style (use default) + \DTMsettimestyle{default}% + }% + {% zone style + \DTMresetzones + \DTMicelandiczonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{icelandic}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMicelandictimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMicelandicdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMicelandictimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}[9]{% + \ifDTMshowdate + \DTMDisplaydate{##1}{##2}{##3}{##4}% + \DTMicelandicdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMicelandictimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + }% +\DTMnewstyle + {icelandic-numeric}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{icelandic}{showdayofmonth}% + {% + \number##3 % space intended + \DTMicelandicdatesep + }% + {}% + \number##2 % space intended + \DTMifbool{icelandic}{showyear}% + {% + \DTMicelandicdatesep + \number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}{\DTMdisplaydate}% + }% + {% time style + \renewcommand*\DTMdisplaytime[3]{% + \number##1 + \DTMicelandictimesep\DTMtwodigits{##2}% + \ifDTMshowseconds\DTMicelandictimesep\DTMtwodigits{##3}\fi + }% + }% + {% zone style + \DTMresetzones + \DTMicelandiczonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{icelandic}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMicelandictimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMicelandicdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMicelandictimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + } +\newcommand*{\DTMicelandiczonemaps}{% + \DTMdefzonemap{00}{00}{GMT}% +} + +\DTMifcaseregional +{}% do nothing +{\DTMsetstyle{icelandic}} +{\DTMsetstyle{icelandic-numeric}} +\ifcsundef{date\CurrentTrackedDialect} +{% + \ifundef\dateicelandic + {% do nothing + }% + {% + \def\dateicelandic{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{icelandic}}% + {\DTMsetstyle{icelandic-numeric}}% + }% + }% +}% +{% + \csdef{date\CurrentTrackedDialect}{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{icelandic}}% + {\DTMsetstyle{icelandic-numeric}} + }% +}% +\endinput +%% +%% End of file `datetime2-icelandic.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-latin/datetime2-latin.ldf b/Master/texmf-dist/tex/latex/datetime2-latin/datetime2-latin.ldf new file mode 100644 index 00000000000..ec0da1ae101 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-latin/datetime2-latin.ldf @@ -0,0 +1,274 @@ +%% +%% This is file `datetime2-latin.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-latin.dtx (with options: `datetime2-latin.ldf,package') +%% +%% datetime2-latin.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-latin.dtx and +%% datetime2-latin.ins and the derived file +%% datetime2-latin.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{latin}[2015/03/31 v1.0] +\@ifpackageloaded{polyglossia} +{ + \newcommand*{\DTMlatindayfont}[1]{#1} +} +{ + \newcommand*{\DTMlatindayfont}[1]{% + {\check@mathfonts\fontsize\sf@size\z@\math@fontsfalse\selectfont#1}% + } +} +\newcommand*{\DTMlatinordinal}[1]{% + \DTMtexorpdfstring + {% + \protect\DTMlatindayfont{\uppercase\expandafter{\romannumeral#1}}% + }% + {\romannumeral#1 }% +} +\newcommand*{\DTMlatinyear}[1]{% + \DTMtexorpdfstring + {% + \uppercase\expandafter{\romannumeral#1}% + }% + {\romannumeral#1 }% +} +\@ifpackageloaded{polyglossia} +{ + \newcommand*{\DTMlatinmonthname}[1]{% + \ifcase#1 + \or + Januarii% + \or + Februarii% + \or + Martii% + \or + Aprilis% + \or + Maji% + \or + Junii% + \or + Julii% + \or + Augusti% + \or + Septembris% + \or + Octobris% + \or + Novembris% + \or + Decembris% + \fi + } +} +{ + \newcommand*{\DTMlatinmonthname}[1]{% + \ifcase#1 + \or + Ianuarii% + \or + Februarii% + \or + Martii% + \or + Aprilis% + \or + Maii% + \or + Iunii% + \or + Iulii% + \or + Augusti% + \or + Septembris% + \or + Octobris% + \or + Novembris% + \or + Decembris% + \fi + } +} +\newcommand*{\DTMlatindaymonthsep}{\space} +\newcommand*{\DTMlatinmonthyearsep}{\space} +\newcommand*{\DTMlatindatetimesep}{\space} +\newcommand*{\DTMlatintimezonesep}{\space} +\newcommand*{\DTMlatindatesep}{/} +\newcommand*{\DTMlatintimesep}{:} +\DTMdefkey{latin}{daymonthsep}{\renewcommand*{\DTMlatindaymonthsep}{#1}} +\DTMdefkey{latin}{monthyearsep}{\renewcommand*{\DTMlatinmonthyearsep}{#1}} +\DTMdefkey{latin}{datetimesep}{\renewcommand*{\DTMlatindatetimesep}{#1}} +\DTMdefkey{latin}{timezonesep}{\renewcommand*{\DTMlatintimezonesep}{#1}} +\DTMdefkey{latin}{datesep}{\renewcommand*{\DTMlatindatesep}{#1}} +\DTMdefkey{latin}{timesep}{\renewcommand*{\DTMlatintimesep}{#1}} +\DTMdefboolkey{latin}{mapzone}[true]{} +\DTMsetbool{latin}{mapzone}{true} +\DTMdefboolkey{latin}{showdayofmonth}[true]{} +\DTMsetbool{latin}{showdayofmonth}{true} +\DTMdefboolkey{latin}{showyear}[true]{} +\DTMsetbool{latin}{showyear}{true} +\DTMnewstyle + {latin}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{latin}{showdayofmonth} + {\DTMlatinordinal{##3}\DTMlatindaymonthsep}% + {}% + \DTMlatinmonthname{##2}% + \DTMifbool{latin}{showyear}% + {% + \DTMlatinmonthyearsep + \DTMlatinyear{##1}% + }% + {}% + }% + \renewcommand*\DTMDisplaydate{\DTMdisplaydate}% + }% + {% time style (use default) + \DTMsettimestyle{default}% + }% + {% zone style + \DTMresetzones + \DTMlatinzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{latin}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMlatintimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMlatindatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMlatintimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + }% +\DTMnewstyle + {latin-numeric}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{latin}{showdayofmonth}% + {% + \number##3 % space intended + \DTMlatindatesep + }% + {}% + \number##2 % space intended + \DTMifbool{latin}{showyear}% + {% + \DTMlatindatesep + \number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}{\DTMdisplaydate}% + }% + {% time style + \renewcommand*\DTMdisplaytime[3]{% + \number##1 + \DTMlatintimesep\DTMtwodigits{##2}% + \ifDTMshowseconds\DTMlatintimesep\DTMtwodigits{##3}\fi + }% + }% + {% zone style + \DTMresetzones + \DTMlatinzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{latin}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMlatintimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMlatindatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMlatintimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + } +\newcommand*{\DTMlatinzonemaps}{% +} + +\DTMifcaseregional +{}% do nothing +{\DTMsetstyle{latin}} +{\DTMsetstyle{latin-numeric}} +\ifcsundef{date\CurrentTrackedDialect} +{% + \ifundef\datelatin + {% do nothing + }% + {% + \def\datelatin{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{latin}}% + {\DTMsetstyle{latin-numeric}}% + }% + }% +}% +{% + \csdef{date\CurrentTrackedDialect}{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{latin}}% + {\DTMsetstyle{latin-numeric}} + }% +}% +\endinput +%% +%% End of file `datetime2-latin.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-lsorbian/datetime2-lsorbian-ascii.ldf b/Master/texmf-dist/tex/latex/datetime2-lsorbian/datetime2-lsorbian-ascii.ldf new file mode 100644 index 00000000000..1c9863f4b50 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-lsorbian/datetime2-lsorbian-ascii.ldf @@ -0,0 +1,160 @@ +%% +%% This is file `datetime2-lsorbian-ascii.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-lsorbian.dtx (with options: `datetime2-lsorbian-ascii.ldf,package') +%% +%% datetime2-lsorbian.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-lsorbian.dtx and +%% datetime2-lsorbian.ins and the derived files +%% datetime2-lsorbian-utf8.ldf, datetime2-lsorbian-ascii.ldf and +%% datetime2-lsorbian.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{lsorbian-ascii}[2015/03/30 v1.0] +\newcommand*{\DTMlsorbianordinal}[1]{% + \number#1.% +} +\newcommand*{\DTMlsorbiannewmonthname}[1]{% + \ifcase#1 + \or + januara% + \or + februara% + \or + m\protect\v erca% + \or + apryla% + \or + maja% + \or + junija% + \or + julija% + \or + awgusta% + \or + septembra% + \or + oktobra% + \or + nowembra% + \or + decembra% + \fi +} +\newcommand*{\DTMlsorbiannewMonthname}[1]{% + \ifcase#1 + \or + Januara% + \or + Februara% + \or + M\protect\v erca% + \or + Apryla% + \or + Maja% + \or + Junija% + \or + Julija% + \or + Awgusta% + \or + Septembra% + \or + Oktobra% + \or + Nowembra% + \or + Decembra% + \fi +} +\newcommand*{\DTMlsorbianoldmonthname}[1]{% + \ifcase#1 + \or + wjelikego ro\protect\v zka% + \or + ma\protect\l ego ro\protect\v zka% + \or + nal\protect\v etnika% + \or + jat\protect\v sownika% + \or + ro\protect\v zownika% + \or + sma\protect\v znika% + \or + pra\protect\v znika% + \or + \protect\v znje\protect\'nca% + \or + po\protect\v znje\protec\'nca% + \or + winowca% + \or + nazymnika% + \or + godownika% + \fi +} +\newcommand*{\DTMlsorbianoldMonthname}[1]{% + \ifcase#1 + \or + Wjelikego ro\protect\v zka% + \or + Ma\protect\l ego ro\protect\v zka% + \or + Nal\protect\v etnika% + \or + Jat\protect\v sownika% + \or + Ro\protect\v zownika% + \or + Sma\protect\v znika% + \or + Pra\protect\v znika% + \or + \protect\v Znje\protect\'nca% + \or + Po\protect\v znje\protec\'nca% + \or + Winowca% + \or + Nazymnika% + \or + Godownika% + \fi +} +\endinput +%% +%% End of file `datetime2-lsorbian-ascii.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-lsorbian/datetime2-lsorbian-utf8.ldf b/Master/texmf-dist/tex/latex/datetime2-lsorbian/datetime2-lsorbian-utf8.ldf new file mode 100644 index 00000000000..4c15ecd6b26 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-lsorbian/datetime2-lsorbian-utf8.ldf @@ -0,0 +1,160 @@ +%% +%% This is file `datetime2-lsorbian-utf8.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-lsorbian.dtx (with options: `datetime2-lsorbian-utf8.ldf,package') +%% +%% datetime2-lsorbian.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-lsorbian.dtx and +%% datetime2-lsorbian.ins and the derived files +%% datetime2-lsorbian-utf8.ldf, datetime2-lsorbian-ascii.ldf and +%% datetime2-lsorbian.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{lsorbian-utf8}[2015/03/30 v1.0] +\newcommand*{\DTMlsorbianordinal}[1]{% + \number#1.% +} +\newcommand*{\DTMlsorbiannewmonthname}[1]{% + \ifcase#1 + \or + januara% + \or + februara% + \or + měrca% + \or + apryla% + \or + maja% + \or + junija% + \or + julija% + \or + awgusta% + \or + septembra% + \or + oktobra% + \or + nowembra% + \or + decembra% + \fi +} +\newcommand*{\DTMlsorbiannewMonthname}[1]{% + \ifcase#1 + \or + Januara% + \or + Februara% + \or + Měrca% + \or + Apryla% + \or + Maja% + \or + Junija% + \or + Julija% + \or + Awgusta% + \or + Septembra% + \or + Oktobra% + \or + Nowembra% + \or + Decembra% + \fi +} +\newcommand*{\DTMlsorbianoldmonthname}[1]{% + \ifcase#1 + \or + wjelikego rožka% + \or + małego rožka% + \or + nalětnika% + \or + jatšownika% + \or + rožownika% + \or + smažnika% + \or + pražnika% + \or + žnjeńca% + \or + požnjeńca% + \or + winowca% + \or + nazymnika% + \or + godownika% + \fi +} +\newcommand*{\DTMlsorbianoldMonthname}[1]{% + \ifcase#1 + \or + Wjelikego rožka% + \or + Małego rožka% + \or + Nalětnika% + \or + Jatšownika% + \or + Rožownika% + \or + Smažnika% + \or + Pražnika% + \or + Žnjeńca% + \or + Požnjeńca% + \or + Winowca% + \or + Nazymnika% + \or + Godownika% + \fi +} +\endinput +%% +%% End of file `datetime2-lsorbian-utf8.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-lsorbian/datetime2-lsorbian.ldf b/Master/texmf-dist/tex/latex/datetime2-lsorbian/datetime2-lsorbian.ldf new file mode 100644 index 00000000000..f0071bf91ca --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-lsorbian/datetime2-lsorbian.ldf @@ -0,0 +1,241 @@ +%% +%% This is file `datetime2-lsorbian.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-lsorbian.dtx (with options: `datetime2-lsorbian.ldf,package') +%% +%% datetime2-lsorbian.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-lsorbian.dtx and +%% datetime2-lsorbian.ins and the derived files +%% datetime2-lsorbian-utf8.ldf, datetime2-lsorbian-ascii.ldf and +%% datetime2-lsorbian.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{lsorbian}[2015/03/30 v1.0] +\RequirePackage{ifxetex,ifluatex} +\ifxetex + \RequireDateTimeModule{lsorbian-utf8} +\else + \ifluatex + \RequireDateTimeModule{lsorbian-utf8} + \else + \RequireDateTimeModule{lsorbian-ascii} + \fi +\fi +\newcommand*{\DTMlsorbiandaymonthsep}{% + \DTMtexorpdfstring{\protect~}{\space}% +} +\newcommand*{\DTMlsorbianmonthyearsep}{\space} +\newcommand*{\DTMlsorbiandatetimesep}{\space} +\newcommand*{\DTMlsorbiantimezonesep}{\space} +\newcommand*{\DTMlsorbiandatesep}{/} +\newcommand*{\DTMlsorbiantimesep}{:} +\DTMdefkey{lsorbian}{daymonthsep}{\renewcommand*{\DTMlsorbiandaymonthsep}{#1}} +\DTMdefkey{lsorbian}{monthyearsep}{\renewcommand*{\DTMlsorbianmonthyearsep}{#1}} +\DTMdefkey{lsorbian}{datetimesep}{\renewcommand*{\DTMlsorbiandatetimesep}{#1}} +\DTMdefkey{lsorbian}{timezonesep}{\renewcommand*{\DTMlsorbiantimezonesep}{#1}} +\DTMdefkey{lsorbian}{datesep}{\renewcommand*{\DTMlsorbiandatesep}{#1}} +\DTMdefkey{lsorbian}{timesep}{\renewcommand*{\DTMlsorbiantimesep}{#1}} +\newcommand*\DTMlsorbianmonthname{\DTMlsorbiannewmonthname} +\newcommand*\DTMlsorbianMonthname{\DTMlsorbiannewMonthname} +\DTMdefchoicekey{lsorbian}{style}[\val\nr]{old,new}{% + \ifcase\nr\relax + \renewcommand*\DTMlsorbianmonthname{\DTMlsorbianoldmonthname}% + \renewcommand*\DTMlsorbianMonthname{\DTMlsorbianoldMonthname}% + \or + \renewcommand*\DTMlsorbianmonthname{\DTMlsorbiannewmonthname}% + \renewcommand*\DTMlsorbianMonthname{\DTMlsorbiannewMonthname}% + \fi +} +\DTMdefboolkey{lsorbian}{mapzone}[true]{} +\DTMsetbool{lsorbian}{mapzone}{true} +\DTMdefboolkey{lsorbian}{showdayofmonth}[true]{} +\DTMsetbool{lsorbian}{showdayofmonth}{true} +\DTMdefboolkey{lsorbian}{showyear}[true]{} +\DTMsetbool{lsorbian}{showyear}{true} +\DTMnewstyle + {lsorbian}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{lsorbian}{showdayofmonth} + {\DTMlsorbianordinal{##3}\DTMlsorbiandaymonthsep}% + {}% + \DTMlsorbianmonthname{##2}% + \DTMifbool{lsorbian}{showyear}% + {% + \DTMlsorbianmonthyearsep + \number##1 + }% + {}% + }% + \renewcommand*\DTMDisplaydate[4]{% + \DTMifbool{lsorbian}{showdayofmonth} + {% + \DTMlsorbianordinal{##3}\DTMlsorbiandaymonthsep + \DTMlsorbianmonthname{##2}% + }% + {% + \DTMlsorbianMonthname{##2}% + }% + \DTMifbool{lsorbian}{showyear}% + {% + \DTMlsorbianmonthyearsep + \number##1 + }% + {}% + }% + }% + {% time style (use default) + \DTMsettimestyle{default}% + }% + {% zone style + \DTMresetzones + \DTMlsorbianzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{lsorbian}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMlsorbiantimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMlsorbiandatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMlsorbiantimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}[9]{% + \ifDTMshowdate + \DTMDisplaydate{##1}{##2}{##3}{##4}% + \DTMlsorbiandatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMlsorbiantimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + }% +\DTMnewstyle + {lsorbian-numeric}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{lsorbian}{showdayofmonth}% + {% + \number##3 % space intended + \DTMlsorbiandatesep + }% + {}% + \number##2 % space intended + \DTMifbool{lsorbian}{showyear}% + {% + \DTMlsorbiandatesep + \number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}{\DTMdisplaydate}% + }% + {% time style + \renewcommand*\DTMdisplaytime[3]{% + \number##1 + \DTMlsorbiantimesep\DTMtwodigits{##2}% + \ifDTMshowseconds\DTMlsorbiantimesep\DTMtwodigits{##3}\fi + }% + }% + {% zone style + \DTMresetzones + \DTMlsorbianzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{lsorbian}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMlsorbiantimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMlsorbiandatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMlsorbiantimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + } +\newcommand*{\DTMlsorbianzonemaps}{% + \DTMdefzonemap{01}{00}{CET}% + \DTMdefzonemap{02}{00}{CEST}% +} + +\DTMifcaseregional +{}% do nothing +{\DTMsetstyle{lsorbian}} +{\DTMsetstyle{lsorbian-numeric}} +\ifcsundef{date\CurrentTrackedDialect} +{% + \ifundef\datelsorbian + {% do nothing + }% + {% + \def\datelsorbian{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{lsorbian}}% + {\DTMsetstyle{lsorbian-numeric}}% + }% + }% +}% +{% + \csdef{date\CurrentTrackedDialect}{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{lsorbian}}% + {\DTMsetstyle{lsorbian-numeric}} + }% +}% +\endinput +%% +%% End of file `datetime2-lsorbian.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-magyar/datetime2-magyar-ascii.ldf b/Master/texmf-dist/tex/latex/datetime2-magyar/datetime2-magyar-ascii.ldf new file mode 100644 index 00000000000..3422c8c2711 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-magyar/datetime2-magyar-ascii.ldf @@ -0,0 +1,107 @@ +%% +%% This is file `datetime2-magyar-ascii.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-magyar.dtx (with options: `datetime2-magyar-ascii.ldf,package') +%% +%% datetime2-magyar.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-magyar.dtx and +%% datetime2-magyar.ins and the derived files +%% datetime2-magyar-utf8.ldf, datetime2-magyar-ascii.ldf and +%% datetime2-magyar.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{magyar-ascii}[2015/03/31 v1.0] +\newcommand*{\DTMmagyarordinal}[1]{% + \number#1.% +} +\newcommand*{\DTMmagyaryear}[1]{% + \number#1.% +} +\newcommand*{\DTMmagyarmonthname}[1]{% + \ifcase#1 + \or + janu\protect\'ar% + \or + febru\protect\'ar% + \or + m\protect\'arcius% + \or + \protect\'aprilis% + \or + m\protect\'ajus% + \or + j\protect\'unius% + \or + j\protect\'ulius% + \or + augusztus% + \or + szeptember% + \or + okt\protect\'ober% + \or + november% + \or + december% + \fi +} +\newcommand*{\DTMmagyarMonthname}[1]{% + \ifcase#1 + \or + Janu\protect\'ar% + \or + Febru\protect\'ar% + \or + M\protect\'arcius% + \or + \protect\'Aprilis% + \or + M\protect\'ajus% + \or + J\protect\'unius% + \or + J\protect\'ulius% + \or + Augusztus% + \or + Szeptember% + \or + Okt\protect\'ober% + \or + November% + \or + December% + \fi +} +\endinput +%% +%% End of file `datetime2-magyar-ascii.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-magyar/datetime2-magyar-utf8.ldf b/Master/texmf-dist/tex/latex/datetime2-magyar/datetime2-magyar-utf8.ldf new file mode 100644 index 00000000000..7531078a947 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-magyar/datetime2-magyar-utf8.ldf @@ -0,0 +1,107 @@ +%% +%% This is file `datetime2-magyar-utf8.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-magyar.dtx (with options: `datetime2-magyar-utf8.ldf,package') +%% +%% datetime2-magyar.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-magyar.dtx and +%% datetime2-magyar.ins and the derived files +%% datetime2-magyar-utf8.ldf, datetime2-magyar-ascii.ldf and +%% datetime2-magyar.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{magyar-utf8}[2015/03/31 v1.0] +\newcommand*{\DTMmagyarordinal}[1]{% + \number#1.% +} +\newcommand*{\DTMmagyaryear}[1]{% + \number#1.% +} +\newcommand*{\DTMmagyarmonthname}[1]{% + \ifcase#1 + \or + január% + \or + február% + \or + március% + \or + április% + \or + május% + \or + június% + \or + július% + \or + augusztus% + \or + szeptember% + \or + október% + \or + november% + \or + december% + \fi +} +\newcommand*{\DTMmagyarMonthname}[1]{% + \ifcase#1 + \or + Január% + \or + Február% + \or + Március% + \or + Április% + \or + Május% + \or + Június% + \or + Július% + \or + Augusztus% + \or + Szeptember% + \or + Október% + \or + November% + \or + December% + \fi +} +\endinput +%% +%% End of file `datetime2-magyar-utf8.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-magyar/datetime2-magyar.ldf b/Master/texmf-dist/tex/latex/datetime2-magyar/datetime2-magyar.ldf new file mode 100644 index 00000000000..0e33627ee21 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-magyar/datetime2-magyar.ldf @@ -0,0 +1,228 @@ +%% +%% This is file `datetime2-magyar.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-magyar.dtx (with options: `datetime2-magyar.ldf,package') +%% +%% datetime2-magyar.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-magyar.dtx and +%% datetime2-magyar.ins and the derived files +%% datetime2-magyar-utf8.ldf, datetime2-magyar-ascii.ldf and +%% datetime2-magyar.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{magyar}[2015/03/31 v1.0] +\RequirePackage{ifxetex,ifluatex} +\ifxetex + \RequireDateTimeModule{magyar-utf8} +\else + \ifluatex + \RequireDateTimeModule{magyar-utf8} + \else + \RequireDateTimeModule{magyar-ascii} + \fi +\fi +\newcommand*{\DTMmagyardaymonthsep}{% + \DTMtexorpdfstring{\protect~}{\space}% +} +\newcommand*{\DTMmagyarmonthyearsep}{\space} +\newcommand*{\DTMmagyardatetimesep}{\space} +\newcommand*{\DTMmagyartimezonesep}{\space} +\newcommand*{\DTMmagyardatesep}{/} +\newcommand*{\DTMmagyartimesep}{:} +\DTMdefkey{magyar}{daymonthsep}{\renewcommand*{\DTMmagyardaymonthsep}{#1}} +\DTMdefkey{magyar}{monthyearsep}{\renewcommand*{\DTMmagyarmonthyearsep}{#1}} +\DTMdefkey{magyar}{datetimesep}{\renewcommand*{\DTMmagyardatetimesep}{#1}} +\DTMdefkey{magyar}{timezonesep}{\renewcommand*{\DTMmagyartimezonesep}{#1}} +\DTMdefkey{magyar}{datesep}{\renewcommand*{\DTMmagyardatesep}{#1}} +\DTMdefkey{magyar}{timesep}{\renewcommand*{\DTMmagyartimesep}{#1}} +\DTMdefboolkey{magyar}{mapzone}[true]{} +\DTMsetbool{magyar}{mapzone}{true} +\DTMdefboolkey{magyar}{showdayofmonth}[true]{} +\DTMsetbool{magyar}{showdayofmonth}{true} +\DTMdefboolkey{magyar}{showyear}[true]{} +\DTMsetbool{magyar}{showyear}{true} +\DTMnewstyle + {magyar}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{magyar}{showdayofmonth} + {\DTMmagyarordinal{##3}\DTMmagyardaymonthsep}% + {}% + \DTMmagyarmonthname{##2}% + \DTMifbool{magyar}{showyear}% + {% + \DTMmagyarmonthyearsep + \number##1 + }% + {}% + }% + \renewcommand*\DTMDisplaydate[4]{% + \DTMifbool{magyar}{showdayofmonth} + {% + \DTMmagyarordinal{##3}\DTMmagyardaymonthsep + \DTMmagyarmonthname{##2}% + }% + {% + \DTMmagyarMonthname{##2}% + }% + \DTMifbool{magyar}{showyear}% + {% + \DTMmagyarmonthyearsep + \number##1 + }% + {}% + }% + }% + {% time style (use default) + \DTMsettimestyle{default}% + }% + {% zone style + \DTMresetzones + \DTMmagyarzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{magyar}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMmagyartimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMmagyardatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMmagyartimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}[9]{% + \ifDTMshowdate + \DTMDisplaydate{##1}{##2}{##3}{##4}% + \DTMmagyardatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMmagyartimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + }% +\DTMnewstyle + {magyar-numeric}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{magyar}{showdayofmonth}% + {% + \number##3 % space intended + \DTMmagyardatesep + }% + {}% + \number##2 % space intended + \DTMifbool{magyar}{showyear}% + {% + \DTMmagyardatesep + \number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}{\DTMdisplaydate}% + }% + {% time style + \renewcommand*\DTMdisplaytime[3]{% + \number##1 + \DTMmagyartimesep\DTMtwodigits{##2}% + \ifDTMshowseconds\DTMmagyartimesep\DTMtwodigits{##3}\fi + }% + }% + {% zone style + \DTMresetzones + \DTMmagyarzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{magyar}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMmagyartimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMmagyardatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMmagyartimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + } +\newcommand*{\DTMmagyarzonemaps}{% +} + +\DTMifcaseregional +{}% do nothing +{\DTMsetstyle{magyar}} +{\DTMsetstyle{magyar-numeric}} +\ifcsundef{date\CurrentTrackedDialect} +{% + \ifundef\datemagyar + {% do nothing + }% + {% + \def\datemagyar{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{magyar}}% + {\DTMsetstyle{magyar-numeric}}% + }% + }% +}% +{% + \csdef{date\CurrentTrackedDialect}{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{magyar}}% + {\DTMsetstyle{magyar-numeric}} + }% +}% +\endinput +%% +%% End of file `datetime2-magyar.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-norsk/datetime2-norsk-ascii.ldf b/Master/texmf-dist/tex/latex/datetime2-norsk/datetime2-norsk-ascii.ldf new file mode 100644 index 00000000000..8cd97903459 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-norsk/datetime2-norsk-ascii.ldf @@ -0,0 +1,138 @@ +%% +%% This is file `datetime2-norsk-ascii.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-norsk.dtx (with options: `datetime2-norsk-ascii.ldf,package') +%% +%% datetime2-norsk.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-norsk.dtx and +%% datetime2-norsk.ins and the derived files +%% datetime2-norsk-utf8.ldf, datetime2-norsk-ascii.ldf and +%% datetime2-norsk.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{norsk-ascii}[2015/03/31 v1.0] +\newcommand*{\DTMnorskordinal}[1]{% + \number#1.% +} +\newcommand*{\DTMnorskmonthname}[1]{% + \ifcase#1 + \or + januar% + \or + februar% + \or + mars% + \or + april% + \or + mai% + \or + juni% + \or + juli% + \or + august% + \or + september% + \or + oktober% + \or + november% + \or + desember% + \fi +} +\newcommand*{\DTMnorskMonthname}[1]{% + \ifcase#1 + \or + Januar% + \or + Februar% + \or + Mars% + \or + April% + \or + Mai% + \or + Juni% + \or + Juli% + \or + August% + \or + September% + \or + Oktober% + \or + November% + \or + Desember% + \fi +} +\newcommand*{\DTMnorskweekdayname}[1]{% + \ifcase#1 + mandag% + \or + tirsdag% + \or + onsdag% + \or + torsdag% + \or + fredag% + \or + l\o rdag% + \or + s\o ndag% + \fi +} +\newcommand*{\DTMnorskWeekdayname}[1]{% + \ifcase#1 + Mandag% + \or + Tirsdag% + \or + Onsdag% + \or + Torsdag% + \or + Fredag% + \or + L\o rdag% + \or + S\o ndag% + \fi +} +\endinput +%% +%% End of file `datetime2-norsk-ascii.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-norsk/datetime2-norsk-utf8.ldf b/Master/texmf-dist/tex/latex/datetime2-norsk/datetime2-norsk-utf8.ldf new file mode 100644 index 00000000000..c96fb715d7f --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-norsk/datetime2-norsk-utf8.ldf @@ -0,0 +1,138 @@ +%% +%% This is file `datetime2-norsk-utf8.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-norsk.dtx (with options: `datetime2-norsk-utf8.ldf,package') +%% +%% datetime2-norsk.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-norsk.dtx and +%% datetime2-norsk.ins and the derived files +%% datetime2-norsk-utf8.ldf, datetime2-norsk-ascii.ldf and +%% datetime2-norsk.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{norsk-utf8}[2015/03/31 v1.0] +\newcommand*{\DTMnorskordinal}[1]{% + \number#1.% +} +\newcommand*{\DTMnorskmonthname}[1]{% + \ifcase#1 + \or + januar% + \or + februar% + \or + mars% + \or + april% + \or + mai% + \or + juni% + \or + juli% + \or + august% + \or + september% + \or + oktober% + \or + november% + \or + desember% + \fi +} +\newcommand*{\DTMnorskMonthname}[1]{% + \ifcase#1 + \or + Januar% + \or + Februar% + \or + Mars% + \or + April% + \or + Mai% + \or + Juni% + \or + Juli% + \or + August% + \or + September% + \or + Oktober% + \or + November% + \or + Desember% + \fi +} +\newcommand*{\DTMnorskweekdayname}[1]{% + \ifcase#1 + mandag% + \or + tirsdag% + \or + onsdag% + \or + torsdag% + \or + fredag% + \or + lørdag% + \or + søndag% + \fi +} +\newcommand*{\DTMnorskWeekdayname}[1]{% + \ifcase#1 + Mandag% + \or + Tirsdag% + \or + Onsdag% + \or + Torsdag% + \or + Fredag% + \or + Lørdag% + \or + Søndag% + \fi +} +\endinput +%% +%% End of file `datetime2-norsk-utf8.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-norsk/datetime2-norsk.ldf b/Master/texmf-dist/tex/latex/datetime2-norsk/datetime2-norsk.ldf new file mode 100644 index 00000000000..e421b54c180 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-norsk/datetime2-norsk.ldf @@ -0,0 +1,230 @@ +%% +%% This is file `datetime2-norsk.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-norsk.dtx (with options: `datetime2-norsk.ldf,package') +%% +%% datetime2-norsk.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-norsk.dtx and +%% datetime2-norsk.ins and the derived files +%% datetime2-norsk-utf8.ldf, datetime2-norsk-ascii.ldf and +%% datetime2-norsk.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{norsk}[2015/03/31 v1.0] +\RequirePackage{ifxetex,ifluatex} +\ifxetex + \RequireDateTimeModule{norsk-utf8} +\else + \ifluatex + \RequireDateTimeModule{norsk-utf8} + \else + \RequireDateTimeModule{norsk-ascii} + \fi +\fi +\newcommand*{\DTMnorskdaymonthsep}{% + \DTMtexorpdfstring{\protect~}{\space}% +} +\newcommand*{\DTMnorskmonthyearsep}{\space} +\newcommand*{\DTMnorskdatetimesep}{\space} +\newcommand*{\DTMnorsktimezonesep}{\space} +\newcommand*{\DTMnorskdatesep}{.} +\newcommand*{\DTMnorsktimesep}{:} +\DTMdefkey{norsk}{daymonthsep}{\renewcommand*{\DTMnorskdaymonthsep}{#1}} +\DTMdefkey{norsk}{monthyearsep}{\renewcommand*{\DTMnorskmonthyearsep}{#1}} +\DTMdefkey{norsk}{datetimesep}{\renewcommand*{\DTMnorskdatetimesep}{#1}} +\DTMdefkey{norsk}{timezonesep}{\renewcommand*{\DTMnorsktimezonesep}{#1}} +\DTMdefkey{norsk}{datesep}{\renewcommand*{\DTMnorskdatesep}{#1}} +\DTMdefkey{norsk}{timesep}{\renewcommand*{\DTMnorsktimesep}{#1}} +\DTMdefboolkey{norsk}{mapzone}[true]{} +\DTMsetbool{norsk}{mapzone}{true} +\DTMdefboolkey{norsk}{showdayofmonth}[true]{} +\DTMsetbool{norsk}{showdayofmonth}{true} +\DTMdefboolkey{norsk}{showyear}[true]{} +\DTMsetbool{norsk}{showyear}{true} +\DTMnewstyle + {norsk}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{norsk}{showdayofmonth} + {\DTMnorskordinal{##3}\DTMnorskdaymonthsep}% + {}% + \DTMnorskmonthname{##2}% + \DTMifbool{norsk}{showyear}% + {% + \DTMnorskmonthyearsep + \number##1 + }% + {}% + }% + \renewcommand*\DTMDisplaydate[4]{% + \DTMifbool{norsk}{showdayofmonth} + {% + \DTMnorskordinal{##3}\DTMnorskdaymonthsep + \DTMnorskmonthname{##2}% + }% + {% + \DTMnorskMonthname{##2}% + }% + \DTMifbool{norsk}{showyear}% + {% + \DTMnorskmonthyearsep + \number##1 + }% + {}% + }% + }% + {% time style (use default) + \DTMsettimestyle{default}% + }% + {% zone style + \DTMresetzones + \DTMnorskzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{norsk}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMnorsktimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMnorskdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMnorsktimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}[9]{% + \ifDTMshowdate + \DTMDisplaydate{##1}{##2}{##3}{##4}% + \DTMnorskdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMnorsktimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + }% +\DTMnewstyle + {norsk-numeric}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{norsk}{showdayofmonth}% + {% + \number##3 % space intended + \DTMnorskdatesep + }% + {}% + \number##2 % space intended + \DTMifbool{norsk}{showyear}% + {% + \DTMnorskdatesep + \number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}{\DTMdisplaydate}% + }% + {% time style + \renewcommand*\DTMdisplaytime[3]{% + \number##1 + \DTMnorsktimesep\DTMtwodigits{##2}% + \ifDTMshowseconds\DTMnorsktimesep\DTMtwodigits{##3}\fi + }% + }% + {% zone style + \DTMresetzones + \DTMnorskzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{norsk}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMnorsktimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMnorskdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMnorsktimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + } +\newcommand*{\DTMnorskzonemaps}{% + \DTMdefzonemap{01}{00}{CET}% + \DTMdefzonemap{02}{00}{CEST}% +} + +\DTMifcaseregional +{}% do nothing +{\DTMsetstyle{norsk}} +{\DTMsetstyle{norsk-numeric}} +\ifcsundef{date\CurrentTrackedDialect} +{% + \ifundef\datenorsk + {% do nothing + }% + {% + \def\datenorsk{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{norsk}}% + {\DTMsetstyle{norsk-numeric}}% + }% + }% +}% +{% + \csdef{date\CurrentTrackedDialect}{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{norsk}}% + {\DTMsetstyle{norsk-numeric}} + }% +}% +\endinput +%% +%% End of file `datetime2-norsk.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-polish/datetime2-polish-ascii.ldf b/Master/texmf-dist/tex/latex/datetime2-polish/datetime2-polish-ascii.ldf new file mode 100644 index 00000000000..12dacda1b3a --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-polish/datetime2-polish-ascii.ldf @@ -0,0 +1,138 @@ +%% +%% This is file `datetime2-polish-ascii.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-polish.dtx (with options: `datetime2-polish-ascii.ldf,package') +%% +%% datetime2-polish.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-polish.dtx and +%% datetime2-polish.ins and the derived files +%% datetime2-polish-utf8.ldf, datetime2-polish-ascii.ldf and +%% datetime2-polish.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{polish-ascii}[2015/03/31 v1.0] +\newcommand*{\DTMpolishordinal}[1]{% + \number#1 +} +\newcommand*{\DTMpolishmonthname}[1]{% + \ifcase#1 + \or + stycznia% + \or + lutego% + \or + marca% + \or + kwietnia% + \or + maja% + \or + czerwca% + \or + lipca% + \or + sierpnia% + \or + wrze\protect\'snia% + \or + pa\protect\'zdziernika% + \or + listopada% + \or + grudnia% + \fi +} +\newcommand*{\DTMpolishMonthname}[1]{% + \ifcase#1 + \or + Stycznia% + \or + Lutego% + \or + Marca% + \or + Kwietnia% + \or + Maja% + \or + Czerwca% + \or + Lipca% + \or + Sierpnia% + \or + Wrze\protect\'snia% + \or + Pa\protect\'zdziernika% + \or + Listopada% + \or + Grudnia% + \fi +} +\newcommand*{\DTMpolishweekdayname}[1]{% + \ifcase#1 + poniedzia\protect\l ek% + \or + wtorek% + \or + \protect\'sroda% + \or + czwartek% + \or + pi\protect\k atek% + \or + sobota% + \or + niedziela% + \fi +} +\newcommand*{\DTMpolishWeekdayname}[1]{% + \ifcase#1 + Poniedzia\protect\l ek% + \or + Wtorek% + \or + \protect\'Sroda% + \or + Czwartek% + \or + Pi\protect\k atek% + \or + Sobota% + \or + Niedziela% + \fi +} +\endinput +%% +%% End of file `datetime2-polish-ascii.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-polish/datetime2-polish-utf8.ldf b/Master/texmf-dist/tex/latex/datetime2-polish/datetime2-polish-utf8.ldf new file mode 100644 index 00000000000..2f71756cacd --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-polish/datetime2-polish-utf8.ldf @@ -0,0 +1,138 @@ +%% +%% This is file `datetime2-polish-utf8.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-polish.dtx (with options: `datetime2-polish-utf8.ldf,package') +%% +%% datetime2-polish.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-polish.dtx and +%% datetime2-polish.ins and the derived files +%% datetime2-polish-utf8.ldf, datetime2-polish-ascii.ldf and +%% datetime2-polish.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{polish-utf8}[2015/03/31 v1.0] +\newcommand*{\DTMpolishordinal}[1]{% + \number#1 +} +\newcommand*{\DTMpolishmonthname}[1]{% + \ifcase#1 + \or + stycznia% + \or + lutego% + \or + marca% + \or + kwietnia% + \or + maja% + \or + czerwca% + \or + lipca% + \or + sierpnia% + \or + września% + \or + października% + \or + listopada% + \or + grudnia% + \fi +} +\newcommand*{\DTMpolishMonthname}[1]{% + \ifcase#1 + \or + Stycznia% + \or + Lutego% + \or + Marca% + \or + Kwietnia% + \or + Maja% + \or + Czerwca% + \or + Lipca% + \or + Sierpnia% + \or + Września% + \or + Października% + \or + Listopada% + \or + Grudnia% + \fi +} +\newcommand*{\DTMpolishweekdayname}[1]{% + \ifcase#1 + poniedziałek% + \or + wtorek% + \or + środa% + \or + czwartek% + \or + piątek% + \or + sobota% + \or + niedziela% + \fi +} +\newcommand*{\DTMpolishWeekdayname}[1]{% + \ifcase#1 + Poniedziałek% + \or + Wtorek% + \or + Środa% + \or + Czwartek% + \or + Piątek% + \or + Sobota% + \or + Niedziela% + \fi +} +\endinput +%% +%% End of file `datetime2-polish-utf8.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-polish/datetime2-polish.ldf b/Master/texmf-dist/tex/latex/datetime2-polish/datetime2-polish.ldf new file mode 100644 index 00000000000..c390c77e08c --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-polish/datetime2-polish.ldf @@ -0,0 +1,230 @@ +%% +%% This is file `datetime2-polish.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-polish.dtx (with options: `datetime2-polish.ldf,package') +%% +%% datetime2-polish.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-polish.dtx and +%% datetime2-polish.ins and the derived files +%% datetime2-polish-utf8.ldf, datetime2-polish-ascii.ldf and +%% datetime2-polish.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{polish}[2015/03/31 v1.0] +\RequirePackage{ifxetex,ifluatex} +\ifxetex + \RequireDateTimeModule{polish-utf8} +\else + \ifluatex + \RequireDateTimeModule{polish-utf8} + \else + \RequireDateTimeModule{polish-ascii} + \fi +\fi +\newcommand*{\DTMpolishdaymonthsep}{% + \DTMtexorpdfstring{\protect~}{\space}% +} +\newcommand*{\DTMpolishmonthyearsep}{\space} +\newcommand*{\DTMpolishdatetimesep}{\space} +\newcommand*{\DTMpolishtimezonesep}{\space} +\newcommand*{\DTMpolishdatesep}{.} +\newcommand*{\DTMpolishtimesep}{:} +\DTMdefkey{polish}{daymonthsep}{\renewcommand*{\DTMpolishdaymonthsep}{#1}} +\DTMdefkey{polish}{monthyearsep}{\renewcommand*{\DTMpolishmonthyearsep}{#1}} +\DTMdefkey{polish}{datetimesep}{\renewcommand*{\DTMpolishdatetimesep}{#1}} +\DTMdefkey{polish}{timezonesep}{\renewcommand*{\DTMpolishtimezonesep}{#1}} +\DTMdefkey{polish}{datesep}{\renewcommand*{\DTMpolishdatesep}{#1}} +\DTMdefkey{polish}{timesep}{\renewcommand*{\DTMpolishtimesep}{#1}} +\DTMdefboolkey{polish}{mapzone}[true]{} +\DTMsetbool{polish}{mapzone}{true} +\DTMdefboolkey{polish}{showdayofmonth}[true]{} +\DTMsetbool{polish}{showdayofmonth}{true} +\DTMdefboolkey{polish}{showyear}[true]{} +\DTMsetbool{polish}{showyear}{true} +\DTMnewstyle + {polish}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{polish}{showdayofmonth} + {\DTMpolishordinal{##3}\DTMpolishdaymonthsep}% + {}% + \DTMpolishmonthname{##2}% + \DTMifbool{polish}{showyear}% + {% + \DTMpolishmonthyearsep + \number##1 + }% + {}% + }% + \renewcommand*\DTMDisplaydate[4]{% + \DTMifbool{polish}{showdayofmonth} + {% + \DTMpolishordinal{##3}\DTMpolishdaymonthsep + \DTMpolishmonthname{##2}% + }% + {% + \DTMpolishMonthname{##2}% + }% + \DTMifbool{polish}{showyear}% + {% + \DTMpolishmonthyearsep + \number##1 + }% + {}% + }% + }% + {% time style (use default) + \DTMsettimestyle{default}% + }% + {% zone style + \DTMresetzones + \DTMpolishzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{polish}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMpolishtimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMpolishdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMpolishtimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}[9]{% + \ifDTMshowdate + \DTMDisplaydate{##1}{##2}{##3}{##4}% + \DTMpolishdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMpolishtimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + }% +\DTMnewstyle + {polish-numeric}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{polish}{showdayofmonth}% + {% + \number##3 % space intended + \DTMpolishdatesep + }% + {}% + \number##2 % space intended + \DTMifbool{polish}{showyear}% + {% + \DTMpolishdatesep + \number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}{\DTMdisplaydate}% + }% + {% time style + \renewcommand*\DTMdisplaytime[3]{% + \number##1 + \DTMpolishtimesep\DTMtwodigits{##2}% + \ifDTMshowseconds\DTMpolishtimesep\DTMtwodigits{##3}\fi + }% + }% + {% zone style + \DTMresetzones + \DTMpolishzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{polish}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMpolishtimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMpolishdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMpolishtimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + } +\newcommand*{\DTMpolishzonemaps}{% + \DTMdefzonemap{01}{00}{CET}% + \DTMdefzonemap{02}{00}{CEST}% +} + +\DTMifcaseregional +{}% do nothing +{\DTMsetstyle{polish}} +{\DTMsetstyle{polish-numeric}} +\ifcsundef{date\CurrentTrackedDialect} +{% + \ifundef\datepolish + {% do nothing + }% + {% + \def\datepolish{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{polish}}% + {\DTMsetstyle{polish-numeric}}% + }% + }% +}% +{% + \csdef{date\CurrentTrackedDialect}{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{polish}}% + {\DTMsetstyle{polish-numeric}} + }% +}% +\endinput +%% +%% End of file `datetime2-polish.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-romanian/datetime2-romanian-ascii.ldf b/Master/texmf-dist/tex/latex/datetime2-romanian/datetime2-romanian-ascii.ldf new file mode 100644 index 00000000000..ea4ea092e51 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-romanian/datetime2-romanian-ascii.ldf @@ -0,0 +1,138 @@ +%% +%% This is file `datetime2-romanian-ascii.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-romanian.dtx (with options: `datetime2-romanian-ascii.ldf,package') +%% +%% datetime2-romanian.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-romanian.dtx and +%% datetime2-romanian.ins and the derived files +%% datetime2-romanian-utf8.ldf, datetime2-romanian-ascii.ldf and +%% datetime2-romanian.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{romanian-ascii}[2015/03/31 v1.0] +\newcommand*{\DTMromanianordinal}[1]{% + \number#1 +} +\newcommand*{\DTMromanianmonthname}[1]{% + \ifcase#1 + \or + ianuarie% + \or + februarie% + \or + martie% + \or + aprilie% + \or + mai% + \or + iunie% + \or + iulie% + \or + august% + \or + septembrie% + \or + octombrie% + \or + noiembrie% + \or + decembrie% + \fi +} +\newcommand*{\DTMromanianMonthname}[1]{% + \ifcase#1 + \or + Ianuarie% + \or + Februarie% + \or + Martie% + \or + Aprilie% + \or + Mai% + \or + Iunie% + \or + Iulie% + \or + August% + \or + Septembrie% + \or + Octombrie% + \or + Noiembrie% + \or + Decembrie% + \fi +} +\newcommand*{\DTMromanianweekdayname}[1]{% + \ifcase#1 + luni% + \or + mar\protect\c ti% + \or + miercuri% + \or + joi% + \or + vineri% + \or + s\protect\^amb\protect\u at\protect\u a% + \or + duminic\protect\u a% + \fi +} +\newcommand*{\DTMromanianWeekdayname}[1]{% + \ifcase#1 + Luni% + \or + Mar\protect\c ti% + \or + Miercuri% + \or + Joi% + \or + Vineri% + \or + S\protect\^amb\protect\u at\protect\u a% + \or + Duminic\protect\u a% + \fi +} +\endinput +%% +%% End of file `datetime2-romanian-ascii.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-romanian/datetime2-romanian-utf8.ldf b/Master/texmf-dist/tex/latex/datetime2-romanian/datetime2-romanian-utf8.ldf new file mode 100644 index 00000000000..dc981af285f --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-romanian/datetime2-romanian-utf8.ldf @@ -0,0 +1,138 @@ +%% +%% This is file `datetime2-romanian-utf8.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-romanian.dtx (with options: `datetime2-romanian-utf8.ldf,package') +%% +%% datetime2-romanian.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-romanian.dtx and +%% datetime2-romanian.ins and the derived files +%% datetime2-romanian-utf8.ldf, datetime2-romanian-ascii.ldf and +%% datetime2-romanian.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{romanian-utf8}[2015/03/31 v1.0] +\newcommand*{\DTMromanianordinal}[1]{% + \number#1 +} +\newcommand*{\DTMromanianmonthname}[1]{% + \ifcase#1 + \or + ianuarie% + \or + februarie% + \or + martie% + \or + aprilie% + \or + mai% + \or + iunie% + \or + iulie% + \or + august% + \or + septembrie% + \or + octombrie% + \or + noiembrie% + \or + decembrie% + \fi +} +\newcommand*{\DTMromanianMonthname}[1]{% + \ifcase#1 + \or + Ianuarie% + \or + Februarie% + \or + Martie% + \or + Aprilie% + \or + Mai% + \or + Iunie% + \or + Iulie% + \or + August% + \or + Septembrie% + \or + Octombrie% + \or + Noiembrie% + \or + Decembrie% + \fi +} +\newcommand*{\DTMromanianweekdayname}[1]{% + \ifcase#1 + luni% + \or + marţi% + \or + miercuri% + \or + joi% + \or + vineri% + \or + sâmbătă% + \or + duminică% + \fi +} +\newcommand*{\DTMromanianWeekdayname}[1]{% + \ifcase#1 + Luni% + \or + Marţi% + \or + Miercuri% + \or + Joi% + \or + Vineri% + \or + Sâmbătă% + \or + Duminică% + \fi +} +\endinput +%% +%% End of file `datetime2-romanian-utf8.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-romanian/datetime2-romanian.ldf b/Master/texmf-dist/tex/latex/datetime2-romanian/datetime2-romanian.ldf new file mode 100644 index 00000000000..b3e6fcffdf7 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-romanian/datetime2-romanian.ldf @@ -0,0 +1,230 @@ +%% +%% This is file `datetime2-romanian.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-romanian.dtx (with options: `datetime2-romanian.ldf,package') +%% +%% datetime2-romanian.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-romanian.dtx and +%% datetime2-romanian.ins and the derived files +%% datetime2-romanian-utf8.ldf, datetime2-romanian-ascii.ldf and +%% datetime2-romanian.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{romanian}[2015/03/31 v1.0] +\RequirePackage{ifxetex,ifluatex} +\ifxetex + \RequireDateTimeModule{romanian-utf8} +\else + \ifluatex + \RequireDateTimeModule{romanian-utf8} + \else + \RequireDateTimeModule{romanian-ascii} + \fi +\fi +\newcommand*{\DTMromaniandaymonthsep}{% + \DTMtexorpdfstring{\protect~}{\space}% +} +\newcommand*{\DTMromanianmonthyearsep}{\space} +\newcommand*{\DTMromaniandatetimesep}{\space} +\newcommand*{\DTMromaniantimezonesep}{\space} +\newcommand*{\DTMromaniandatesep}{.} +\newcommand*{\DTMromaniantimesep}{:} +\DTMdefkey{romanian}{daymonthsep}{\renewcommand*{\DTMromaniandaymonthsep}{#1}} +\DTMdefkey{romanian}{monthyearsep}{\renewcommand*{\DTMromanianmonthyearsep}{#1}} +\DTMdefkey{romanian}{datetimesep}{\renewcommand*{\DTMromaniandatetimesep}{#1}} +\DTMdefkey{romanian}{timezonesep}{\renewcommand*{\DTMromaniantimezonesep}{#1}} +\DTMdefkey{romanian}{datesep}{\renewcommand*{\DTMromaniandatesep}{#1}} +\DTMdefkey{romanian}{timesep}{\renewcommand*{\DTMromaniantimesep}{#1}} +\DTMdefboolkey{romanian}{mapzone}[true]{} +\DTMsetbool{romanian}{mapzone}{true} +\DTMdefboolkey{romanian}{showdayofmonth}[true]{} +\DTMsetbool{romanian}{showdayofmonth}{true} +\DTMdefboolkey{romanian}{showyear}[true]{} +\DTMsetbool{romanian}{showyear}{true} +\DTMnewstyle + {romanian}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{romanian}{showdayofmonth} + {\DTMromanianordinal{##3}\DTMromaniandaymonthsep}% + {}% + \DTMromanianmonthname{##2}% + \DTMifbool{romanian}{showyear}% + {% + \DTMromanianmonthyearsep + \number##1 + }% + {}% + }% + \renewcommand*\DTMDisplaydate[4]{% + \DTMifbool{romanian}{showdayofmonth} + {% + \DTMromanianordinal{##3}\DTMromaniandaymonthsep + \DTMromanianmonthname{##2}% + }% + {% + \DTMromanianMonthname{##2}% + }% + \DTMifbool{romanian}{showyear}% + {% + \DTMromanianmonthyearsep + \number##1 + }% + {}% + }% + }% + {% time style (use default) + \DTMsettimestyle{default}% + }% + {% zone style + \DTMresetzones + \DTMromanianzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{romanian}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMromaniantimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMromaniandatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMromaniantimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}[9]{% + \ifDTMshowdate + \DTMDisplaydate{##1}{##2}{##3}{##4}% + \DTMromaniandatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMromaniantimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + }% +\DTMnewstyle + {romanian-numeric}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{romanian}{showdayofmonth}% + {% + \number##3 % space intended + \DTMromaniandatesep + }% + {}% + \number##2 % space intended + \DTMifbool{romanian}{showyear}% + {% + \DTMromaniandatesep + \number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}{\DTMdisplaydate}% + }% + {% time style + \renewcommand*\DTMdisplaytime[3]{% + \number##1 + \DTMromaniantimesep\DTMtwodigits{##2}% + \ifDTMshowseconds\DTMromaniantimesep\DTMtwodigits{##3}\fi + }% + }% + {% zone style + \DTMresetzones + \DTMromanianzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{romanian}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMromaniantimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMromaniandatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMromaniantimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + } +\newcommand*{\DTMromanianzonemaps}{% + \DTMdefzonemap{02}{00}{EET}% + \DTMdefzonemap{03}{00}{EEST}% +} + +\DTMifcaseregional +{}% do nothing +{\DTMsetstyle{romanian}} +{\DTMsetstyle{romanian-numeric}} +\ifcsundef{date\CurrentTrackedDialect} +{% + \ifundef\dateromanian + {% do nothing + }% + {% + \def\dateromanian{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{romanian}}% + {\DTMsetstyle{romanian-numeric}}% + }% + }% +}% +{% + \csdef{date\CurrentTrackedDialect}{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{romanian}}% + {\DTMsetstyle{romanian-numeric}} + }% +}% +\endinput +%% +%% End of file `datetime2-romanian.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-russian/datetime2-russian-ascii.ldf b/Master/texmf-dist/tex/latex/datetime2-russian/datetime2-russian-ascii.ldf new file mode 100644 index 00000000000..6e702846dac --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-russian/datetime2-russian-ascii.ldf @@ -0,0 +1,90 @@ +%% +%% This is file `datetime2-russian-ascii.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-russian.dtx (with options: `datetime2-russian-ascii.ldf,package') +%% +%% datetime2-russian.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-russian.dtx and +%% datetime2-russian.ins and the derived files +%% datetime2-russian-utf8.ldf, datetime2-russian-ascii.ldf and +%% datetime2-russian.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{russian-ascii}[2015/03/31 v1.0] +\newcommand*{\DTMrussianordinal}[1]{% + \number#1 +} +\newcommand*{\DTMrussianyear}[1]{% + \number#1 + \DTMtexorpdfstring{\protect~}{\space}\protect\cyrg.% +} +\newcommand*{\DTMrussianmonthname}[1]{% + \ifcase#1 + \or + \protect\cyrya\protect\cyrn\protect\cyrv\protect\cyra\protect\cyrr + \protect\cyrya + \or + \protect\cyrf\protect\cyre\protect\cyrv\protect\cyrr\protect\cyra + \protect\cyrl\protect\cyrya + \or + \protect\cyrm\protect\cyra\protect\cyrr\protect\cyrt\protect\cyra + \or + \protect\cyra\protect\cyrp\protect\cyrr\protect\cyre\protect\cyrl + \protect\cyrya + \or + \protect\cyrm\protect\cyra\protect\cyrya + \or + \protect\cyri\protect\cyryu\protect\cyrn\protect\cyrya + \or + \protect\cyri\protect\cyryu\protect\cyrl\protect\cyrya + \or + \protect\cyra\protect\cyrv\protect\cyrg\protect\cyru\protect\cyrs + \protect\cyrt\protect\cyra + \or + \protect\cyrs\protect\cyre\protect\cyrn\protect\cyrt\protect\cyrya + \protect\cyrb\protect\cyrr\protect\cyrya + \or + \protect\cyro\protect\cyrk\protect\cyrt\protect\cyrya\protect\cyrb + \protect\cyrr\protect\cyrya + \or + \protect\cyrn\protect\cyro\protect\cyrya\protect\cyrb\protect\cyrr + \protect\cyrya + \or + \protect\cyrd\protect\cyre\protect\cyrk\protect\cyra\protect\cyrb + \protect\cyrr\protect\cyrya + \fi +} +\newcommand*{\DTMrussianMonthname}[1]{% +} +\endinput +%% +%% End of file `datetime2-russian-ascii.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-russian/datetime2-russian-utf8.ldf b/Master/texmf-dist/tex/latex/datetime2-russian/datetime2-russian-utf8.ldf new file mode 100644 index 00000000000..98d06911540 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-russian/datetime2-russian-utf8.ldf @@ -0,0 +1,108 @@ +%% +%% This is file `datetime2-russian-utf8.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-russian.dtx (with options: `datetime2-russian-utf8.ldf,package') +%% +%% datetime2-russian.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-russian.dtx and +%% datetime2-russian.ins and the derived files +%% datetime2-russian-utf8.ldf, datetime2-russian-ascii.ldf and +%% datetime2-russian.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{russian-utf8}[2015/03/31 v1.0] +\newcommand*{\DTMrussianordinal}[1]{% + \number#1 +} +\newcommand*{\DTMrussianyear}[1]{% + \number#1 + \DTMtexorpdfstring{\protect~}{\space}г.% +} +\newcommand*{\DTMrussianmonthname}[1]{% + \ifcase#1 + \or + января% + \or + февраля% + \or + марта% + \or + апреля% + \or + мая% + \or + июня% + \or + июля% + \or + августа% + \or + сентября% + \or + октября% + \or + ноября% + \or + декабря% + \fi +} +\newcommand*{\DTMrussianMonthname}[1]{% + \ifcase#1 + \or + Января% + \or + Февраля% + \or + Марта% + \or + Апреля% + \or + Мая% + \or + Июня% + \or + Июля% + \or + Августа% + \or + Сентября% + \or + Октября% + \or + Ноября% + \or + Декабря% + \fi +} +\endinput +%% +%% End of file `datetime2-russian-utf8.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-russian/datetime2-russian.ldf b/Master/texmf-dist/tex/latex/datetime2-russian/datetime2-russian.ldf new file mode 100644 index 00000000000..374e11182f6 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-russian/datetime2-russian.ldf @@ -0,0 +1,237 @@ +%% +%% This is file `datetime2-russian.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-russian.dtx (with options: `datetime2-russian.ldf,package') +%% +%% datetime2-russian.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-russian.dtx and +%% datetime2-russian.ins and the derived files +%% datetime2-russian-utf8.ldf, datetime2-russian-ascii.ldf and +%% datetime2-russian.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{russian}[2015/03/31 v1.0] +\RequirePackage{ifxetex,ifluatex} +\ifxetex + \RequireDateTimeModule{russian-utf8} +\else + \ifluatex + \RequireDateTimeModule{russian-utf8} + \else + \RequireDateTimeModule{russian-ascii} + \fi +\fi +\newcommand*{\DTMrussiandaymonthsep}{% + \DTMtexorpdfstring{\protect~}{\space}} +\newcommand*{\DTMrussianmonthyearsep}{\space} +\newcommand*{\DTMrussiandatetimesep}{\space} +\newcommand*{\DTMrussiantimezonesep}{\space} +\newcommand*{\DTMrussiandatesep}{.} +\newcommand*{\DTMrussiantimesep}{:} +\DTMdefkey{russian}{daymonthsep}{\renewcommand*{\DTMrussiandaymonthsep}{#1}} +\DTMdefkey{russian}{monthyearsep}{\renewcommand*{\DTMrussianmonthyearsep}{#1}} +\DTMdefkey{russian}{datetimesep}{\renewcommand*{\DTMrussiandatetimesep}{#1}} +\DTMdefkey{russian}{timezonesep}{\renewcommand*{\DTMrussiantimezonesep}{#1}} +\DTMdefkey{russian}{datesep}{\renewcommand*{\DTMrussiandatesep}{#1}} +\DTMdefkey{russian}{timesep}{\renewcommand*{\DTMrussiantimesep}{#1}} +\DTMdefboolkey{russian}{mapzone}[true]{} +\DTMsetbool{russian}{mapzone}{true} +\DTMdefboolkey{russian}{showdayofmonth}[true]{} +\DTMsetbool{russian}{showdayofmonth}{true} +\DTMdefboolkey{russian}{showyear}[true]{} +\DTMsetbool{russian}{showyear}{true} +\DTMnewstyle + {russian}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{russian}{showdayofmonth} + {\DTMrussianordinal{##3}\DTMrussiandaymonthsep}% + {}% + \DTMrussianmonthname{##2}% + \DTMifbool{russian}{showyear}% + {% + \DTMrussianmonthyearsep + \DTMrussianyear{##1}% + }% + {}% + }% + \renewcommand*\DTMDisplaydate[4]{% + \DTMifbool{russian}{showdayofmonth} + {% + \DTMrussianordinal{##3}\DTMrussiandaymonthsep + \DTMrussianmonthname{##2}% + }% + {% + \DTMrussianMonthname{##2}% + }% + \DTMifbool{russian}{showyear}% + {% + \DTMrussianmonthyearsep + \DTMrussianyear{##1}% + }% + {}% + }% + }% + {% time style (use default) + \DTMsettimestyle{default}% + }% + {% zone style + \DTMresetzones + \DTMrussianzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{russian}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMrussiantimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMrussiandatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMrussiantimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}[9]{% + \ifDTMshowdate + \DTMDisplaydate{##1}{##2}{##3}{##4}% + \DTMrussiandatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMrussiantimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + }% +\DTMnewstyle + {russian-numeric}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{russian}{showdayofmonth}% + {% + \number##3 % space intended + \DTMrussiandatesep + }% + {}% + \number##2 % space intended + \DTMifbool{russian}{showyear}% + {% + \DTMrussiandatesep + \number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}[4]{\DTMdisplaydate{##1}{##2}{##3}{##4}}% + }% + {% time style + \renewcommand*\DTMdisplaytime[3]{% + \number##1 + \DTMrussiantimesep\DTMtwodigits{##2}% + \ifDTMshowseconds\DTMrussiantimesep\DTMtwodigits{##3}\fi + }% + }% + {% zone style + \DTMresetzones + \DTMrussianzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{russian}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMrussiantimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMrussiandatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMrussiantimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + } +\newcommand*{\DTMrussianzonemaps}{% + \DTMdefzonemap{03}{00}{MKT}% + \DTMdefzonemap{04}{00}{SAMT}% + \DTMdefzonemap{05}{00}{YEKT}% + \DTMdefzonemap{06}{00}{OMST}% + \DTMdefzonemap{07}{00}{KRAT}% + \DTMdefzonemap{08}{00}{IRKST}% + \DTMdefzonemap{09}{00}{YAKST}% + \DTMdefzonemap{10}{00}{VLAT}% + \DTMdefzonemap{11}{00}{SRET}% + \DTMdefzonemap{12}{00}{PETT}% +} + +\DTMifcaseregional +{}% do nothing +{\DTMsetstyle{russian}} +{\DTMsetstyle{russian-numeric}} +\ifcsundef{date\CurrentTrackedDialect} +{% + \ifundef\daterussian + {% do nothing + }% + {% + \def\daterussian{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{russian}}% + {\DTMsetstyle{russian-numeric}}% + }% + }% +}% +{% + \csdef{date\CurrentTrackedDialect}{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{russian}}% + {\DTMsetstyle{russian-numeric}} + }% +}% +\endinput +%% +%% End of file `datetime2-russian.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-samin/datetime2-samin-ascii.ldf b/Master/texmf-dist/tex/latex/datetime2-samin/datetime2-samin-ascii.ldf new file mode 100644 index 00000000000..431c8556397 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-samin/datetime2-samin-ascii.ldf @@ -0,0 +1,104 @@ +%% +%% This is file `datetime2-samin-ascii.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-samin.dtx (with options: `datetime2-samin-ascii.ldf,package') +%% +%% datetime2-samin.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-samin.dtx and +%% datetime2-samin.ins and the derived files +%% datetime2-samin-utf8.ldf, datetime2-samin-ascii.ldf and +%% datetime2-samin.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{samin-ascii}[2015/03/31 v1.0] +\newcommand*{\DTMsaminordinal}[1]{% + \number#1.\DTMtexorpdfstring{\protect~}{\space}b.% +} +\newcommand*{\DTMsaminmonthname}[1]{% + \ifcase#1 + \or + o\protect\dj\protect\dj ajagem\protect\'anu% + \or + guovvam\protect\'anu% + \or + njuk\protect\v cam\protect\'anu% + \or + cuo\protect\ng om\protect\'anu% + \or + miessem\protect\'anu% + \or + geassem\protect\'anu% + \or + suoidnem\protect\'anu% + \or + borgem\protect\'anu% + \or + \protect\v cak\protect\v cam\protect\'anu% + \or + golggotm\protect\'anu% + \or + sk\protect\'abmam\protect\'anu% + \or + juovlam\protect\'anu% + \fi +} +\newcommand*{\DTMsaminMonthname}[1]{% + \ifcase#1 + \or + O\protect\dj\protect\dj ajagem\protect\'anu% + \or + Guovvam\protect\'anu% + \or + Njuk\protect\v cam\protect\'anu% + \or + Cuo\protect\ng om\protect\'anu% + \or + Miessem\protect\'anu% + \or + Geassem\protect\'anu% + \or + Suoidnem\protect\'anu% + \or + Borgem\protect\'anu% + \or + \protect\v Cak\protect\v cam\protect\'anu% + \or + Golggotm\protect\'anu% + \or + Sk\protect\'abmam\protect\'anu% + \or + Juovlam\protect\'anu% + \fi +} +\endinput +%% +%% End of file `datetime2-samin-ascii.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-samin/datetime2-samin-utf8.ldf b/Master/texmf-dist/tex/latex/datetime2-samin/datetime2-samin-utf8.ldf new file mode 100644 index 00000000000..dd109412742 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-samin/datetime2-samin-utf8.ldf @@ -0,0 +1,104 @@ +%% +%% This is file `datetime2-samin-utf8.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-samin.dtx (with options: `datetime2-samin-utf8.ldf,package') +%% +%% datetime2-samin.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-samin.dtx and +%% datetime2-samin.ins and the derived files +%% datetime2-samin-utf8.ldf, datetime2-samin-ascii.ldf and +%% datetime2-samin.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{samin-utf8}[2015/03/31 v1.0] +\newcommand*{\DTMsaminordinal}[1]{% + \number#1.\DTMtexorpdfstring{\protect~}{\space}b.% +} +\newcommand*{\DTMsaminmonthname}[1]{% + \ifcase#1 + \or + ođđajagemánu% + \or + guovvamánu% + \or + njukčamánu% + \or + cuoŋománu% + \or + miessemánu% + \or + geassemánu% + \or + suoidnemánu% + \or + borgemánu% + \or + čakčamánu% + \or + golggotmánu% + \or + skábmamánu% + \or + juovlamánu% + \fi +} +\newcommand*{\DTMsaminMonthname}[1]{% + \ifcase#1 + \or + Ođđajagemánu% + \or + Guovvamánu% + \or + Njukčamánu% + \or + Cuoŋománu% + \or + Miessemánu% + \or + Geassemánu% + \or + Suoidnemánu% + \or + Borgemánu% + \or + Čakčamánu% + \or + Golggotmánu% + \or + Skábmamánu% + \or + Juovlamánu% + \fi +} +\endinput +%% +%% End of file `datetime2-samin-utf8.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-samin/datetime2-samin.ldf b/Master/texmf-dist/tex/latex/datetime2-samin/datetime2-samin.ldf new file mode 100644 index 00000000000..d0e7a3880fd --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-samin/datetime2-samin.ldf @@ -0,0 +1,230 @@ +%% +%% This is file `datetime2-samin.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-samin.dtx (with options: `datetime2-samin.ldf,package') +%% +%% datetime2-samin.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-samin.dtx and +%% datetime2-samin.ins and the derived files +%% datetime2-samin-utf8.ldf, datetime2-samin-ascii.ldf and +%% datetime2-samin.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{samin}[2015/03/31 v1.0] +\RequirePackage{ifxetex,ifluatex} +\ifxetex + \RequireDateTimeModule{samin-utf8} +\else + \ifluatex + \RequireDateTimeModule{samin-utf8} + \else + \RequireDateTimeModule{samin-ascii} + \fi +\fi +\newcommand*{\DTMsaminmonthdaysep}{\space} +\newcommand*{\DTMsamindayyearsep}{\space} +\newcommand*{\DTMsamindatetimesep}{\space} +\newcommand*{\DTMsamintimezonesep}{\space} +\newcommand*{\DTMsamindatesep}{.} +\newcommand*{\DTMsamintimesep}{:} +\DTMdefkey{samin}{monthdaysep}{\renewcommand*{\DTMsaminmonthdaysep}{#1}} +\DTMdefkey{samin}{dayyearsep}{\renewcommand*{\DTMsamindayyearsep}{#1}} +\DTMdefkey{samin}{datetimesep}{\renewcommand*{\DTMsamindatetimesep}{#1}} +\DTMdefkey{samin}{timezonesep}{\renewcommand*{\DTMsamintimezonesep}{#1}} +\DTMdefkey{samin}{datesep}{\renewcommand*{\DTMsamindatesep}{#1}} +\DTMdefkey{samin}{timesep}{\renewcommand*{\DTMsamintimesep}{#1}} +\DTMdefboolkey{samin}{mapzone}[true]{} +\DTMsetbool{samin}{mapzone}{true} +\DTMdefboolkey{samin}{showdayofmonth}[true]{} +\DTMsetbool{samin}{showdayofmonth}{true} +\DTMdefboolkey{samin}{showyear}[true]{} +\DTMsetbool{samin}{showyear}{true} +\DTMnewstyle + {samin}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMsaminmonthname{##2}% + \DTMifbool{samin}{showdayofmonth} + {% + \DTMsaminmonthdaysep + \DTMsaminordinal{##3}% + }% + {}% + \DTMifbool{samin}{showyear}% + {% + \DTMsamindayyearsep + \number##1 + }% + {}% + }% + \renewcommand*\DTMDisplaydate[4]{% + \DTMsaminMonthname{##2}% + \DTMifbool{samin}{showdayofmonth} + {% + \DTMsaminmonthdaysep + \DTMsaminordinal{##3}% + }% + {}% + \DTMifbool{samin}{showyear}% + {% + \DTMsamindayyearsep + \number##1 + }% + {}% + }% + }% + {% time style (use default) + \DTMsettimestyle{default}% + }% + {% zone style + \DTMresetzones + \DTMsaminzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{samin}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMsamintimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMsamindatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMsamintimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}[9]{% + \ifDTMshowdate + \DTMDisplaydate{##1}{##2}{##3}{##4}% + \DTMsamindatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMsamintimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + }% +\DTMnewstyle + {samin-numeric}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{samin}{showdayofmonth}% + {% + \number##3 % space intended + \DTMsamindatesep + }% + {}% + \number##2 % space intended + \DTMifbool{samin}{showyear}% + {% + \DTMsamindatesep + \number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}{\DTMdisplaydate}% + }% + {% time style + \renewcommand*\DTMdisplaytime[3]{% + \number##1 + \DTMsamintimesep\DTMtwodigits{##2}% + \ifDTMshowseconds\DTMsamintimesep\DTMtwodigits{##3}\fi + }% + }% + {% zone style + \DTMresetzones + \DTMsaminzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{samin}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMsamintimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMsamindatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMsamintimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + } +\newcommand*{\DTMsaminzonemaps}{% + \DTMdefzonemap{01}{00}{CET}% + \DTMdefzonemap{02}{00}{EET}% +} + +\DTMifcaseregional +{}% do nothing +{\DTMsetstyle{samin}} +{\DTMsetstyle{samin-numeric}} +\ifcsundef{date\CurrentTrackedDialect} +{% + \ifundef\datesamin + {% do nothing + }% + {% + \def\datesamin{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{samin}}% + {\DTMsetstyle{samin-numeric}}% + }% + }% +}% +{% + \csdef{date\CurrentTrackedDialect}{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{samin}}% + {\DTMsetstyle{samin-numeric}} + }% +}% +\endinput +%% +%% End of file `datetime2-samin.ldf'. |