From b7f95896ce301dbceea61c49abdfa85b2bdb42f9 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 30 Mar 2015 23:12:49 +0000 Subject: datetime2-* (30mar15) git-svn-id: svn://tug.org/texlive/trunk@36682 c570f23f-e606-0410-a88d-b1316a301751 --- .../latex/datetime2-bahasai/datetime2-bahasai.ldf | 222 +++++++++++++ .../latex/datetime2-basque/datetime2-basque.ldf | 273 ++++++++++++++++ .../datetime2-breton/datetime2-breton-ascii.ldf | 82 +++++ .../datetime2-breton/datetime2-breton-utf8.ldf | 82 +++++ .../latex/datetime2-breton/datetime2-breton.ldf | 216 +++++++++++++ .../datetime2-bulgarian-ascii.ldf | 122 ++++++++ .../datetime2-bulgarian-utf8.ldf | 108 +++++++ .../datetime2-bulgarian/datetime2-bulgarian.ldf | 228 ++++++++++++++ .../datetime2-catalan/datetime2-catalan-ascii.ldf | 104 +++++++ .../datetime2-catalan/datetime2-catalan-utf8.ldf | 104 +++++++ .../latex/datetime2-catalan/datetime2-catalan.ldf | 227 ++++++++++++++ .../datetime2-croatian-ascii.ldf | 175 +++++++++++ .../datetime2-croatian/datetime2-croatian-utf8.ldf | 175 +++++++++++ .../datetime2-croatian/datetime2-croatian.ldf | 228 ++++++++++++++ .../datetime2-czech/datetime2-czech-ascii.ldf | 104 +++++++ .../latex/datetime2-czech/datetime2-czech-utf8.ldf | 104 +++++++ .../tex/latex/datetime2-czech/datetime2-czech.ldf | 228 ++++++++++++++ .../datetime2-danish/datetime2-danish-ascii.ldf | 138 +++++++++ .../datetime2-danish/datetime2-danish-utf8.ldf | 138 +++++++++ .../latex/datetime2-danish/datetime2-danish.ldf | 228 ++++++++++++++ .../tex/latex/datetime2-dutch/datetime2-dutch.ldf | 345 +++++++++++++++++++++ .../datetime2-esperanto-ascii.ldf | 104 +++++++ .../datetime2-esperanto-utf8.ldf | 104 +++++++ .../datetime2-esperanto/datetime2-esperanto.ldf | 230 ++++++++++++++ .../datetime2-estonian-ascii.ldf | 107 +++++++ .../datetime2-estonian/datetime2-estonian-utf8.ldf | 107 +++++++ .../datetime2-estonian/datetime2-estonian.ldf | 228 ++++++++++++++ .../datetime2-finnish/datetime2-finnish-ascii.ldf | 104 +++++++ .../datetime2-finnish/datetime2-finnish-utf8.ldf | 104 +++++++ .../latex/datetime2-finnish/datetime2-finnish.ldf | 230 ++++++++++++++ 30 files changed, 4949 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/datetime2-bahasai/datetime2-bahasai.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-basque/datetime2-basque.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-breton/datetime2-breton-ascii.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-breton/datetime2-breton-utf8.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-breton/datetime2-breton.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-bulgarian/datetime2-bulgarian-ascii.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-bulgarian/datetime2-bulgarian-utf8.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-bulgarian/datetime2-bulgarian.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-catalan/datetime2-catalan-ascii.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-catalan/datetime2-catalan-utf8.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-catalan/datetime2-catalan.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-croatian/datetime2-croatian-ascii.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-croatian/datetime2-croatian-utf8.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-croatian/datetime2-croatian.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-czech/datetime2-czech-ascii.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-czech/datetime2-czech-utf8.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-czech/datetime2-czech.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-danish/datetime2-danish-ascii.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-danish/datetime2-danish-utf8.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-danish/datetime2-danish.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-dutch/datetime2-dutch.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-esperanto/datetime2-esperanto-ascii.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-esperanto/datetime2-esperanto-utf8.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-esperanto/datetime2-esperanto.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-estonian/datetime2-estonian-ascii.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-estonian/datetime2-estonian-utf8.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-estonian/datetime2-estonian.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-finnish/datetime2-finnish-ascii.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-finnish/datetime2-finnish-utf8.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-finnish/datetime2-finnish.ldf (limited to 'Master/texmf-dist/tex/latex') diff --git a/Master/texmf-dist/tex/latex/datetime2-bahasai/datetime2-bahasai.ldf b/Master/texmf-dist/tex/latex/datetime2-bahasai/datetime2-bahasai.ldf new file mode 100644 index 00000000000..94e3e724e03 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-bahasai/datetime2-bahasai.ldf @@ -0,0 +1,222 @@ +%% +%% This is file `datetime2-bahasai.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-bahasai.dtx (with options: `datetime2-bahasai.ldf,package') +%% +%% datetime2-bahasai.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-bahasai.dtx and +%% datetime2-bahasai.ins and the derived file +%% datetime2-bahasai.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{bahasai}[2015/03/29 v1.0] +\newcommand*{\DTMbahasaiordinal}[1]{% + \number#1 % space intended +} +\newcommand*{\DTMbahasaimonthname}[1]{% + \ifcase#1 + \or + Januari% + \or + Pebruari% + \or + Maret% + \or + April% + \or + Mei% + \or + Juni% + \or + Juli% + \or + Agustus% + \or + September% + \or + Oktober% + \or + Nopember% + \or + Desember% + \fi +} +\newcommand*{\DTMbahasaidaymonthsep}{% + \DTMtexorpdfstring{\protect~}{\space}} +\newcommand*{\DTMbahasaimonthyearsep}{\space} +\newcommand*{\DTMbahasaidatetimesep}{\space} +\newcommand*{\DTMbahasaitimezonesep}{\space} +\newcommand*{\DTMbahasaidatesep}{/} +\newcommand*{\DTMbahasaitimesep}{:} +\DTMdefkey{bahasai}{daymonthsep}{\renewcommand*{\DTMbahasaidaymonthsep}{#1}} +\DTMdefkey{bahasai}{monthyearsep}{\renewcommand*{\DTMbahasaimonthyearsep}{#1}} +\DTMdefkey{bahasai}{datetimesep}{\renewcommand*{\DTMbahasaidatetimesep}{#1}} +\DTMdefkey{bahasai}{timezonesep}{\renewcommand*{\DTMbahasaitimezonesep}{#1}} +\DTMdefkey{bahasai}{datesep}{\renewcommand*{\DTMbahasaidatesep}{#1}} +\DTMdefkey{bahasai}{timesep}{\renewcommand*{\DTMbahasaitimesep}{#1}} +\DTMdefboolkey{bahasai}{mapzone}[true]{} +\DTMsetbool{bahasai}{mapzone}{true} +\DTMdefboolkey{bahasai}{showdayofmonth}[true]{} +\DTMsetbool{bahasai}{showdayofmonth}{true} +\DTMdefboolkey{bahasai}{showyear}[true]{} +\DTMsetbool{bahasai}{showyear}{true} +\DTMnewstyle + {bahasai}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{bahasai}{showdayofmonth} + {\DTMbahasaiordinal{##3}\DTMbahasaidaymonthsep}% + {}% + \DTMbahasaimonthname{##2}% + \DTMifbool{bahasai}{showyear}% + {% + \DTMbahasaimonthyearsep + \number##1 % space intended + }% + {}% + }% + \renewcommand*\DTMDisplaydate{\DTMdisplaydate}% + }% + {% time style (use default) + \DTMsettimestyle{default}% + }% + {% zone style + \DTMresetzones + \DTMbahasaizonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{bahasai}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMbahasaitimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMbahasaidatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMbahasaitimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + }% +\DTMnewstyle + {bahasai-numeric}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{bahasai}{showdayofmonth}% + {% + \number##3 % space intended + \DTMbahasaidatesep + }% + {}% + \number##2 % space intended + \DTMifbool{bahasai}{showyear}% + {% + \DTMbahasaidatesep + \number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}{\DTMdisplaydate}% + }% + {% time style + \renewcommand*\DTMdisplaytime[3]{% + \number##1 + \DTMbahasaitimesep\DTMtwodigits{##2}% + \ifDTMshowseconds\DTMbahasaitimesep\DTMtwodigits{##3}\fi + }% + }% + {% zone style + \DTMresetzones + \DTMbahasaizonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{bahasai}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMbahasaitimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMbahasaidatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMbahasaitimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + } +\newcommand*{\DTMbahasaizonemaps}{% +} + +\DTMifcaseregional +{}% do nothing +{\DTMsetstyle{bahasai}} +{\DTMsetstyle{bahasai-numeric}} +\ifcsundef{date\CurrentTrackedDialect} +{% + \ifundef\datebahasai + {% do nothing + }% + {% + \def\datebahasai{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{bahasai}}% + {\DTMsetstyle{bahasai-numeric}}% + }% + }% +}% +{% + \csdef{date\CurrentTrackedDialect}{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{bahasai}}% + {\DTMsetstyle{bahasai-numeric}} + }% +}% +\endinput +%% +%% End of file `datetime2-bahasai.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-basque/datetime2-basque.ldf b/Master/texmf-dist/tex/latex/datetime2-basque/datetime2-basque.ldf new file mode 100644 index 00000000000..92260076595 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-basque/datetime2-basque.ldf @@ -0,0 +1,273 @@ +%% +%% This is file `datetime2-basque.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-basque.dtx (with options: `datetime2-basque.ldf,package') +%% +%% datetime2-basque.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-basque.dtx and +%% datetime2-basque.ins and the derived file +%% datetime2-basque.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{basque}[2015/03/29 v1.0] +\newcommand*{\DTMbasqueordinal}[1]{% + \number#1 % space intended +} +\newcommand*{\DTMbasquemonthname}[1]{% + \ifcase#1 + \or + urtarrilaren% + \or + otsailaren% + \or + martxoaren% + \or + apirilaren% + \or + maiatzaren% + \or + ekainaren% + \or + uztailaren% + \or + abuztuaren% + \or + irailaren% + \or + urriaren% + \or + azaroaren% + \or + abenduaren% + \fi +} +\newcommand*{\DTMbasqueMonthname}[1]{% + \ifcase#1 + \or + Urtarrilaren% + \or + Otsailaren% + \or + Martxoaren% + \or + Apirilaren% + \or + Maiatzaren% + \or + Ekainaren% + \or + Uztailaren% + \or + Abuztuaren% + \or + Irailaren% + \or + Urriaren% + \or + Azaroaren% + \or + Abenduaren% + \fi +} +\newcommand*{\DTMbasquemonthdaysep}{% + \DTMtexorpdfstring{\protect~}{\space}} +\newcommand*{\DTMbasqueyearmonthsep}{.eko\space} +\newcommand*{\DTMbasquedatetimesep}{\space} +\newcommand*{\DTMbasquetimezonesep}{\space} +\newcommand*{\DTMbasquedatesep}{.} +\newcommand*{\DTMbasquetimesep}{:} +\DTMdefkey{basque}{monthdaysep}{\renewcommand*{\DTMbasquemonthdaysep}{#1}} +\DTMdefkey{basque}{yearmonthsep}{\renewcommand*{\DTMbasqueyearmonthsep}{#1}} +\DTMdefkey{basque}{datetimesep}{\renewcommand*{\DTMbasquedatetimesep}{#1}} +\DTMdefkey{basque}{timezonesep}{\renewcommand*{\DTMbasquetimezonesep}{#1}} +\DTMdefkey{basque}{datesep}{\renewcommand*{\DTMbasquedatesep}{#1}} +\DTMdefkey{basque}{timesep}{\renewcommand*{\DTMbasquetimesep}{#1}} +\DTMdefboolkey{basque}{mapzone}[true]{} +\DTMsetbool{basque}{mapzone}{true} +\DTMdefboolkey{basque}{showdayofmonth}[true]{} +\DTMsetbool{basque}{showdayofmonth}{true} +\DTMdefboolkey{basque}{showyear}[true]{} +\DTMsetbool{basque}{showyear}{true} +\DTMnewstyle + {basque}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{basque}{showyear}% + {% + \number##1 % space intended + \DTMbasqueyearmonthsep + }% + {}% + \DTMbasquemonthname{##2}% + \DTMifbool{basque}{showdayofmonth} + {\DTMbasquemonthdaysep\DTMbasqueordinal{##3}}% + {}% + }% + \renewcommand*\DTMDisplaydate[4]{% + \DTMifbool{basque}{showyear}% + {% + \number##1 % space intended + \DTMbasqueyearmonthsep + \DTMbasquemonthname{##2}% + }% + {% + \DTMbasqueMonthname{##2}% + }% + \DTMifbool{basque}{showdayofmonth} + {\DTMbasquemonthdaysep\DTMbasqueordinal{##3}}% + {}% + }% + }% + {% time style (use default) + \DTMsettimestyle{default}% + }% + {% zone style + \DTMresetzones + \DTMbasquezonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{basque}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMbasquetimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMbasquedatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMbasquetimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}[9]{% + \ifDTMshowdate + \DTMDisplaydate{##1}{##2}{##3}{##4}% + \DTMbasquedatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMbasquetimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + }% +\DTMnewstyle + {basque-numeric}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{basque}{showdayofmonth}% + {% + \number##3 % space intended + \DTMbasquedatesep + }% + {}% + \number##2 % space intended + \DTMifbool{basque}{showyear}% + {% + \DTMbasquedatesep + \number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}{\DTMdisplaydate}% + }% + {% time style + \renewcommand*\DTMdisplaytime[3]{% + \number##1 + \DTMbasquetimesep\DTMtwodigits{##2}% + \ifDTMshowseconds\DTMbasquetimesep\DTMtwodigits{##3}\fi + }% + }% + {% zone style + \DTMresetzones + \DTMbasquezonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{basque}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMbasquetimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMbasquedatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMbasquetimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + } +\newcommand*{\DTMbasquezonemaps}{% +} + +\DTMifcaseregional +{}% do nothing +{\DTMsetstyle{basque}} +{\DTMsetstyle{basque-numeric}} +\ifcsundef{date\CurrentTrackedDialect} +{% + \ifundef\datebasque + {% do nothing + }% + {% + \def\datebasque{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{basque}}% + {\DTMsetstyle{basque-numeric}}% + }% + }% +}% +{% + \csdef{date\CurrentTrackedDialect}{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{basque}}% + {\DTMsetstyle{basque-numeric}} + }% +}% +\endinput +%% +%% End of file `datetime2-basque.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-breton/datetime2-breton-ascii.ldf b/Master/texmf-dist/tex/latex/datetime2-breton/datetime2-breton-ascii.ldf new file mode 100644 index 00000000000..e8757c61c0d --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-breton/datetime2-breton-ascii.ldf @@ -0,0 +1,82 @@ +%% +%% This is file `datetime2-breton-ascii.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-breton.dtx (with options: `datetime2-breton-ascii.ldf,package') +%% +%% datetime2-breton.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-breton.dtx and +%% datetime2-breton.ins and the derived files +%% datetime2-breton-utf8.ldf, datetime2-breton-ascii.ldf and +%% datetime2-breton.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{breton-ascii}[2015/03/29 v1.0] +\newcommand*{\DTMbretonordinal}[1]{% + \number#1 + \ifnum#1=1 + \DTMbretonfmtordsuffix{a\protect\~{n}}% + \fi +} +\newcommand*{\DTMbretonfmtordsuffix}[1]{% + \DTMtexorpdfstring{\protect\/\protect\textsuperscript{#1}}{#1}% +} +\newcommand*{\DTMbretonmonthname}[1]{% + \ifcase#1 + \or + Genver% + \or + C'hwevrer% + \or + Meurzh% + \or + Ebrel% + \or + Mae% + \or + Mezheven% + \or + Gouere% + \or + Eost% + \or + Gwengolo% + \or + Here% + \or + Du% + \or + Kerzu% + \fi +} +\endinput +%% +%% End of file `datetime2-breton-ascii.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-breton/datetime2-breton-utf8.ldf b/Master/texmf-dist/tex/latex/datetime2-breton/datetime2-breton-utf8.ldf new file mode 100644 index 00000000000..b0c0b1cb362 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-breton/datetime2-breton-utf8.ldf @@ -0,0 +1,82 @@ +%% +%% This is file `datetime2-breton-utf8.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-breton.dtx (with options: `datetime2-breton-utf8.ldf,package') +%% +%% datetime2-breton.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-breton.dtx and +%% datetime2-breton.ins and the derived files +%% datetime2-breton-utf8.ldf, datetime2-breton-ascii.ldf and +%% datetime2-breton.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{breton-utf8}[2015/03/29 v1.0] +\newcommand*{\DTMbretonordinal}[1]{% + \number#1 + \ifnum#1=1 + \DTMbretonfmtordinal{añ}% + \fi +} +\newcommand*{\DTMbretonfmtordinal}[1]{% + \DTMtexorpdfstring{\protect\/\protect\textsuperscript{#1}}{#1}% +} +\newcommand*{\DTMbretonmonthname}[1]{% + \ifcase#1 + \or + Genver% + \or + C'hwevrer% + \or + Meurzh% + \or + Ebrel% + \or + Mae% + \or + Mezheven% + \or + Gouere% + \or + Eost% + \or + Gwengolo% + \or + Here% + \or + Du% + \or + Kerzu% + \fi +} +\endinput +%% +%% End of file `datetime2-breton-utf8.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-breton/datetime2-breton.ldf b/Master/texmf-dist/tex/latex/datetime2-breton/datetime2-breton.ldf new file mode 100644 index 00000000000..7d8c5e5c01e --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-breton/datetime2-breton.ldf @@ -0,0 +1,216 @@ +%% +%% This is file `datetime2-breton.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-breton.dtx (with options: `datetime2-breton.ldf,package') +%% +%% datetime2-breton.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-breton.dtx and +%% datetime2-breton.ins and the derived files +%% datetime2-breton-utf8.ldf, datetime2-breton-ascii.ldf and +%% datetime2-breton.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{breton}[2015/03/29 v1.0] +\RequirePackage{ifxetex,ifluatex} +\ifxetex + \RequireDateTimeModule{breton-utf8} +\else + \ifluatex + \RequireDateTimeModule{breton-utf8} + \else + \RequireDateTimeModule{breton-ascii} + \fi +\fi +\newcommand*{\DTMbretondaymonthsep}{\space a\space viz\space} +\newcommand*{\DTMbretonmonthyearsep}{\space} +\newcommand*{\DTMbretondatetimesep}{\space} +\newcommand*{\DTMbretontimezonesep}{\space} +\newcommand*{\DTMbretondatesep}{/} +\newcommand*{\DTMbretontimesep}{:} +\DTMdefkey{breton}{daymonthsep}{\renewcommand*{\DTMbretondaymonthsep}{#1}} +\DTMdefkey{breton}{monthyearsep}{\renewcommand*{\DTMbretonmonthyearsep}{#1}} +\DTMdefkey{breton}{datetimesep}{\renewcommand*{\DTMbretondatetimesep}{#1}} +\DTMdefkey{breton}{timezonesep}{\renewcommand*{\DTMbretontimezonesep}{#1}} +\DTMdefkey{breton}{datesep}{\renewcommand*{\DTMbretondatesep}{#1}} +\DTMdefkey{breton}{timesep}{\renewcommand*{\DTMbretontimesep}{#1}} +\DTMdefchoicekey{breton}{ord}[\val\nr]{level,raise,omit,sc}{% + \ifcase\nr\relax + \renewcommand*{\DTMbretonfmtordsuffix}[1]{##1}% + \or + \renewcommand*{\DTMbretonfmtordsuffix}[1]{% + \DTMtexorpdfstring{\protect\textsuperscript{##1}}{##1}}% + \or + \renewcommand*{\DTMbretonfmtordsuffix}[1]{}% + \or + \renewcommand*{\DTMbretonfmtordsuffix}[1]{% + \DTMtexorpdfstring{\protect\textsc{##1}}{##1}}% + \fi +} +\DTMdefboolkey{breton}{mapzone}[true]{} +\DTMsetbool{breton}{mapzone}{true} +\DTMdefboolkey{breton}{showdayofmonth}[true]{} +\DTMsetbool{breton}{showdayofmonth}{true} +\DTMdefboolkey{breton}{showyear}[true]{} +\DTMsetbool{breton}{showyear}{true} +\DTMnewstyle + {breton}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{breton}{showdayofmonth} + {\DTMbretonordinal{##3}\DTMbretondaymonthsep}% + {}% + \DTMbretonmonthname{##2}% + \DTMifbool{breton}{showyear}% + {% + \DTMbretonmonthyearsep + \number##1 % space intended + }% + {}% + }% + \renewcommand*\DTMDisplaydate{\DTMdisplaydate}% + }% + {% time style (use default) + \DTMsettimestyle{default}% + }% + {% zone style + \DTMresetzones + \DTMbretonzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{breton}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMbretontimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMbretondatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMbretontimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + }% +\DTMnewstyle + {breton-numeric}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{breton}{showdayofmonth}% + {% + \number##3 % space intended + \DTMbretondatesep + }% + {}% + \number##2 % space intended + \DTMifbool{breton}{showyear}% + {% + \DTMbretondatesep + \number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}[4]{\DTMdisplaydate{##1}{##2}{##3}{##4}}% + }% + {% time style + \renewcommand*\DTMdisplaytime[3]{% + \number##1 + \DTMbretontimesep\DTMtwodigits{##2}% + \ifDTMshowseconds\DTMbretontimesep\DTMtwodigits{##3}\fi + }% + }% + {% zone style + \DTMresetzones + \DTMbretonzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{breton}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMbretontimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMbretondatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMbretontimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + } +\newcommand*{\DTMbretonzonemaps}{% + \DTMdefzonemap{01}{00}{CET}% + \DTMdefzonemap{02}{00}{CEST}% +} + +\DTMifcaseregional +{}% do nothing +{\DTMsetstyle{breton}} +{\DTMsetstyle{breton-numeric}} +\ifcsundef{date\CurrentTrackedDialect} +{% + \ifundef\datebreton + {% do nothing + }% + {% + \def\datebreton{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{breton}}% + {\DTMsetstyle{breton-numeric}}% + }% + }% +}% +{% + \csdef{date\CurrentTrackedDialect}{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{breton}}% + {\DTMsetstyle{breton-numeric}} + }% +}% +\endinput +%% +%% End of file `datetime2-breton.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-bulgarian/datetime2-bulgarian-ascii.ldf b/Master/texmf-dist/tex/latex/datetime2-bulgarian/datetime2-bulgarian-ascii.ldf new file mode 100644 index 00000000000..ca95232ce21 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-bulgarian/datetime2-bulgarian-ascii.ldf @@ -0,0 +1,122 @@ +%% +%% This is file `datetime2-bulgarian-ascii.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-bulgarian.dtx (with options: `datetime2-bulgarian-ascii.ldf,package') +%% +%% datetime2-bulgarian.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-bulgarian.dtx and +%% datetime2-bulgarian.ins and the derived files +%% datetime2-bulgarian-utf8.ldf, datetime2-bulgarian-ascii.ldf and +%% datetime2-bulgarian.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{bulgarian-ascii}[2015/03/29 v1.0] +\newcommand*{\DTMbulgarianordinal}[1]{% + \number#1 +} +\newcommand*{\DTMbulgarianyear}[1]{% + \number#1 + \DTMtexorpdfstring{\protect~}{\space}\protect\cyrg.% +} +\newcommand*{\DTMbulgarianmonthname}[1]{% + \ifcase#1 + \or + \protect\cyrya\protect\cyrn\protect\cyru\protect\cyra\protect\cyrr + \protect\cyri + \or + \protect\cyrf\protect\cyre\protect\cyrv\protect\cyrr\protect\cyru + \protect\cyra\protect\cyrr\protect\cyri + \or + \protect\cyrm\protect\cyra\protect\cyrr\protect\cyrt + \or + \protect\cyra\protect\cyrp\protect\cyrr\protect\cyri\protect\cyrl + \or + \protect\cyrm\protect\cyra\protect\cyrishrt + \or + \protect\cyryu\protect\cyrn\protect\cyri + \or + \protect\cyryu\protect\cyrl\protect\cyri + \or + \protect\cyra\protect\cyrv\protect\cyrg\protect\cyru\protect\cyrs + \protect\cyrt + \or + \protect\cyrs\protect\cyre\protect\cyrp\protect\cyrt\protect\cyre + \protect\cyrm\protect\cyrv\protect\cyrr\protect\cyri + \or + \protect\cyro\protect\cyrk\protect\cyrt\protect\cyro\protect\cyrm + \protect\cyrv\protect\cyrr\protect\cyri + \or + \protect\cyrn\protect\cyro\protect\cyre\protect\cyrm\protect\cyrv + \protect\cyrr\protect\cyri + \or + \protect\cyrd\protect\cyre\protect\cyrk\protect\cyre\protect\cyrm + \protect\cyrv\protect\cyrr\protect\cyri + \fi +} +\newcommand*{\DTMbulgarianMonthname}[1]{% + \ifcase#1 + \or + \protect\CYRYA\protect\cyrn\protect\cyru\protect\cyra\protect\cyrr + \protect\cyri + \or + \protect\CYRF\protect\cyre\protect\cyrv\protect\cyrr\protect\cyru + \protect\cyra\protect\cyrr\protect\cyri + \or + \protect\CYRM\protect\cyra\protect\cyrr\protect\cyrt + \or + \protect\CYRA\protect\cyrp\protect\cyrr\protect\cyri\protect\cyrl + \or + \protect\CYRM\protect\cyra\protect\cyrishrt + \or + \protect\CYRYU\protect\cyrn\protect\cyri + \or + \protect\CYRYU\protect\cyrl\protect\cyri + \or + \protect\CYRA\protect\cyrv\protect\cyrg\protect\cyru\protect\cyrs + \protect\cyrt + \or + \protect\CYRS\protect\cyre\protect\cyrp\protect\cyrt\protect\cyre + \protect\cyrm\protect\cyrv\protect\cyrr\protect\cyri + \or + \protect\CYRO\protect\cyrk\protect\cyrt\protect\cyro\protect\cyrm + \protect\cyrv\protect\cyrr\protect\cyri + \or + \protect\CYRN\protect\cyro\protect\cyre\protect\cyrm\protect\cyrv + \protect\cyrr\protect\cyri + \or + \protect\CYRD\protect\cyre\protect\cyrk\protect\cyre\protect\cyrm + \protect\cyrv\protect\cyrr\protect\cyri + \fi +} +\endinput +%% +%% End of file `datetime2-bulgarian-ascii.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-bulgarian/datetime2-bulgarian-utf8.ldf b/Master/texmf-dist/tex/latex/datetime2-bulgarian/datetime2-bulgarian-utf8.ldf new file mode 100644 index 00000000000..e00bfdc4eca --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-bulgarian/datetime2-bulgarian-utf8.ldf @@ -0,0 +1,108 @@ +%% +%% This is file `datetime2-bulgarian-utf8.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-bulgarian.dtx (with options: `datetime2-bulgarian-utf8.ldf,package') +%% +%% datetime2-bulgarian.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-bulgarian.dtx and +%% datetime2-bulgarian.ins and the derived files +%% datetime2-bulgarian-utf8.ldf, datetime2-bulgarian-ascii.ldf and +%% datetime2-bulgarian.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{bulgarian-utf8}[2015/03/29 v1.0] +\newcommand*{\DTMbulgarianordinal}[1]{% + \number#1 +} +\newcommand*{\DTMbulgarianyear}[1]{% + \number#1 + \DTMtexorpdfstring{\protect~}{\space}г.% +} +\newcommand*{\DTMbulgarianmonthname}[1]{% + \ifcase#1 + \or + януари% + \or + февруари% + \or + март% + \or + април% + \or + май% + \or + юни% + \or + юли% + \or + август% + \or + септември% + \or + октомври% + \or + ноември% + \or + декември% + \fi +} +\newcommand*{\DTMbulgarianMonthname}[1]{% + \ifcase#1 + \or + Януари% + \or + Февруари% + \or + Март% + \or + Април% + \or + Май% + \or + Юни% + \or + Юли% + \or + Август% + \or + Септември% + \or + Октомври% + \or + Ноември% + \or + Декември% + \fi +} +\endinput +%% +%% End of file `datetime2-bulgarian-utf8.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-bulgarian/datetime2-bulgarian.ldf b/Master/texmf-dist/tex/latex/datetime2-bulgarian/datetime2-bulgarian.ldf new file mode 100644 index 00000000000..2d55408e6b7 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-bulgarian/datetime2-bulgarian.ldf @@ -0,0 +1,228 @@ +%% +%% This is file `datetime2-bulgarian.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-bulgarian.dtx (with options: `datetime2-bulgarian.ldf,package') +%% +%% datetime2-bulgarian.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-bulgarian.dtx and +%% datetime2-bulgarian.ins and the derived files +%% datetime2-bulgarian-utf8.ldf, datetime2-bulgarian-ascii.ldf and +%% datetime2-bulgarian.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{bulgarian}[2015/03/29 v1.0] +\RequirePackage{ifxetex,ifluatex} +\ifxetex + \RequireDateTimeModule{bulgarian-utf8} +\else + \ifluatex + \RequireDateTimeModule{bulgarian-utf8} + \else + \RequireDateTimeModule{bulgarian-ascii} + \fi +\fi +\newcommand*{\DTMbulgariandaymonthsep}{\space} +\newcommand*{\DTMbulgarianmonthyearsep}{\space} +\newcommand*{\DTMbulgariandatetimesep}{\space} +\newcommand*{\DTMbulgariantimezonesep}{\space} +\newcommand*{\DTMbulgariandatesep}{.} +\newcommand*{\DTMbulgariantimesep}{:} +\DTMdefkey{bulgarian}{daymonthsep}{\renewcommand*{\DTMbulgariandaymonthsep}{#1}} +\DTMdefkey{bulgarian}{monthyearsep}{\renewcommand*{\DTMbulgarianmonthyearsep}{#1}} +\DTMdefkey{bulgarian}{datetimesep}{\renewcommand*{\DTMbulgariandatetimesep}{#1}} +\DTMdefkey{bulgarian}{timezonesep}{\renewcommand*{\DTMbulgariantimezonesep}{#1}} +\DTMdefkey{bulgarian}{datesep}{\renewcommand*{\DTMbulgariandatesep}{#1}} +\DTMdefkey{bulgarian}{timesep}{\renewcommand*{\DTMbulgariantimesep}{#1}} +\DTMdefboolkey{bulgarian}{mapzone}[true]{} +\DTMsetbool{bulgarian}{mapzone}{true} +\DTMdefboolkey{bulgarian}{showdayofmonth}[true]{} +\DTMsetbool{bulgarian}{showdayofmonth}{true} +\DTMdefboolkey{bulgarian}{showyear}[true]{} +\DTMsetbool{bulgarian}{showyear}{true} +\DTMnewstyle + {bulgarian}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{bulgarian}{showdayofmonth} + {\DTMbulgarianordinal{##3}\DTMbulgariandaymonthsep}% + {}% + \DTMbulgarianmonthname{##2}% + \DTMifbool{bulgarian}{showyear}% + {% + \DTMbulgarianmonthyearsep + \DTMbulgarianyear{##1}% + }% + {}% + }% + \renewcommand*\DTMDisplaydate[4]{% + \DTMifbool{bulgarian}{showdayofmonth} + {% + \DTMbulgarianordinal{##3}\DTMbulgariandaymonthsep + \DTMbulgarianmonthname{##2}% + }% + {% + \DTMbulgarianMonthname{##2}% + }% + \DTMifbool{bulgarian}{showyear}% + {% + \DTMbulgarianmonthyearsep + \DTMbulgarianyear{##1}% + }% + {}% + }% + }% + {% time style (use default) + \DTMsettimestyle{default}% + }% + {% zone style + \DTMresetzones + \DTMbulgarianzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{bulgarian}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMbulgariantimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMbulgariandatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMbulgariantimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}[9]{% + \ifDTMshowdate + \DTMDisplaydate{##1}{##2}{##3}{##4}% + \DTMbulgariandatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMbulgariantimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + }% +\DTMnewstyle + {bulgarian-numeric}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{bulgarian}{showdayofmonth}% + {% + \number##3 % space intended + \DTMbulgariandatesep + }% + {}% + \number##2 % space intended + \DTMifbool{bulgarian}{showyear}% + {% + \DTMbulgariandatesep + \number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}[4]{\DTMdisplaydate{##1}{##2}{##3}{##4}}% + }% + {% time style + \renewcommand*\DTMdisplaytime[3]{% + \number##1 + \DTMbulgariantimesep\DTMtwodigits{##2}% + \ifDTMshowseconds\DTMbulgariantimesep\DTMtwodigits{##3}\fi + }% + }% + {% zone style + \DTMresetzones + \DTMbulgarianzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{bulgarian}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMbulgariantimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMbulgariandatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMbulgariantimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + } +\newcommand*{\DTMbulgarianzonemaps}{% + \DTMdefzonemap{02}{00}{EET}% + \DTMdefzonemap{03}{00}{EEST}% +} + +\DTMifcaseregional +{}% do nothing +{\DTMsetstyle{bulgarian}} +{\DTMsetstyle{bulgarian-numeric}} +\ifcsundef{date\CurrentTrackedDialect} +{% + \ifundef\datebulgarian + {% do nothing + }% + {% + \def\datebulgarian{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{bulgarian}}% + {\DTMsetstyle{bulgarian-numeric}}% + }% + }% +}% +{% + \csdef{date\CurrentTrackedDialect}{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{bulgarian}}% + {\DTMsetstyle{bulgarian-numeric}} + }% +}% +\endinput +%% +%% End of file `datetime2-bulgarian.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-catalan/datetime2-catalan-ascii.ldf b/Master/texmf-dist/tex/latex/datetime2-catalan/datetime2-catalan-ascii.ldf new file mode 100644 index 00000000000..fbc44f2130b --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-catalan/datetime2-catalan-ascii.ldf @@ -0,0 +1,104 @@ +%% +%% This is file `datetime2-catalan-ascii.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-catalan.dtx (with options: `datetime2-catalan-ascii.ldf,package') +%% +%% datetime2-catalan.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-catalan.dtx and +%% datetime2-catalan.ins and the derived files +%% datetime2-catalan-utf8.ldf, datetime2-catalan-ascii.ldf and +%% datetime2-catalan.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{catalan-ascii}[2013/03/29 v1.0] +\newcommand*{\DTMcatalanordinal}[1]{% + \number#1 +} +\newcommand*{\DTMcatalanmonthname}[1]{% + \ifcase#1 + \or + de gener% + \or + de febrer% + \or + de mar\protect\c{c}% + \or + d'abril% + \or + de maig% + \or + de juny% + \or + de juliol% + \or + d'agost% + \or + de setembre% + \or + d'octubre% + \or + de novembre% + \or + de desembre% + \fi +} +\newcommand*{\DTMcatalanMonthname}[1]{% + \ifcase#1 + \or + De gener% + \or + De febrer% + \or + De mar\protect\c{c}% + \or + D'abril% + \or + De maig% + \or + De juny% + \or + De juliol% + \or + D'agost% + \or + De setembre% + \or + D'octubre% + \or + De novembre% + \or + De desembre% + \fi +} +\endinput +%% +%% End of file `datetime2-catalan-ascii.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-catalan/datetime2-catalan-utf8.ldf b/Master/texmf-dist/tex/latex/datetime2-catalan/datetime2-catalan-utf8.ldf new file mode 100644 index 00000000000..4f055f9d948 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-catalan/datetime2-catalan-utf8.ldf @@ -0,0 +1,104 @@ +%% +%% This is file `datetime2-catalan-utf8.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-catalan.dtx (with options: `datetime2-catalan-utf8.ldf,package') +%% +%% datetime2-catalan.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-catalan.dtx and +%% datetime2-catalan.ins and the derived files +%% datetime2-catalan-utf8.ldf, datetime2-catalan-ascii.ldf and +%% datetime2-catalan.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{catalan-utf8}[2013/03/29 v1.0] +\newcommand*{\DTMcatalanordinal}[1]{% + \number#1 +} +\newcommand*{\DTMcatalanmonthname}[1]{% + \ifcase#1 + \or + de gener% + \or + de febrer% + \or + de març% + \or + d'abril% + \or + de maig% + \or + de juny% + \or + de juliol% + \or + d'agost% + \or + de setembre% + \or + d'octubre% + \or + de novembre% + \or + de desembre% + \fi +} +\newcommand*{\DTMcatalanMonthname}[1]{% + \ifcase#1 + \or + De gener% + \or + De febrer% + \or + De març% + \or + D'abril% + \or + De maig% + \or + De juny% + \or + De juliol% + \or + D'agost% + \or + De setembre% + \or + D'octubre% + \or + De novembre% + \or + De desembre% + \fi +} +\endinput +%% +%% End of file `datetime2-catalan-utf8.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-catalan/datetime2-catalan.ldf b/Master/texmf-dist/tex/latex/datetime2-catalan/datetime2-catalan.ldf new file mode 100644 index 00000000000..33d4b8f5fa5 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-catalan/datetime2-catalan.ldf @@ -0,0 +1,227 @@ +%% +%% This is file `datetime2-catalan.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-catalan.dtx (with options: `datetime2-catalan.ldf,package') +%% +%% datetime2-catalan.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-catalan.dtx and +%% datetime2-catalan.ins and the derived files +%% datetime2-catalan-utf8.ldf, datetime2-catalan-ascii.ldf and +%% datetime2-catalan.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{catalan}[2013/03/29 v1.0] +\RequirePackage{ifxetex,ifluatex} +\ifxetex + \RequireDateTimeModule{catalan-utf8} +\else + \ifluatex + \RequireDateTimeModule{catalan-utf8} + \else + \RequireDateTimeModule{catalan-ascii} + \fi +\fi +\newcommand*{\DTMcatalandaymonthsep}{\space} +\newcommand*{\DTMcatalanmonthyearsep}{% + \space de\DTMtexorpdfstring{\protect~}{\space}} +\newcommand*{\DTMcatalandatetimesep}{\space} +\newcommand*{\DTMcatalantimezonesep}{\space} +\newcommand*{\DTMcatalandatesep}{/} +\newcommand*{\DTMcatalantimesep}{:} +\DTMdefkey{catalan}{daymonthsep}{\renewcommand*{\DTMcatalandaymonthsep}{#1}} +\DTMdefkey{catalan}{monthyearsep}{\renewcommand*{\DTMcatalanmonthyearsep}{#1}} +\DTMdefkey{catalan}{datetimesep}{\renewcommand*{\DTMcatalandatetimesep}{#1}} +\DTMdefkey{catalan}{timezonesep}{\renewcommand*{\DTMcatalantimezonesep}{#1}} +\DTMdefkey{catalan}{datesep}{\renewcommand*{\DTMcatalandatesep}{#1}} +\DTMdefkey{catalan}{timesep}{\renewcommand*{\DTMcatalantimesep}{#1}} +\DTMdefboolkey{catalan}{mapzone}[true]{} +\DTMsetbool{catalan}{mapzone}{true} +\DTMdefboolkey{catalan}{showdayofmonth}[true]{} +\DTMsetbool{catalan}{showdayofmonth}{true} +\DTMdefboolkey{catalan}{showyear}[true]{} +\DTMsetbool{catalan}{showyear}{true} +\DTMnewstyle + {catalan}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{catalan}{showdayofmonth} + {\DTMcatalanordinal{##3}\DTMcatalandaymonthsep}% + {}% + \DTMcatalanmonthname{##2}% + \DTMifbool{catalan}{showyear}% + {% + \DTMcatalanmonthyearsep + \number##1 % space intended + }% + {}% + }% + \renewcommand*\DTMDisplaydate[4]{% + \DTMifbool{catalan}{showdayofmonth} + {% + \DTMcatalanordinal{##3}\DTMcatalandaymonthsep + \DTMcatalanmonthname{##2}% + }% + {\DTMcatalanMonthname{##2}}% + \DTMifbool{catalan}{showyear}% + {% + \DTMcatalanmonthyearsep + \number##1 % space intended + }% + {}% + }% + }% + {% time style (use default) + \DTMsettimestyle{default}% + }% + {% zone style + \DTMresetzones + \DTMcatalanzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{catalan}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMcatalantimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMcatalandatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMcatalantimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}[9]{% + \ifDTMshowdate + \DTMDisplaydate{##1}{##2}{##3}{##4}% + \DTMcatalandatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMcatalantimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + }% +\DTMnewstyle + {catalan-numeric}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{catalan}{showdayofmonth}% + {% + \number##3 % space intended + \DTMcatalandatesep + }% + {}% + \number##2 % space intended + \DTMifbool{catalan}{showyear}% + {% + \DTMcatalandatesep + \number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}[4]{\DTMdisplaydate{##1}{##2}{##3}{##4}}% + }% + {% time style + \renewcommand*\DTMdisplaytime[3]{% + \number##1 + \DTMcatalantimesep\DTMtwodigits{##2}% + \ifDTMshowseconds\DTMcatalantimesep\DTMtwodigits{##3}\fi + }% + }% + {% zone style + \DTMresetzones + \DTMcatalanzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{catalan}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMcatalantimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMcatalandatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMcatalantimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + } +\newcommand*{\DTMcatalanzonemaps}{% + \DTMdefzonemap{01}{00}{CET}% + \DTMdefzonemap{02}{00}{CEST}% +} + +\DTMifcaseregional +{}% do nothing +{\DTMsetstyle{catalan}} +{\DTMsetstyle{catalan-numeric}} +\ifcsundef{date\CurrentTrackedDialect} +{% + \ifundef\datecatalan + {% do nothing + }% + {% + \def\datecatalan{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{catalan}}% + {\DTMsetstyle{catalan-numeric}}% + }% + }% +}% +{% + \csdef{date\CurrentTrackedDialect}{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{catalan}}% + {\DTMsetstyle{catalan-numeric}} + }% +}% +\endinput +%% +%% End of file `datetime2-catalan.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-croatian/datetime2-croatian-ascii.ldf b/Master/texmf-dist/tex/latex/datetime2-croatian/datetime2-croatian-ascii.ldf new file mode 100644 index 00000000000..fafa6742b95 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-croatian/datetime2-croatian-ascii.ldf @@ -0,0 +1,175 @@ +%% +%% This is file `datetime2-croatian-ascii.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-croatian.dtx (with options: `datetime2-croatian-ascii.ldf,package') +%% +%% datetime2-croatian.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-croatian.dtx and +%% datetime2-croatian.ins and the derived files +%% datetime2-croatian-utf8.ldf, datetime2-croatian-ascii.ldf and +%% datetime2-croatian.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{croatian-ascii}[2015/03/30 v1.0] +\newcommand*{\DTMcroatianordinal}[1]{% + \number#1.% +} +\newcommand*{\DTMcroatianyear}[1]{% + \number#1.% +} +\newcommand*{\DTMcroatianmonthname}[1]{% + \ifcase#1 + \or + sije\protect\v{c}nja% + \or + velja\protect\v{c}e% + \or + o\protect\v{z}ujka% + \or + travnja% + \or + svibnja% + \or + lipnja% + \or + srpnja% + \or + kolovoza% + \or + rujna% + \or + listopada% + \or + studenoga% + \or + prosinca% + \fi +} +\newcommand*{\DTMcroatianMonthname}[1]{% + \ifcase#1 + \or + Sije\protect\v{c}nja% + \or + Velja\protect\v{c}e% + \or + O\protect\v{z}ujka% + \or + Travnja% + \or + Svibnja% + \or + Lipnja% + \or + Srpnja% + \or + Kolovoza% + \or + Rujna% + \or + Listopada% + \or + Studenoga% + \or + Prosinca% + \fi +} +\newcommand*{\DTMcroatianweekdayname}[1]{% + \ifcase#1 + nedjelja% + \or + ponedjeljak% + \or + utorak% + \or + srijeda% + \or + \protect\v{c}etvrtak% + \or + petak% + \or + subota% + \fi +} +\newcommand*{\DTMcroatianWeekdayname}[1]{% + \ifcase#1 + Nedjelja% + \or + Ponedjeljak% + \or + Utorak% + \or + Srijeda% + \or + \protect\v{C}etvrtak% + \or + Petak% + \or + Subota% + \fi +} +\newcommand*{\DTMcroatianshortweekdayname}[1]{% + \ifcase#1 + ned% + \or + pon% + \or + uto% + \or + sri% + \or + \protect\v{c}et% + \or + pet% + \or + sub% + \fi +} +\newcommand*{\DTMcroatianshortWeekdayname}[1]{% + \ifcase#1 + Ned% + \or + Pon% + \or + Uto% + \or + Sri% + \or + \protect\v{C}et% + \or + Pet% + \or + Sub% + \fi +} +\endinput +%% +%% End of file `datetime2-croatian-ascii.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-croatian/datetime2-croatian-utf8.ldf b/Master/texmf-dist/tex/latex/datetime2-croatian/datetime2-croatian-utf8.ldf new file mode 100644 index 00000000000..b84424eb9d1 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-croatian/datetime2-croatian-utf8.ldf @@ -0,0 +1,175 @@ +%% +%% This is file `datetime2-croatian-utf8.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-croatian.dtx (with options: `datetime2-croatian-utf8.ldf,package') +%% +%% datetime2-croatian.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-croatian.dtx and +%% datetime2-croatian.ins and the derived files +%% datetime2-croatian-utf8.ldf, datetime2-croatian-ascii.ldf and +%% datetime2-croatian.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{croatian-utf8}[2015/03/30 v1.0] +\newcommand*{\DTMcroatianordinal}[1]{% + \number#1.% +} +\newcommand*{\DTMcroatianyear}[1]{% + \number#1.% +} +\newcommand*{\DTMcroatianmonthname}[1]{% + \ifcase#1 + \or + siječnja% + \or + veljače% + \or + ožujka% + \or + travnja% + \or + svibnja% + \or + lipnja% + \or + srpnja% + \or + kolovoza% + \or + rujna% + \or + listopada% + \or + studenoga% + \or + prosinca% + \fi +} +\newcommand*{\DTMcroatianMonthname}[1]{% + \ifcase#1 + \or + Siječnja% + \or + Veljače% + \or + Ožujka% + \or + Travnja% + \or + Svibnja% + \or + Lipnja% + \or + Srpnja% + \or + Kolovoza% + \or + Rujna% + \or + Listopada% + \or + Studenoga% + \or + Prosinca% + \fi +} +\newcommand*{\DTMcroatianweekdayname}[1]{% + \ifcase#1 + nedjelja% + \or + ponedjeljak% + \or + utorak% + \or + srijeda% + \or + četvrtak% + \or + petak% + \or + subota% + \fi +} +\newcommand*{\DTMcroatianWeekdayname}[1]{% + \ifcase#1 + Nedjelja% + \or + Ponedjeljak% + \or + Utorak% + \or + Srijeda% + \or + Četvrtak% + \or + Petak% + \or + Subota% + \fi +} +\newcommand*{\DTMcroatianshortweekdayname}[1]{% + \ifcase#1 + ned% + \or + pon% + \or + uto% + \or + sri% + \or + čet% + \or + pet% + \or + sub% + \fi +} +\newcommand*{\DTMcroatianshortWeekdayname}[1]{% + \ifcase#1 + Ned% + \or + Pon% + \or + Uto% + \or + Sri% + \or + Čet% + \or + Pet% + \or + Sub% + \fi +} +\endinput +%% +%% End of file `datetime2-croatian-utf8.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-croatian/datetime2-croatian.ldf b/Master/texmf-dist/tex/latex/datetime2-croatian/datetime2-croatian.ldf new file mode 100644 index 00000000000..0d6dfcd2038 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-croatian/datetime2-croatian.ldf @@ -0,0 +1,228 @@ +%% +%% This is file `datetime2-croatian.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-croatian.dtx (with options: `datetime2-croatian.ldf,package') +%% +%% datetime2-croatian.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-croatian.dtx and +%% datetime2-croatian.ins and the derived files +%% datetime2-croatian-utf8.ldf, datetime2-croatian-ascii.ldf and +%% datetime2-croatian.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{croatian}[2015/03/30 v1.0] +\RequirePackage{ifxetex,ifluatex} +\ifxetex + \RequireDateTimeModule{croatian-utf8} +\else + \ifluatex + \RequireDateTimeModule{croatian-utf8} + \else + \RequireDateTimeModule{croatian-ascii} + \fi +\fi +\newcommand*{\DTMcroatiandaymonthsep}{\DTMtexorpdfstring{\protect~}{\space}} +\newcommand*{\DTMcroatianmonthyearsep}{\space} +\newcommand*{\DTMcroatiandatetimesep}{\space} +\newcommand*{\DTMcroatiantimezonesep}{\space} +\newcommand*{\DTMcroatiandatesep}{.} +\newcommand*{\DTMcroatiantimesep}{:} +\DTMdefkey{croatian}{daymonthsep}{\renewcommand*{\DTMcroatiandaymonthsep}{#1}} +\DTMdefkey{croatian}{monthyearsep}{\renewcommand*{\DTMcroatianmonthyearsep}{#1}} +\DTMdefkey{croatian}{datetimesep}{\renewcommand*{\DTMcroatiandatetimesep}{#1}} +\DTMdefkey{croatian}{timezonesep}{\renewcommand*{\DTMcroatiantimezonesep}{#1}} +\DTMdefkey{croatian}{datesep}{\renewcommand*{\DTMcroatiandatesep}{#1}} +\DTMdefkey{croatian}{timesep}{\renewcommand*{\DTMcroatiantimesep}{#1}} +\DTMdefboolkey{croatian}{mapzone}[true]{} +\DTMsetbool{croatian}{mapzone}{true} +\DTMdefboolkey{croatian}{showdayofmonth}[true]{} +\DTMsetbool{croatian}{showdayofmonth}{true} +\DTMdefboolkey{croatian}{showyear}[true]{} +\DTMsetbool{croatian}{showyear}{true} +\DTMnewstyle + {croatian}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{croatian}{showdayofmonth} + {\DTMcroatianordinal{##3}\DTMcroatiandaymonthsep}% + {}% + \DTMcroatianmonthname{##2}% + \DTMifbool{croatian}{showyear}% + {% + \DTMcroatianmonthyearsep + \DTMcroatianyear{##1}% + }% + {}% + }% + \renewcommand*\DTMDisplaydate[4]{% + \DTMifbool{croatian}{showdayofmonth} + {% + \DTMcroatianordinal{##3}\DTMcroatiandaymonthsep + \DTMcroatianmonthname{##2}% + }% + {% + \DTMcroatianMonthname{##2}% + }% + \DTMifbool{croatian}{showyear}% + {% + \DTMcroatianmonthyearsep + \DTMcroatianyear{##1}% + }% + {}% + }% + }% + {% time style (use default) + \DTMsettimestyle{default}% + }% + {% zone style + \DTMresetzones + \DTMcroatianzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{croatian}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMcroatiantimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMcroatiandatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMcroatiantimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}[9]{% + \ifDTMshowdate + \DTMDisplaydate{##1}{##2}{##3}{##4}% + \DTMcroatiandatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMcroatiantimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + }% +\DTMnewstyle + {croatian-numeric}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{croatian}{showdayofmonth}% + {% + \number##3 % space intended + \DTMcroatiandatesep + }% + {}% + \number##2 % space intended + \DTMifbool{croatian}{showyear}% + {% + \DTMcroatiandatesep + \number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}[4]{\DTMdisplaydate{##1}{##2}{##3}{##4}}% + }% + {% time style + \renewcommand*\DTMdisplaytime[3]{% + \number##1 + \DTMcroatiantimesep\DTMtwodigits{##2}% + \ifDTMshowseconds\DTMcroatiantimesep\DTMtwodigits{##3}\fi + }% + }% + {% zone style + \DTMresetzones + \DTMcroatianzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{croatian}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMcroatiantimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMcroatiandatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMcroatiantimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + } +\newcommand*{\DTMcroatianzonemaps}{% + \DTMdefzonemap{01}{00}{CET}% + \DTMdefzonemap{02}{00}{CEST}% +} + +\DTMifcaseregional +{}% do nothing +{\DTMsetstyle{croatian}} +{\DTMsetstyle{croatian-numeric}} +\ifcsundef{date\CurrentTrackedDialect} +{% + \ifundef\datecroatian + {% do nothing + }% + {% + \def\datecroatian{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{croatian}}% + {\DTMsetstyle{croatian-numeric}}% + }% + }% +}% +{% + \csdef{date\CurrentTrackedDialect}{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{croatian}}% + {\DTMsetstyle{croatian-numeric}} + }% +}% +\endinput +%% +%% End of file `datetime2-croatian.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-czech/datetime2-czech-ascii.ldf b/Master/texmf-dist/tex/latex/datetime2-czech/datetime2-czech-ascii.ldf new file mode 100644 index 00000000000..2b0b7725e53 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-czech/datetime2-czech-ascii.ldf @@ -0,0 +1,104 @@ +%% +%% This is file `datetime2-czech-ascii.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-czech.dtx (with options: `datetime2-czech-ascii.ldf,package') +%% +%% datetime2-czech.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-czech.dtx and +%% datetime2-czech.ins and the derived files +%% datetime2-czech-utf8.ldf, datetime2-czech-ascii.ldf and +%% datetime2-czech.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{czech-ascii}[2015/03/30 v1.0] +\newcommand*{\DTMczechordinal}[1]{% + \number#1.% +} +\newcommand*{\DTMczechmonthname}[1]{% + \ifcase#1 + \or + ledna% + \or + \protect\'unora% + \or + b\protect\v{r}ezna% + \or + dubna% + \or + kv\protect\v{e}tna% + \or + \protect\v{c}ervna% + \or + \protect\v{c}ervence% + \or + srpna% + \or + z\protect\'a\protect\v{r}\protect\'{\protect\i}% + \or + \protect\v{r}\protect\'{\protect\i}jna% + \or + listopadu% + \or + prosince% + \fi +} +\newcommand*{\DTMczechMonthname}[1]{% + \ifcase#1 + \or + Ledna% + \or + \protect\'Unora% + \or + B\protect\v{r}ezna% + \or + Dubna% + \or + Kv\protect\v{e}tna% + \or + \protect\v{C}ervna% + \or + \protect\v{C}ervence% + \or + Srpna% + \or + Z\protect\'a\protect\v{r}\protect\'{\protect\i}% + \or + \protect\v{R}\protect\'{\protect\i}jna% + \or + Listopadu% + \or + Prosince% + \fi +} +\endinput +%% +%% End of file `datetime2-czech-ascii.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-czech/datetime2-czech-utf8.ldf b/Master/texmf-dist/tex/latex/datetime2-czech/datetime2-czech-utf8.ldf new file mode 100644 index 00000000000..a61ee83c947 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-czech/datetime2-czech-utf8.ldf @@ -0,0 +1,104 @@ +%% +%% This is file `datetime2-czech-utf8.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-czech.dtx (with options: `datetime2-czech-utf8.ldf,package') +%% +%% datetime2-czech.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-czech.dtx and +%% datetime2-czech.ins and the derived files +%% datetime2-czech-utf8.ldf, datetime2-czech-ascii.ldf and +%% datetime2-czech.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{czech-utf8}[2015/03/30 v1.0] +\newcommand*{\DTMczechordinal}[1]{% + \number#1.% +} +\newcommand*{\DTMczechmonthname}[1]{% + \ifcase#1 + \or + ledna% + \or + února% + \or + března% + \or + dubna% + \or + května% + \or + června% + \or + července% + \or + srpna% + \or + září% + \or + října% + \or + listopadu% + \or + prosince% + \fi +} +\newcommand*{\DTMczechMonthname}[1]{% + \ifcase#1 + \or + Ledna% + \or + Února% + \or + Března% + \or + Dubna% + \or + Května% + \or + Června% + \or + Července% + \or + Srpna% + \or + Září% + \or + Října% + \or + Listopadu% + \or + Prosince% + \fi +} +\endinput +%% +%% End of file `datetime2-czech-utf8.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-czech/datetime2-czech.ldf b/Master/texmf-dist/tex/latex/datetime2-czech/datetime2-czech.ldf new file mode 100644 index 00000000000..1de65c2446a --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-czech/datetime2-czech.ldf @@ -0,0 +1,228 @@ +%% +%% This is file `datetime2-czech.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-czech.dtx (with options: `datetime2-czech.ldf,package') +%% +%% datetime2-czech.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-czech.dtx and +%% datetime2-czech.ins and the derived files +%% datetime2-czech-utf8.ldf, datetime2-czech-ascii.ldf and +%% datetime2-czech.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{czech}[2015/03/30 v1.0] +\RequirePackage{ifxetex,ifluatex} +\ifxetex + \RequireDateTimeModule{czech-utf8} +\else + \ifluatex + \RequireDateTimeModule{czech-utf8} + \else + \RequireDateTimeModule{czech-ascii} + \fi +\fi +\newcommand*{\DTMczechdaymonthsep}{\DTMtexorpdfstring{\protect~}{\space}} +\newcommand*{\DTMczechmonthyearsep}{\space} +\newcommand*{\DTMczechdatetimesep}{\space} +\newcommand*{\DTMczechtimezonesep}{\space} +\newcommand*{\DTMczechdatesep}{.} +\newcommand*{\DTMczechtimesep}{:} +\DTMdefkey{czech}{daymonthsep}{\renewcommand*{\DTMczechdaymonthsep}{#1}} +\DTMdefkey{czech}{monthyearsep}{\renewcommand*{\DTMczechmonthyearsep}{#1}} +\DTMdefkey{czech}{datetimesep}{\renewcommand*{\DTMczechdatetimesep}{#1}} +\DTMdefkey{czech}{timezonesep}{\renewcommand*{\DTMczechtimezonesep}{#1}} +\DTMdefkey{czech}{datesep}{\renewcommand*{\DTMczechdatesep}{#1}} +\DTMdefkey{czech}{timesep}{\renewcommand*{\DTMczechtimesep}{#1}} +\DTMdefboolkey{czech}{mapzone}[true]{} +\DTMsetbool{czech}{mapzone}{true} +\DTMdefboolkey{czech}{showdayofmonth}[true]{} +\DTMsetbool{czech}{showdayofmonth}{true} +\DTMdefboolkey{czech}{showyear}[true]{} +\DTMsetbool{czech}{showyear}{true} +\DTMnewstyle + {czech}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{czech}{showdayofmonth} + {\DTMczechordinal{##3}\DTMczechdaymonthsep}% + {}% + \DTMczechmonthname{##2}% + \DTMifbool{czech}{showyear}% + {% + \DTMczechmonthyearsep + \number##1 + }% + {}% + }% + \renewcommand*\DTMDisplaydate[4]{% + \DTMifbool{czech}{showdayofmonth} + {% + \DTMczechordinal{##3}\DTMczechdaymonthsep + \DTMczechmonthname{##2}% + }% + {% + \DTMczechMonthname{##2}% + }% + \DTMifbool{czech}{showyear}% + {% + \DTMczechmonthyearsep + \number##1 + }% + {}% + }% + }% + {% time style (use default) + \DTMsettimestyle{default}% + }% + {% zone style + \DTMresetzones + \DTMczechzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{czech}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMczechtimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMczechdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMczechtimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}[9]{% + \ifDTMshowdate + \DTMDisplaydate{##1}{##2}{##3}{##4}% + \DTMczechdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMczechtimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + }% +\DTMnewstyle + {czech-numeric}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{czech}{showdayofmonth}% + {% + \number##3 % space intended + \DTMczechdatesep + }% + {}% + \number##2 % space intended + \DTMifbool{czech}{showyear}% + {% + \DTMczechdatesep + \number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}[4]{\DTMdisplaydate{##1}{##2}{##3}{##4}}% + }% + {% time style + \renewcommand*\DTMdisplaytime[3]{% + \number##1 + \DTMczechtimesep\DTMtwodigits{##2}% + \ifDTMshowseconds\DTMczechtimesep\DTMtwodigits{##3}\fi + }% + }% + {% zone style + \DTMresetzones + \DTMczechzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{czech}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMczechtimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMczechdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMczechtimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + } +\newcommand*{\DTMczechzonemaps}{% + \DTMdefzonemap{01}{00}{CET}% + \DTMdefzonemap{02}{00}{CEST}% +} + +\DTMifcaseregional +{}% do nothing +{\DTMsetstyle{czech}} +{\DTMsetstyle{czech-numeric}} +\ifcsundef{date\CurrentTrackedDialect} +{% + \ifundef\dateczech + {% do nothing + }% + {% + \def\dateczech{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{czech}}% + {\DTMsetstyle{czech-numeric}}% + }% + }% +}% +{% + \csdef{date\CurrentTrackedDialect}{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{czech}}% + {\DTMsetstyle{czech-numeric}} + }% +}% +\endinput +%% +%% End of file `datetime2-czech.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-danish/datetime2-danish-ascii.ldf b/Master/texmf-dist/tex/latex/datetime2-danish/datetime2-danish-ascii.ldf new file mode 100644 index 00000000000..2eacca9274f --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-danish/datetime2-danish-ascii.ldf @@ -0,0 +1,138 @@ +%% +%% This is file `datetime2-danish-ascii.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-danish.dtx (with options: `datetime2-danish-ascii.ldf,package') +%% +%% datetime2-danish.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-danish.dtx and +%% datetime2-danish.ins and the derived files +%% datetime2-danish-utf8.ldf, datetime2-danish-ascii.ldf and +%% datetime2-danish.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{danish-ascii}[2015/03/30 v1.0] +\newcommand*{\DTMdanishordinal}[1]{% + \number#1.% +} +\newcommand*{\DTMdanishmonthname}[1]{% + \ifcase#1 + \or + januar% + \or + februar% + \or + marts% + \or + april% + \or + maj% + \or + juni% + \or + juli% + \or + august% + \or + september% + \or + oktober% + \or + november% + \or + december% + \fi +} +\newcommand*{\DTMdanishMonthname}[1]{% + \ifcase#1 + \or + Januar% + \or + Februar% + \or + Marts% + \or + April% + \or + Maj% + \or + Juni% + \or + Juli% + \or + August% + \or + September% + \or + Oktober% + \or + November% + \or + December% + \fi +} +\newcommand*{\DTMdanishweekdayname}[1]{% + \ifcase#1 + mandag% + \or + tirsdag% + \or + onsdag% + \or + torsdag% + \or + fredag% + \or + l\protect\o rdag% + \or + s\protect\o ndag% + \fi +} +\newcommand*{\DTMdanishWeekdayname}[1]{% + \ifcase#1 + Mandag% + \or + Tirsdag% + \or + Onsdag% + \or + Torsdag% + \or + Fredag% + \or + L\protect\o rdag% + \or + S\protect\o ndag% + \fi +} +\endinput +%% +%% End of file `datetime2-danish-ascii.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-danish/datetime2-danish-utf8.ldf b/Master/texmf-dist/tex/latex/datetime2-danish/datetime2-danish-utf8.ldf new file mode 100644 index 00000000000..67610dfbc83 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-danish/datetime2-danish-utf8.ldf @@ -0,0 +1,138 @@ +%% +%% This is file `datetime2-danish-utf8.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-danish.dtx (with options: `datetime2-danish-utf8.ldf,package') +%% +%% datetime2-danish.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-danish.dtx and +%% datetime2-danish.ins and the derived files +%% datetime2-danish-utf8.ldf, datetime2-danish-ascii.ldf and +%% datetime2-danish.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{danish-utf8}[2015/03/30 v1.0] +\newcommand*{\DTMdanishordinal}[1]{% + \number#1.% +} +\newcommand*{\DTMdanishmonthname}[1]{% + \ifcase#1 + \or + januar% + \or + februar% + \or + marts% + \or + april% + \or + maj% + \or + juni% + \or + juli% + \or + august% + \or + september% + \or + oktober% + \or + november% + \or + december% + \fi +} +\newcommand*{\DTMdanishMonthname}[1]{% + \ifcase#1 + \or + Januar% + \or + Februar% + \or + Marts% + \or + April% + \or + Maj% + \or + Juni% + \or + Juli% + \or + August% + \or + September% + \or + Oktober% + \or + November% + \or + December% + \fi +} +\newcommand*{\DTMdanishweekdayname}[1]{% + \ifcase#1 + mandag% + \or + tirsdag% + \or + onsdag% + \or + torsdag% + \or + fredag% + \or + lørdag% + \or + søndag% + \fi +} +\newcommand*{\DTMdanishWeekdayname}[1]{% + \ifcase#1 + Mandag% + \or + Tirsdag% + \or + Onsdag% + \or + Torsdag% + \or + Fredag% + \or + Lørdag% + \or + Søndag% + \fi +} +\endinput +%% +%% End of file `datetime2-danish-utf8.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-danish/datetime2-danish.ldf b/Master/texmf-dist/tex/latex/datetime2-danish/datetime2-danish.ldf new file mode 100644 index 00000000000..a715266ab6b --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-danish/datetime2-danish.ldf @@ -0,0 +1,228 @@ +%% +%% This is file `datetime2-danish.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-danish.dtx (with options: `datetime2-danish.ldf,package') +%% +%% datetime2-danish.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-danish.dtx and +%% datetime2-danish.ins and the derived files +%% datetime2-danish-utf8.ldf, datetime2-danish-ascii.ldf and +%% datetime2-danish.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{danish}[2015/03/30 v1.0] +\RequirePackage{ifxetex,ifluatex} +\ifxetex + \RequireDateTimeModule{danish-utf8} +\else + \ifluatex + \RequireDateTimeModule{danish-utf8} + \else + \RequireDateTimeModule{danish-ascii} + \fi +\fi +\newcommand*{\DTMdanishdaymonthsep}{\DTMtexorpdfstring{\protect~}{\space}} +\newcommand*{\DTMdanishmonthyearsep}{\space} +\newcommand*{\DTMdanishdatetimesep}{\space} +\newcommand*{\DTMdanishtimezonesep}{\space} +\newcommand*{\DTMdanishdatesep}{-} +\newcommand*{\DTMdanishtimesep}{:} +\DTMdefkey{danish}{daymonthsep}{\renewcommand*{\DTMdanishdaymonthsep}{#1}} +\DTMdefkey{danish}{monthyearsep}{\renewcommand*{\DTMdanishmonthyearsep}{#1}} +\DTMdefkey{danish}{datetimesep}{\renewcommand*{\DTMdanishdatetimesep}{#1}} +\DTMdefkey{danish}{timezonesep}{\renewcommand*{\DTMdanishtimezonesep}{#1}} +\DTMdefkey{danish}{datesep}{\renewcommand*{\DTMdanishdatesep}{#1}} +\DTMdefkey{danish}{timesep}{\renewcommand*{\DTMdanishtimesep}{#1}} +\DTMdefboolkey{danish}{mapzone}[true]{} +\DTMsetbool{danish}{mapzone}{true} +\DTMdefboolkey{danish}{showdayofmonth}[true]{} +\DTMsetbool{danish}{showdayofmonth}{true} +\DTMdefboolkey{danish}{showyear}[true]{} +\DTMsetbool{danish}{showyear}{true} +\DTMnewstyle + {danish}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{danish}{showdayofmonth} + {\DTMdanishordinal{##3}\DTMdanishdaymonthsep}% + {}% + \DTMdanishmonthname{##2}% + \DTMifbool{danish}{showyear}% + {% + \DTMdanishmonthyearsep + \number##1 + }% + {}% + }% + \renewcommand*\DTMDisplaydate[4]{% + \DTMifbool{danish}{showdayofmonth} + {% + \DTMdanishordinal{##3}\DTMdanishdaymonthsep + \DTMdanishmonthname{##2}% + }% + {% + \DTMdanishMonthname{##2}% + }% + \DTMifbool{danish}{showyear}% + {% + \DTMdanishmonthyearsep + \number##1 + }% + {}% + }% + }% + {% time style (use default) + \DTMsettimestyle{default}% + }% + {% zone style + \DTMresetzones + \DTMdanishzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{danish}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMdanishtimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMdanishdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMdanishtimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}[9]{% + \ifDTMshowdate + \DTMDisplaydate{##1}{##2}{##3}{##4}% + \DTMdanishdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMdanishtimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + }% +\DTMnewstyle + {danish-numeric}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{danish}{showdayofmonth}% + {% + \number##3 % space intended + \DTMdanishdatesep + }% + {}% + \number##2 % space intended + \DTMifbool{danish}{showyear}% + {% + \DTMdanishdatesep + \number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}[4]{\DTMdisplaydate{##1}{##2}{##3}{##4}}% + }% + {% time style + \renewcommand*\DTMdisplaytime[3]{% + \number##1 + \DTMdanishtimesep\DTMtwodigits{##2}% + \ifDTMshowseconds\DTMdanishtimesep\DTMtwodigits{##3}\fi + }% + }% + {% zone style + \DTMresetzones + \DTMdanishzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{danish}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMdanishtimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMdanishdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMdanishtimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + } +\newcommand*{\DTMdanishzonemaps}{% + \DTMdefzonemap{01}{00}{CET}% + \DTMdefzonemap{02}{00}{CEST}% +} + +\DTMifcaseregional +{}% do nothing +{\DTMsetstyle{danish}} +{\DTMsetstyle{danish-numeric}} +\ifcsundef{date\CurrentTrackedDialect} +{% + \ifundef\datedanish + {% do nothing + }% + {% + \def\datedanish{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{danish}}% + {\DTMsetstyle{danish-numeric}}% + }% + }% +}% +{% + \csdef{date\CurrentTrackedDialect}{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{danish}}% + {\DTMsetstyle{danish-numeric}} + }% +}% +\endinput +%% +%% End of file `datetime2-danish.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-dutch/datetime2-dutch.ldf b/Master/texmf-dist/tex/latex/datetime2-dutch/datetime2-dutch.ldf new file mode 100644 index 00000000000..6d42e90c511 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-dutch/datetime2-dutch.ldf @@ -0,0 +1,345 @@ +%% +%% This is file `datetime2-dutch.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-dutch.dtx (with options: `datetime2-dutch.ldf,package') +%% +%% datetime2-dutch.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-dutch.dtx and +%% datetime2-dutch.ins and the derived file +%% datetime2-dutch.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{dutch}[2015/03/29 v1.0] +\newcommand*{\DTMdutchordinal}[1]{% + \number#1 % space intended +} +\newcommand*{\DTMdutchmonthname}[1]{% + \ifcase#1 + \or + januari% + \or + februari% + \or + maart% + \or + april% + \or + mei% + \or + juni% + \or + juli% + \or + augustus% + \or + september% + \or + oktober% + \or + november% + \or + december% + \fi +} +\newcommand*{\DTMdutchMonthname}[1]{% + \ifcase#1 + \or + Januari% + \or + Februari% + \or + Maart% + \or + April% + \or + Mei% + \or + Juni% + \or + Juli% + \or + Augustus% + \or + September% + \or + Oktober% + \or + November% + \or + December% + \fi +} +\newcommand*{\DTMdutchweekdayname}[1]{% + \ifcase#1 + maandag% + \or + dinsdag% + \or + woensdag% + \or + donderdag% + \or + vrijdag% + \or + zaterdag% + \or + zondag% + \fi +} +\newcommand*{\DTMdutchWeekdayname}[1]{% + \ifcase#1 + Maandag% + \or + Dinsdag% + \or + Woensdag% + \or + Donderdag% + \or + Vrijdag% + \or + Zaterdag% + \or + Zondag% + \fi +} +\newcommand*{\DTMdutchshortweekdayname}[1]{% + \ifcase#1 + ma% + \or + di% + \or + wo% + \or + do% + \or + vr% + \or + za% + \or + zo% + \fi +} +\newcommand*{\DTMdutchshortWeekdayname}[1]{% + \ifcase#1 + Ma% + \or + Di% + \or + Wo% + \or + Do% + \or + Vr% + \or + Za% + \or + Zo% + \fi +} +\newcommand*{\DTMdutchdaymonthsep}{% + \DTMtexorpdfstring{\protect~}{\space}} +\newcommand*{\DTMdutchmonthyearsep}{\space} +\newcommand*{\DTMdutchdatetimesep}{\space} +\newcommand*{\DTMdutchtimezonesep}{\space} +\newcommand*{\DTMdutchdatesep}{-} +\newcommand*{\DTMdutchtimesep}{:} +\DTMdefkey{dutch}{daymonthsep}{\renewcommand*{\DTMdutchdaymonthsep}{#1}} +\DTMdefkey{dutch}{monthyearsep}{\renewcommand*{\DTMdutchmonthyearsep}{#1}} +\DTMdefkey{dutch}{datetimesep}{\renewcommand*{\DTMdutchdatetimesep}{#1}} +\DTMdefkey{dutch}{timezonesep}{\renewcommand*{\DTMdutchtimezonesep}{#1}} +\DTMdefkey{dutch}{datesep}{\renewcommand*{\DTMdutchdatesep}{#1}} +\DTMdefkey{dutch}{timesep}{\renewcommand*{\DTMdutchtimesep}{#1}} +\DTMdefboolkey{dutch}{mapzone}[true]{} +\DTMsetbool{dutch}{mapzone}{true} +\DTMdefboolkey{dutch}{showdayofmonth}[true]{} +\DTMsetbool{dutch}{showdayofmonth}{true} +\DTMdefboolkey{dutch}{showyear}[true]{} +\DTMsetbool{dutch}{showyear}{true} +\DTMnewstyle + {dutch}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{dutch}{showdayofmonth} + {\DTMdutchordinal{##3}\DTMdutchdaymonthsep}% + {}% + \DTMdutchmonthname{##2}% + \DTMifbool{dutch}{showyear}% + {% + \DTMdutchmonthyearsep + \number##1 % space intended + }% + {}% + }% + \renewcommand*\DTMDisplaydate[4]{% + \DTMifbool{dutch}{showdayofmonth} + {% + \DTMdutchordinal{##3}\DTMdutchdaymonthsep + \DTMdutchmonthname{##2}% + }% + {% + \DTMdutchMonthname{##2}% + }% + \DTMifbool{dutch}{showyear}% + {% + \DTMdutchmonthyearsep + \number##1 % space intended + }% + {}% + }% + }% + {% time style (use default) + \DTMsettimestyle{default}% + }% + {% zone style + \DTMresetzones + \DTMdutchzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{dutch}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMdutchtimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMdutchdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMdutchtimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}[9]{% + \ifDTMshowdate + \DTMDisplaydate{##1}{##2}{##3}{##4}% + \DTMdutchdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMdutchtimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + }% +\DTMnewstyle + {dutch-numeric}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{dutch}{showdayofmonth}% + {% + \number##3 % space intended + \DTMdutchdatesep + }% + {}% + \number##2 % space intended + \DTMifbool{dutch}{showyear}% + {% + \DTMdutchdatesep + \number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}{\DTMdisplaydate}% + }% + {% time style + \renewcommand*\DTMdisplaytime[3]{% + \number##1 + \DTMdutchtimesep\DTMtwodigits{##2}% + \ifDTMshowseconds\DTMdutchtimesep\DTMtwodigits{##3}\fi + }% + }% + {% zone style + \DTMresetzones + \DTMdutchzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{dutch}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMdutchtimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMdutchdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMdutchtimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + } +\newcommand*{\DTMdutchzonemaps}{% + \DTMdefzonemap{01}{00}{CET}% + \DTMdefzonemap{02}{00}{CEST}% +} + +\DTMifcaseregional +{}% do nothing +{\DTMsetstyle{dutch}} +{\DTMsetstyle{dutch-numeric}} +\ifcsundef{date\CurrentTrackedDialect} +{% + \ifundef\datedutch + {% do nothing + }% + {% + \def\datedutch{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{dutch}}% + {\DTMsetstyle{dutch-numeric}}% + }% + }% +}% +{% + \csdef{date\CurrentTrackedDialect}{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{dutch}}% + {\DTMsetstyle{dutch-numeric}} + }% +}% +\endinput +%% +%% End of file `datetime2-dutch.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-esperanto/datetime2-esperanto-ascii.ldf b/Master/texmf-dist/tex/latex/datetime2-esperanto/datetime2-esperanto-ascii.ldf new file mode 100644 index 00000000000..3601220cc08 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-esperanto/datetime2-esperanto-ascii.ldf @@ -0,0 +1,104 @@ +%% +%% This is file `datetime2-esperanto-ascii.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-esperanto.dtx (with options: `datetime2-esperanto-ascii.ldf,package') +%% +%% datetime2-esperanto.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-esperanto.dtx and +%% datetime2-esperanto.ins and the derived files +%% datetime2-esperanto-utf8.ldf, datetime2-esperanto-ascii.ldf and +%% datetime2-esperanto.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{esperanto-ascii}[2015/03/30 v1.0] +\newcommand*{\DTMesperantoordinal}[1]{% + \number#1--a% +} +\newcommand*{\DTMesperantomonthname}[1]{% + \ifcase#1 + \or + januaro% + \or + februaro% + \or + marto% + \or + aprilo% + \or + majo% + \or + junio% + \or + julio% + \or + a\protect\u{u}gusto% + \or + septembro% + \or + oktobro% + \or + novembro% + \or + decembro% + \fi +} +\newcommand*{\DTMesperantoMonthname}[1]{% + \ifcase#1 + \or + Januaro% + \or + Februaro% + \or + Marto% + \or + Aprilo% + \or + Majo% + \or + Junio% + \or + Julio% + \or + A\protect\u{u}gusto% + \or + Septembro% + \or + Oktobro% + \or + Novembro% + \or + Decembro% + \fi +} +\endinput +%% +%% End of file `datetime2-esperanto-ascii.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-esperanto/datetime2-esperanto-utf8.ldf b/Master/texmf-dist/tex/latex/datetime2-esperanto/datetime2-esperanto-utf8.ldf new file mode 100644 index 00000000000..c2012f4fba3 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-esperanto/datetime2-esperanto-utf8.ldf @@ -0,0 +1,104 @@ +%% +%% This is file `datetime2-esperanto-utf8.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-esperanto.dtx (with options: `datetime2-esperanto-utf8.ldf,package') +%% +%% datetime2-esperanto.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-esperanto.dtx and +%% datetime2-esperanto.ins and the derived files +%% datetime2-esperanto-utf8.ldf, datetime2-esperanto-ascii.ldf and +%% datetime2-esperanto.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{esperanto-utf8}[2015/03/30 v1.0] +\newcommand*{\DTMesperantoordinal}[1]{% + \number#1–a% +} +\newcommand*{\DTMesperantomonthname}[1]{% + \ifcase#1 + \or + januaro% + \or + februaro% + \or + marto% + \or + aprilo% + \or + majo% + \or + junio% + \or + julio% + \or + aŭgusto% + \or + septembro% + \or + oktobro% + \or + novembro% + \or + decembro% + \fi +} +\newcommand*{\DTMesperantoMonthname}[1]{% + \ifcase#1 + \or + Januaro% + \or + Februaro% + \or + Marto% + \or + Aprilo% + \or + Majo% + \or + Junio% + \or + Julio% + \or + Aŭgusto% + \or + Septembro% + \or + Oktobro% + \or + Novembro% + \or + Decembro% + \fi +} +\endinput +%% +%% End of file `datetime2-esperanto-utf8.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-esperanto/datetime2-esperanto.ldf b/Master/texmf-dist/tex/latex/datetime2-esperanto/datetime2-esperanto.ldf new file mode 100644 index 00000000000..17c55ac6a6d --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-esperanto/datetime2-esperanto.ldf @@ -0,0 +1,230 @@ +%% +%% This is file `datetime2-esperanto.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-esperanto.dtx (with options: `datetime2-esperanto.ldf,package') +%% +%% datetime2-esperanto.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-esperanto.dtx and +%% datetime2-esperanto.ins and the derived files +%% datetime2-esperanto-utf8.ldf, datetime2-esperanto-ascii.ldf and +%% datetime2-esperanto.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{esperanto}[2015/03/30 v1.0] +\RequirePackage{ifxetex,ifluatex} +\ifxetex + \RequireDateTimeModule{esperanto-utf8} +\else + \ifluatex + \RequireDateTimeModule{esperanto-utf8} + \else + \RequireDateTimeModule{esperanto-ascii} + \fi +\fi +\newcommand*{\DTMesperantodaymonthsep}{% + \DTMtexorpdfstring{\protect~}{\space}% + de% + \DTMtexorpdfstring{\protect~}{\space}% +} +\newcommand*{\DTMesperantomonthyearsep}{,\space} +\newcommand*{\DTMesperantodatetimesep}{\space} +\newcommand*{\DTMesperantotimezonesep}{\space} +\newcommand*{\DTMesperantodatesep}{-} +\newcommand*{\DTMesperantotimesep}{:} +\DTMdefkey{esperanto}{daymonthsep}{\renewcommand*{\DTMesperantodaymonthsep}{#1}} +\DTMdefkey{esperanto}{monthyearsep}{\renewcommand*{\DTMesperantomonthyearsep}{#1}} +\DTMdefkey{esperanto}{datetimesep}{\renewcommand*{\DTMesperantodatetimesep}{#1}} +\DTMdefkey{esperanto}{timezonesep}{\renewcommand*{\DTMesperantotimezonesep}{#1}} +\DTMdefkey{esperanto}{datesep}{\renewcommand*{\DTMesperantodatesep}{#1}} +\DTMdefkey{esperanto}{timesep}{\renewcommand*{\DTMesperantotimesep}{#1}} +\DTMdefboolkey{esperanto}{mapzone}[true]{} +\DTMsetbool{esperanto}{mapzone}{true} +\DTMdefboolkey{esperanto}{showdayofmonth}[true]{} +\DTMsetbool{esperanto}{showdayofmonth}{true} +\DTMdefboolkey{esperanto}{showyear}[true]{} +\DTMsetbool{esperanto}{showyear}{true} +\DTMnewstyle + {esperanto}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{esperanto}{showdayofmonth} + {\DTMesperantoordinal{##3}\DTMesperantodaymonthsep}% + {}% + \DTMesperantomonthname{##2}% + \DTMifbool{esperanto}{showyear}% + {% + \DTMesperantomonthyearsep + \number##1 + }% + {}% + }% + \renewcommand*\DTMDisplaydate[4]{% + \DTMifbool{esperanto}{showdayofmonth} + {% + \DTMesperantoordinal{##3}\DTMesperantodaymonthsep + \DTMesperantomonthname{##2}% + }% + {% + \DTMesperantoMonthname{##2}% + }% + \DTMifbool{esperanto}{showyear}% + {% + \DTMesperantomonthyearsep + \number##1 + }% + {}% + }% + }% + {% time style (use default) + \DTMsettimestyle{default}% + }% + {% zone style + \DTMresetzones + \DTMesperantozonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{esperanto}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMesperantotimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMesperantodatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMesperantotimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}[9]{% + \ifDTMshowdate + \DTMDisplaydate{##1}{##2}{##3}{##4}% + \DTMesperantodatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMesperantotimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + }% +\DTMnewstyle + {esperanto-numeric}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{esperanto}{showdayofmonth}% + {% + \number##3 % space intended + \DTMesperantodatesep + }% + {}% + \number##2 % space intended + \DTMifbool{esperanto}{showyear}% + {% + \DTMesperantodatesep + \number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}{\DTMdisplaydate}% + }% + {% time style + \renewcommand*\DTMdisplaytime[3]{% + \number##1 + \DTMesperantotimesep\DTMtwodigits{##2}% + \ifDTMshowseconds\DTMesperantotimesep\DTMtwodigits{##3}\fi + }% + }% + {% zone style + \DTMresetzones + \DTMesperantozonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{esperanto}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMesperantotimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMesperantodatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMesperantotimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + } +\newcommand*{\DTMesperantozonemaps}{% +} + +\DTMifcaseregional +{}% do nothing +{\DTMsetstyle{esperanto}} +{\DTMsetstyle{esperanto-numeric}} +\ifcsundef{date\CurrentTrackedDialect} +{% + \ifundef\dateesperanto + {% do nothing + }% + {% + \def\dateesperanto{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{esperanto}}% + {\DTMsetstyle{esperanto-numeric}}% + }% + }% +}% +{% + \csdef{date\CurrentTrackedDialect}{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{esperanto}}% + {\DTMsetstyle{esperanto-numeric}} + }% +}% +\endinput +%% +%% End of file `datetime2-esperanto.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-estonian/datetime2-estonian-ascii.ldf b/Master/texmf-dist/tex/latex/datetime2-estonian/datetime2-estonian-ascii.ldf new file mode 100644 index 00000000000..d8148911a81 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-estonian/datetime2-estonian-ascii.ldf @@ -0,0 +1,107 @@ +%% +%% This is file `datetime2-estonian-ascii.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-estonian.dtx (with options: `datetime2-estonian-ascii.ldf,package') +%% +%% datetime2-estonian.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-estonian.dtx and +%% datetime2-estonian.ins and the derived files +%% datetime2-estonian-utf8.ldf, datetime2-estonian-ascii.ldf and +%% datetime2-estonian.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{estonian-ascii}[2015/03/30 v1.0] +\newcommand*{\DTMestonianordinal}[1]{% + \number#1.% +} +\newcommand*{\DTMestonianyear}[1]{% + \number#1.\space a.% +} +\newcommand*{\DTMestonianmonthname}[1]{% + \ifcase#1 + \or + jaanuar% + \or + veebruar% + \or + m\protect\"arts% + \or + aprill% + \or + mai% + \or + juuni% + \or + juuli% + \or + august% + \or + september% + \or + oktoober% + \or + november% + \or + detsember% + \fi +} +\newcommand*{\DTMestonianMonthname}[1]{% + \ifcase#1 + \or + Jaanuar% + \or + Veebruar% + \or + M\protect\"arts% + \or + Aprill% + \or + Mai% + \or + Juuni% + \or + Juuli% + \or + August% + \or + September% + \or + Oktoober% + \or + November% + \or + Detsember% + \fi +} +\endinput +%% +%% End of file `datetime2-estonian-ascii.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-estonian/datetime2-estonian-utf8.ldf b/Master/texmf-dist/tex/latex/datetime2-estonian/datetime2-estonian-utf8.ldf new file mode 100644 index 00000000000..4842c2934fa --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-estonian/datetime2-estonian-utf8.ldf @@ -0,0 +1,107 @@ +%% +%% This is file `datetime2-estonian-utf8.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-estonian.dtx (with options: `datetime2-estonian-utf8.ldf,package') +%% +%% datetime2-estonian.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-estonian.dtx and +%% datetime2-estonian.ins and the derived files +%% datetime2-estonian-utf8.ldf, datetime2-estonian-ascii.ldf and +%% datetime2-estonian.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{estonian-utf8}[2015/03/30 v1.0] +\newcommand*{\DTMestonianordinal}[1]{% + \number#1.% +} +\newcommand*{\DTMestonianyear}[1]{% + \number#1.\space a.% +} +\newcommand*{\DTMestonianmonthname}[1]{% + \ifcase#1 + \or + jaanuar% + \or + veebruar% + \or + mäarts% + \or + aprill% + \or + mai% + \or + juuni% + \or + juuli% + \or + august% + \or + september% + \or + oktoober% + \or + november% + \or + detsember% + \fi +} +\newcommand*{\DTMestonianMonthname}[1]{% + \ifcase#1 + \or + Jaanuar% + \or + Veebruar% + \or + Mäarts% + \or + Aprill% + \or + Mai% + \or + Juuni% + \or + Juuli% + \or + August% + \or + September% + \or + Oktoober% + \or + November% + \or + Detsember% + \fi +} +\endinput +%% +%% End of file `datetime2-estonian-utf8.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-estonian/datetime2-estonian.ldf b/Master/texmf-dist/tex/latex/datetime2-estonian/datetime2-estonian.ldf new file mode 100644 index 00000000000..3531990b54e --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-estonian/datetime2-estonian.ldf @@ -0,0 +1,228 @@ +%% +%% This is file `datetime2-estonian.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-estonian.dtx (with options: `datetime2-estonian.ldf,package') +%% +%% datetime2-estonian.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-estonian.dtx and +%% datetime2-estonian.ins and the derived files +%% datetime2-estonian-utf8.ldf, datetime2-estonian-ascii.ldf and +%% datetime2-estonian.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{estonian}[2015/03/30 v1.0] +\RequirePackage{ifxetex,ifluatex} +\ifxetex + \RequireDateTimeModule{estonian-utf8} +\else + \ifluatex + \RequireDateTimeModule{estonian-utf8} + \else + \RequireDateTimeModule{estonian-ascii} + \fi +\fi +\newcommand*{\DTMestoniandaymonthsep}{\space} +\newcommand*{\DTMestonianmonthyearsep}{\space} +\newcommand*{\DTMestoniandatetimesep}{\space} +\newcommand*{\DTMestoniantimezonesep}{\space} +\newcommand*{\DTMestoniandatesep}{.} +\newcommand*{\DTMestoniantimesep}{:} +\DTMdefkey{estonian}{daymonthsep}{\renewcommand*{\DTMestoniandaymonthsep}{#1}} +\DTMdefkey{estonian}{monthyearsep}{\renewcommand*{\DTMestonianmonthyearsep}{#1}} +\DTMdefkey{estonian}{datetimesep}{\renewcommand*{\DTMestoniandatetimesep}{#1}} +\DTMdefkey{estonian}{timezonesep}{\renewcommand*{\DTMestoniantimezonesep}{#1}} +\DTMdefkey{estonian}{datesep}{\renewcommand*{\DTMestoniandatesep}{#1}} +\DTMdefkey{estonian}{timesep}{\renewcommand*{\DTMestoniantimesep}{#1}} +\DTMdefboolkey{estonian}{mapzone}[true]{} +\DTMsetbool{estonian}{mapzone}{true} +\DTMdefboolkey{estonian}{showdayofmonth}[true]{} +\DTMsetbool{estonian}{showdayofmonth}{true} +\DTMdefboolkey{estonian}{showyear}[true]{} +\DTMsetbool{estonian}{showyear}{true} +\DTMnewstyle + {estonian}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{estonian}{showdayofmonth} + {\DTMestonianordinal{##3}\DTMestoniandaymonthsep}% + {}% + \DTMestonianmonthname{##2}% + \DTMifbool{estonian}{showyear}% + {% + \DTMestonianmonthyearsep + \DTMestonianyear{\number##1}% + }% + {}% + }% + \renewcommand*\DTMDisplaydate[4]{% + \DTMifbool{estonian}{showdayofmonth} + {% + \DTMestonianordinal{##3}\DTMestoniandaymonthsep + \DTMestonianmonthname{##2}% + }% + {% + \DTMestonianMonthname{##2}% + }% + \DTMifbool{estonian}{showyear}% + {% + \DTMestonianmonthyearsep + \DTMestonianyear{\number##1}% + }% + {}% + }% + }% + {% time style (use default) + \DTMsettimestyle{default}% + }% + {% zone style + \DTMresetzones + \DTMestonianzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{estonian}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMestoniantimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMestoniandatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMestoniantimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}[9]{% + \ifDTMshowdate + \DTMDisplaydate{##1}{##2}{##3}{##4}% + \DTMestoniandatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMestoniantimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + }% +\DTMnewstyle + {estonian-numeric}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{estonian}{showdayofmonth}% + {% + \number##3 % space intended + \DTMestoniandatesep + }% + {}% + \number##2 % space intended + \DTMifbool{estonian}{showyear}% + {% + \DTMestoniandatesep + \number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}{\DTMdisplaydate}% + }% + {% time style + \renewcommand*\DTMdisplaytime[3]{% + \number##1 + \DTMestoniantimesep\DTMtwodigits{##2}% + \ifDTMshowseconds\DTMestoniantimesep\DTMtwodigits{##3}\fi + }% + }% + {% zone style + \DTMresetzones + \DTMestonianzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{estonian}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMestoniantimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMestoniandatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMestoniantimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + } +\newcommand*{\DTMestonianzonemaps}{% + \DTMdefzonemap{02}{00}{EET}% + \DTMdefzonemap{03}{00}{EEST}% +} + +\DTMifcaseregional +{}% do nothing +{\DTMsetstyle{estonian}} +{\DTMsetstyle{estonian-numeric}} +\ifcsundef{date\CurrentTrackedDialect} +{% + \ifundef\dateestonian + {% do nothing + }% + {% + \def\dateestonian{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{estonian}}% + {\DTMsetstyle{estonian-numeric}}% + }% + }% +}% +{% + \csdef{date\CurrentTrackedDialect}{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{estonian}}% + {\DTMsetstyle{estonian-numeric}} + }% +}% +\endinput +%% +%% End of file `datetime2-estonian.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-finnish/datetime2-finnish-ascii.ldf b/Master/texmf-dist/tex/latex/datetime2-finnish/datetime2-finnish-ascii.ldf new file mode 100644 index 00000000000..36fed750147 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-finnish/datetime2-finnish-ascii.ldf @@ -0,0 +1,104 @@ +%% +%% This is file `datetime2-finnish-ascii.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-finnish.dtx (with options: `datetime2-finnish-ascii.ldf,package') +%% +%% datetime2-finnish.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-finnish.dtx and +%% datetime2-finnish.ins and the derived files +%% datetime2-finnish-utf8.ldf, datetime2-finnish-ascii.ldf and +%% datetime2-finnish.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{finnish-ascii}[2015/03/30 v1.0] +\newcommand*{\DTMfinnishordinal}[1]{% + \number#1.% +} +\newcommand*{\DTMfinnishmonthname}[1]{% + \ifcase#1 + \or + tammikuuta% + \or + helmikuuta% + \or + maaliskuuta% + \or + huhtikuuta% + \or + toukokuuta% + \or + kes\protect\"akuuta% + \or + hein\protect\"akuuta% + \or + elokuuta% + \or + syyskuuta% + \or + lokakuuta% + \or + marraskuuta% + \or + joulukuuta% + \fi +} +\newcommand*{\DTMfinnishMonthname}[1]{% + \ifcase#1 + \or + Tammikuuta% + \or + Helmikuuta% + \or + Maaliskuuta% + \or + Huhtikuuta% + \or + Toukokuuta% + \or + Kes\protect\"akuuta% + \or + Hein\protect\"akuuta% + \or + Elokuuta% + \or + Syyskuuta% + \or + Lokakuuta% + \or + Marraskuuta% + \or + Joulukuuta% + \fi +} +\endinput +%% +%% End of file `datetime2-finnish-ascii.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-finnish/datetime2-finnish-utf8.ldf b/Master/texmf-dist/tex/latex/datetime2-finnish/datetime2-finnish-utf8.ldf new file mode 100644 index 00000000000..ea0564d874c --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-finnish/datetime2-finnish-utf8.ldf @@ -0,0 +1,104 @@ +%% +%% This is file `datetime2-finnish-utf8.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-finnish.dtx (with options: `datetime2-finnish-utf8.ldf,package') +%% +%% datetime2-finnish.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-finnish.dtx and +%% datetime2-finnish.ins and the derived files +%% datetime2-finnish-utf8.ldf, datetime2-finnish-ascii.ldf and +%% datetime2-finnish.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{finnish-utf8}[2015/03/30 v1.0] +\newcommand*{\DTMfinnishordinal}[1]{% + \number#1.% +} +\newcommand*{\DTMfinnishmonthname}[1]{% + \ifcase#1 + \or + tammikuuta% + \or + helmikuuta% + \or + maaliskuuta% + \or + huhtikuuta% + \or + toukokuuta% + \or + kesäkuuta% + \or + heinäkuuta% + \or + elokuuta% + \or + syyskuuta% + \or + lokakuuta% + \or + marraskuuta% + \or + joulukuuta% + \fi +} +\newcommand*{\DTMfinnishMonthname}[1]{% + \ifcase#1 + \or + Tammikuuta% + \or + Helmikuuta% + \or + Maaliskuuta% + \or + Huhtikuuta% + \or + Toukokuuta% + \or + Kesäkuuta% + \or + Heinäkuuta% + \or + Elokuuta% + \or + Syyskuuta% + \or + Lokakuuta% + \or + Marraskuuta% + \or + Joulukuuta% + \fi +} +\endinput +%% +%% End of file `datetime2-finnish-utf8.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-finnish/datetime2-finnish.ldf b/Master/texmf-dist/tex/latex/datetime2-finnish/datetime2-finnish.ldf new file mode 100644 index 00000000000..60cddbc5bbc --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-finnish/datetime2-finnish.ldf @@ -0,0 +1,230 @@ +%% +%% This is file `datetime2-finnish.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-finnish.dtx (with options: `datetime2-finnish.ldf,package') +%% +%% datetime2-finnish.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-finnish.dtx and +%% datetime2-finnish.ins and the derived files +%% datetime2-finnish-utf8.ldf, datetime2-finnish-ascii.ldf and +%% datetime2-finnish.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{finnish}[2015/03/30 v1.0] +\RequirePackage{ifxetex,ifluatex} +\ifxetex + \RequireDateTimeModule{finnish-utf8} +\else + \ifluatex + \RequireDateTimeModule{finnish-utf8} + \else + \RequireDateTimeModule{finnish-ascii} + \fi +\fi +\newcommand*{\DTMfinnishdaymonthsep}{% + \DTMtexorpdfstring{\protect~}{\space}% +} +\newcommand*{\DTMfinnishmonthyearsep}{\space} +\newcommand*{\DTMfinnishdatetimesep}{\space} +\newcommand*{\DTMfinnishtimezonesep}{\space} +\newcommand*{\DTMfinnishdatesep}{.} +\newcommand*{\DTMfinnishtimesep}{.} +\DTMdefkey{finnish}{daymonthsep}{\renewcommand*{\DTMfinnishdaymonthsep}{#1}} +\DTMdefkey{finnish}{monthyearsep}{\renewcommand*{\DTMfinnishmonthyearsep}{#1}} +\DTMdefkey{finnish}{datetimesep}{\renewcommand*{\DTMfinnishdatetimesep}{#1}} +\DTMdefkey{finnish}{timezonesep}{\renewcommand*{\DTMfinnishtimezonesep}{#1}} +\DTMdefkey{finnish}{datesep}{\renewcommand*{\DTMfinnishdatesep}{#1}} +\DTMdefkey{finnish}{timesep}{\renewcommand*{\DTMfinnishtimesep}{#1}} +\DTMdefboolkey{finnish}{mapzone}[true]{} +\DTMsetbool{finnish}{mapzone}{true} +\DTMdefboolkey{finnish}{showdayofmonth}[true]{} +\DTMsetbool{finnish}{showdayofmonth}{true} +\DTMdefboolkey{finnish}{showyear}[true]{} +\DTMsetbool{finnish}{showyear}{true} +\DTMnewstyle + {finnish}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{finnish}{showdayofmonth} + {\DTMfinnishordinal{##3}\DTMfinnishdaymonthsep}% + {}% + \DTMfinnishmonthname{##2}% + \DTMifbool{finnish}{showyear}% + {% + \DTMfinnishmonthyearsep + \number##1 + }% + {}% + }% + \renewcommand*\DTMDisplaydate[4]{% + \DTMifbool{finnish}{showdayofmonth} + {% + \DTMfinnishordinal{##3}\DTMfinnishdaymonthsep + \DTMfinnishmonthname{##2}% + }% + {% + \DTMfinnishMonthname{##2}% + }% + \DTMifbool{finnish}{showyear}% + {% + \DTMfinnishmonthyearsep + \number##1 + }% + {}% + }% + }% + {% time style (use default) + \DTMsettimestyle{default}% + }% + {% zone style + \DTMresetzones + \DTMfinnishzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{finnish}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMfinnishtimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMfinnishdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMfinnishtimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}[9]{% + \ifDTMshowdate + \DTMDisplaydate{##1}{##2}{##3}{##4}% + \DTMfinnishdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMfinnishtimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + }% +\DTMnewstyle + {finnish-numeric}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{finnish}{showdayofmonth}% + {% + \number##3 % space intended + \DTMfinnishdatesep + }% + {}% + \number##2 % space intended + \DTMifbool{finnish}{showyear}% + {% + \DTMfinnishdatesep + \number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}{\DTMdisplaydate}% + }% + {% time style + \renewcommand*\DTMdisplaytime[3]{% + \number##1 + \DTMfinnishtimesep\DTMtwodigits{##2}% + \ifDTMshowseconds\DTMfinnishtimesep\DTMtwodigits{##3}\fi + }% + }% + {% zone style + \DTMresetzones + \DTMfinnishzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{finnish}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMfinnishtimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMfinnishdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMfinnishtimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + } +\newcommand*{\DTMfinnishzonemaps}{% + \DTMdefzonemap{02}{00}{EET}% + \DTMdefzonemap{03}{00}{EEST}% +} + +\DTMifcaseregional +{}% do nothing +{\DTMsetstyle{finnish}} +{\DTMsetstyle{finnish-numeric}} +\ifcsundef{date\CurrentTrackedDialect} +{% + \ifundef\datefinnish + {% do nothing + }% + {% + \def\datefinnish{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{finnish}}% + {\DTMsetstyle{finnish-numeric}}% + }% + }% +}% +{% + \csdef{date\CurrentTrackedDialect}{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{finnish}}% + {\DTMsetstyle{finnish-numeric}} + }% +}% +\endinput +%% +%% End of file `datetime2-finnish.ldf'. -- cgit v1.2.3