From 749b1753b7fbb6c47b4ef6dd1efae04a8055f76c Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 24 Mar 2015 21:20:35 +0000 Subject: datetime2-english (24mar15) git-svn-id: svn://tug.org/texlive/trunk@36616 c570f23f-e606-0410-a88d-b1316a301751 --- .../latex/datetime2-english/datetime2-en-AU.ldf | 235 +++++++++++++++++++ .../latex/datetime2-english/datetime2-en-CA.ldf | 233 +++++++++++++++++++ .../latex/datetime2-english/datetime2-en-GB.ldf | 228 ++++++++++++++++++ .../latex/datetime2-english/datetime2-en-GG.ldf | 228 ++++++++++++++++++ .../latex/datetime2-english/datetime2-en-IE.ldf | 228 ++++++++++++++++++ .../latex/datetime2-english/datetime2-en-IM.ldf | 228 ++++++++++++++++++ .../latex/datetime2-english/datetime2-en-JE.ldf | 228 ++++++++++++++++++ .../latex/datetime2-english/datetime2-en-MT.ldf | 228 ++++++++++++++++++ .../latex/datetime2-english/datetime2-en-NZ.ldf | 230 ++++++++++++++++++ .../latex/datetime2-english/datetime2-en-US.ldf | 232 +++++++++++++++++++ .../datetime2-english/datetime2-english-base.ldf | 256 +++++++++++++++++++++ .../latex/datetime2-english/datetime2-english.ldf | 107 +++++++++ 12 files changed, 2661 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-AU.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-CA.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-GB.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-GG.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-IE.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-IM.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-JE.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-MT.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-NZ.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-US.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-english/datetime2-english-base.ldf create mode 100644 Master/texmf-dist/tex/latex/datetime2-english/datetime2-english.ldf (limited to 'Master/texmf-dist/tex/latex/datetime2-english') diff --git a/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-AU.ldf b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-AU.ldf new file mode 100644 index 00000000000..bb43897e04d --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-AU.ldf @@ -0,0 +1,235 @@ +%% +%% This is file `datetime2-en-AU.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-english.dtx (with options: `datetime2-en-AU.ldf,package') +%% +%% datetime2-english.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 `maintained'. +%% +%% The Current Maintainer of this work is Nicola Talbot. +%% +%% This work consists of the files datetime2-english.dtx and +%% datetime2-english.ins and the derived files +%% datetime2-english-base.ldf, datetime2-english.ldf, +%% datetime2-en-GB.ldf, datetime2-en-US.ldf, datetime2-en-CA.ldf, +%% datetime2-en-AU.ldf, datetime2-en-NZ.ldf, datetime2-en-GG.ldf, +%% datetime2-en-JE.ldf, datetime2-en-IM.ldf, datetime2-en-MT.ldf, +%% datetime2-en-IE.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{en-AU}[2015/03/24 v1.0 (NLCT)] +\RequireDateTimeModule{english-base} +\newcommand*{\DTMenAUdaymonthsep}{\space} +\newcommand*{\DTMenAUmonthyearsep}{\space} +\newcommand*{\DTMenAUdatetimesep}{\space} +\newcommand*{\DTMenAUtimezonesep}{\space} +\newcommand*{\DTMenAUdatesep}{/} +\newcommand*{\DTMenAUtimesep}{:} +\DTMdefkey{en-AU}{daymonthsep}{\renewcommand*{\DTMenAUdaymonthsep}{#1}} +\DTMdefkey{en-AU}{monthyearsep}{\renewcommand*{\DTMenAUmonthyearsep}{#1}} +\DTMdefkey{en-AU}{datetimesep}{\renewcommand*{\DTMenAUdatetimesep}{#1}} +\DTMdefkey{en-AU}{timezonesep}{\renewcommand*{\DTMenAUtimezonesep}{#1}} +\DTMdefkey{en-AU}{datesep}{\renewcommand*{\DTMenAUdatesep}{#1}} +\DTMdefkey{en-AU}{timesep}{\renewcommand*{\DTMenAUtimesep}{#1}} +\DTMdefboolkey{en-AU}{abbr}[true]{} +\DTMsetbool{en-AU}{abbr}{false} +\DTMdefboolkey{en-AU}{mapzone}[true]{} +\DTMsetbool{en-AU}{mapzone}{false} +\DTMdefboolkey{en-AU}{showdayofmonth}[true]{} +\DTMsetbool{en-AU}{showdayofmonth}{true} +\DTMdefboolkey{en-AU}{showyear}[true]{} +\DTMsetbool{en-AU}{showyear}{true} +\newcommand*{\DTMenAUfmtordsuffix}[1]{} +\DTMdefchoicekey{en-AU}{ord}[\val\nr]{level,raise,omit,sc}{% + \ifcase\nr\relax + \renewcommand*{\DTMenAUfmtordsuffix}[1]{##1}% + \or + \renewcommand*{\DTMenAUfmtordsuffix}[1]{% + \DTMtexorpdfstring{\protect\textsuperscript{##1}}{##1}}% + \or + \renewcommand*{\DTMenAUfmtordsuffix}[1]{}% + \or + \renewcommand*{\DTMenAUfmtordsuffix}[1]{% + \DTMtexorpdfstring{\protect\textsc{##1}}{##1}}% + \fi +} +\DTMnewstyle + {en-AU}% label + {% date style + \renewcommand*{\DTMenglishfmtordsuffix}{\DTMenAUfmtordsuffix}% + \renewcommand*\DTMdisplaydate[4]{% + \ifDTMshowdow + \ifnum##4>-1% + \DTMifbool{en-AU}{abbr}% + {\DTMenglishshortweekdayname{##4}}% + {\DTMenglishweekdayname{##4}}% + \space + \fi + \fi + \DTMifbool{en-AU}{showdayofmonth}% + {% + \DTMenglishordinal{##3}% + \DTMenAUdaymonthsep + }% + {}% + \DTMifbool{en-AU}{abbr}% + {\DTMenglishshortmonthname{##2}}% + {\DTMenglishmonthname{##2}}% + \DTMifbool{en-AU}{showyear}% + {% + \DTMenAUmonthyearsep\number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}[4]{\DTMdisplaydate{##1}{##2}{##3}{##4}}% + }% + {% time style + \renewcommand*\DTMenglishtimesep{\DTMenAUtimesep}% + \DTMsettimestyle{englishampm}% + }% + {% zone style + \DTMresetzones + \DTMenAUzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{en-AU}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMenAUtimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMenAUdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMenAUtimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + }% +\DTMnewstyle + {en-AU-numeric}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{en-AU}{showdayofmonth}% + {% + \number##3 % space intended + \DTMenAUdatesep + }% + {}% + \number##2 % space intended + \DTMifbool{en-AU}{showyear}% + {% + \DTMenAUdatesep + \number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}[4]{\DTMdisplaydate{##1}{##2}{##3}{##4}}% + }% + {% time style + \renewcommand*\DTMdisplaytime[3]{% + \number##1 + \DTMenAUtimesep\DTMtwodigits{##2}% + \ifDTMshowseconds\DTMenAUtimesep\DTMtwodigits{##3}\fi + }% + }% + {% zone style + \DTMresetzones + \DTMenAUzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{en-AU}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMenAUtimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMenAUdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMenAUtimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + } +\newcommand*{\DTMenAUzonemaps}{% + \DTMdefzonemap{10}{30}{ACDT}% Australian Central Daylight Time + \DTMdefzonemap{11}{00}{AEDT}% Australian Eastern Daylight Time + \DTMdefzonemap{9}{00}{AWDT}% Australian Western Daylight Time + \DTMdefzonemap{9}{30}{ACST}% Australian Central Standard Time + \DTMdefzonemap{8}{45}{ACWST}% Australian Central Western Standard Time + \DTMdefzonemap{10}{00}{AEDT}% Australian Eastern Standard Time + \DTMdefzonemap{8}{00}{AWDT}% Australian Western Standard Time + \DTMdefzonemap{7}{00}{CXT}% Christmas Island Time + \DTMdefzonemap{11}{30}{NFT}% Norfolk Island Time +} +\DTMifcaseregional +{}% do nothing +{\DTMsetstyle{en-AU}}% +{\DTMsetstyle{en-AU-numeric}}% +\ifcsundef{date\CurrentTrackedDialect} +{% do nothing + \ifundef\dateenglish + {% + }% + {% + \def\dateenglish{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{en-AU}}% + {\DTMsetstyle{en-AU-numeric}}% + }% + }% +}% +{% + \csdef{date\CurrentTrackedDialect}{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{en-AU}}% + {\DTMsetstyle{en-AU-regional}}% + }% +}% +\endinput +%% +%% End of file `datetime2-en-AU.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-CA.ldf b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-CA.ldf new file mode 100644 index 00000000000..34804178e50 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-CA.ldf @@ -0,0 +1,233 @@ +%% +%% This is file `datetime2-en-CA.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-english.dtx (with options: `datetime2-en-CA.ldf,package') +%% +%% datetime2-english.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 `maintained'. +%% +%% The Current Maintainer of this work is Nicola Talbot. +%% +%% This work consists of the files datetime2-english.dtx and +%% datetime2-english.ins and the derived files +%% datetime2-english-base.ldf, datetime2-english.ldf, +%% datetime2-en-GB.ldf, datetime2-en-US.ldf, datetime2-en-CA.ldf, +%% datetime2-en-AU.ldf, datetime2-en-NZ.ldf, datetime2-en-GG.ldf, +%% datetime2-en-JE.ldf, datetime2-en-IM.ldf, datetime2-en-MT.ldf, +%% datetime2-en-IE.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{en-CA}[2015/03/24 v1.0 (NLCT)] +\RequireDateTimeModule{english-base} +\newcommand*{\DTMenCAmonthdaysep}{\space} +\newcommand*{\DTMenCAdayyearsep}{,\space} +\newcommand*{\DTMenCAdatetimesep}{\space} +\newcommand*{\DTMenCAtimezonesep}{\space} +\newcommand*{\DTMenCAdatesep}{/} +\newcommand*{\DTMenCAtimesep}{:} +\DTMdefkey{en-CA}{monthdaysep}{\renewcommand*{\DTMenCAmonthdaysep}{#1}} +\DTMdefkey{en-CA}{dayyearsep}{\renewcommand*{\DTMenCAdayyearsep}{#1}} +\DTMdefkey{en-CA}{datetimesep}{\renewcommand*{\DTMenCAdatetimesep}{#1}} +\DTMdefkey{en-CA}{timezonesep}{\renewcommand*{\DTMenCAtimezonesep}{#1}} +\DTMdefkey{en-CA}{datesep}{\renewcommand*{\DTMenCAdatesep}{#1}} +\DTMdefkey{en-CA}{timesep}{\renewcommand*{\DTMenCAtimesep}{#1}} +\DTMdefboolkey{en-CA}{abbr}[true]{} +\DTMsetbool{en-CA}{abbr}{false} +\DTMdefboolkey{en-CA}{mapzone}[true]{} +\DTMsetbool{en-CA}{mapzone}{false} +\DTMdefboolkey{en-CA}{showdayofmonth}[true]{} +\DTMsetbool{en-CA}{showdayofmonth}{true} +\DTMdefboolkey{en-CA}{showyear}[true]{} +\DTMsetbool{en-CA}{showyear}{true} +\newcommand*{\DTMenCAfmtordsuffix}[1]{} +\DTMdefchoicekey{en-CA}{ord}[\val\nr]{level,raise,omit,sc}{% + \ifcase\nr\relax + \renewcommand*{\DTMenCAfmtordsuffix}[1]{##1}% + \or + \renewcommand*{\DTMenCAfmtordsuffix}[1]{% + \DTMtexorpdfstring{\protect\textsuperscript{##1}}{##1}}% + \or + \renewcommand*{\DTMenCAfmtordsuffix}[1]{}% + \or + \renewcommand*{\DTMenCAfmtordsuffix}[1]{% + \DTMtexorpdfstring{\protect\textsc{##1}}{##1}}% + \fi +} +\DTMnewstyle + {en-CA}% label + {% date style + \renewcommand*{\DTMenglishfmtordsuffix}{\DTMenCAfmtordsuffix}% + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{en-CA}{abbr}% + {\DTMenglishshortmonthname{##2}}% + {\DTMenglishmonthname{##2}}% + \DTMifbool{en-CA}{showdayofmonth}% + {% + \DTMenCAmonthdaysep + \DTMenglishordinal{##3}% + \DTMifbool{en-CA}{showyear}% + {% + \DTMenCAdayyearsep + \number##1 % intended + }% + {}% + }% + {% + \DTMifbool{en-CA}{showyear}% + {% + \DTMenCAmonthdaysep + \number##1 % intended + }% + {}% + }% + }% + \renewcommand*{\DTMDisplaydate}[4]{\DTMdisplaydate{##1}{##2}{##3}{##4}}% + }% + {% time style + \renewcommand*\DTMenglishtimesep{\DTMenCAtimesep}% + \DTMsettimestyle{englishampm}% + }% + {% zone style + \DTMresetzones + \DTMenCAzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{en-CA}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMenCAtimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMenCAdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMenCAtimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + }% +\DTMnewstyle + {en-CA-numeric}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \number##2 % space intended + \DTMifbool{en-CA}{showdayofmonth}% + {% + \DTMenCAdatesep + \number##3 % space intended + }% + {}% + \DTMifbool{en-CA}{showyear}% + {% + \DTMenCAdatesep + \number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}[4]{\DTMdisplaydate{##1}{##2}{##3}{##4}}% + }% + {% time style + \renewcommand*\DTMdisplaytime[3]{% + \number##1 + \DTMenCAtimesep\DTMtwodigits{##2}% + \ifDTMshowseconds\DTMenCAtimesep\DTMtwodigits{##3}\fi + }% + }% + {% zone style + \DTMresetzones + \DTMenCAzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{en-CA}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMenCAtimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMenCAdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMenCAtimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + } +\newcommand*{\DTMenCAzonemaps}{% + \DTMdefzonemap{-2}{30}{NDT}% + \DTMdefzonemap{-3}{30}{NST}% + \DTMdefzonemap{-4}{00}{AST}% + \DTMdefzonemap{-5}{00}{EST}% + \DTMdefzonemap{-6}{00}{CST}% + \DTMdefzonemap{-7}{00}{MST}% + \DTMdefzonemap{-8}{00}{PST}% +} +\DTMifcaseregional +{}% do nothing +{\DTMsetstyle{en-CA}}% +{\DTMsetstyle{en-CA-numeric}}% +\ifcsundef{date\CurrentTrackedDialect} +{% do nothing + \ifundef\dateenglish + {% + }% + {% + \def\dateenglish{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{en-CA}}% + {\DTMsetstyle{en-CA-numeric}}% + }% + }% +}% +{% + \csdef{date\CurrentTrackedDialect}{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{en-CA}}% + {\DTMsetstyle{en-CA-regional}}% + }% +}% +\endinput +%% +%% End of file `datetime2-en-CA.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-GB.ldf b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-GB.ldf new file mode 100644 index 00000000000..76923ba4d45 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-GB.ldf @@ -0,0 +1,228 @@ +%% +%% This is file `datetime2-en-GB.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-english.dtx (with options: `datetime2-en-GB.ldf,package') +%% +%% datetime2-english.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 `maintained'. +%% +%% The Current Maintainer of this work is Nicola Talbot. +%% +%% This work consists of the files datetime2-english.dtx and +%% datetime2-english.ins and the derived files +%% datetime2-english-base.ldf, datetime2-english.ldf, +%% datetime2-en-GB.ldf, datetime2-en-US.ldf, datetime2-en-CA.ldf, +%% datetime2-en-AU.ldf, datetime2-en-NZ.ldf, datetime2-en-GG.ldf, +%% datetime2-en-JE.ldf, datetime2-en-IM.ldf, datetime2-en-MT.ldf, +%% datetime2-en-IE.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{en-GB}[2015/03/24 v1.0 (NLCT)] +\RequireDateTimeModule{english-base} +\newcommand*{\DTMenGBdaymonthsep}{\space} +\newcommand*{\DTMenGBmonthyearsep}{\space} +\newcommand*{\DTMenGBdatetimesep}{\space} +\newcommand*{\DTMenGBtimezonesep}{\space} +\newcommand*{\DTMenGBdatesep}{/} +\newcommand*{\DTMenGBtimesep}{:} +\DTMdefkey{en-GB}{daymonthsep}{\renewcommand*{\DTMenGBdaymonthsep}{#1}} +\DTMdefkey{en-GB}{monthyearsep}{\renewcommand*{\DTMenGBmonthyearsep}{#1}} +\DTMdefkey{en-GB}{datetimesep}{\renewcommand*{\DTMenGBdatetimesep}{#1}} +\DTMdefkey{en-GB}{timezonesep}{\renewcommand*{\DTMenGBtimezonesep}{#1}} +\DTMdefkey{en-GB}{datesep}{\renewcommand*{\DTMenGBdatesep}{#1}} +\DTMdefkey{en-GB}{timesep}{\renewcommand*{\DTMenGBtimesep}{#1}} +\DTMdefboolkey{en-GB}{abbr}[true]{} +\DTMsetbool{en-GB}{abbr}{false} +\DTMdefboolkey{en-GB}{mapzone}[true]{} +\DTMsetbool{en-GB}{mapzone}{true} +\DTMdefboolkey{en-GB}{showdayofmonth}[true]{} +\DTMsetbool{en-GB}{showdayofmonth}{true} +\DTMdefboolkey{en-GB}{showyear}[true]{} +\DTMsetbool{en-GB}{showyear}{true} +\newcommand*{\DTMenGBfmtordsuffix}[1]{#1} +\DTMdefchoicekey{en-GB}{ord}[\val\nr]{level,raise,omit,sc}{% + \ifcase\nr\relax + \renewcommand*{\DTMenGBfmtordsuffix}[1]{##1}% + \or + \renewcommand*{\DTMenGBfmtordsuffix}[1]{% + \DTMtexorpdfstring{\protect\textsuperscript{##1}}{##1}}% + \or + \renewcommand*{\DTMenGBfmtordsuffix}[1]{}% + \or + \renewcommand*{\DTMenGBfmtordsuffix}[1]{% + \DTMtexorpdfstring{\protect\textsc{##1}}{##1}}% + \fi +} +\DTMnewstyle + {en-GB}% label + {% date style + \renewcommand*{\DTMenglishfmtordsuffix}{\DTMenGBfmtordsuffix}% + \renewcommand*\DTMdisplaydate[4]{% + \ifDTMshowdow + \ifnum##4>-1 + \DTMifbool{en-GB}{abbr}% + {\DTMenglishshortweekdayname{##4}}% + {\DTMenglishweekdayname{##4}}% + \space + \fi + \fi + \DTMifbool{en-GB}{showdayofmonth}% + {% + \DTMenglishordinal{##3}% + \DTMenGBdaymonthsep + }% + {}% + \DTMifbool{en-GB}{abbr}% + {\DTMenglishshortmonthname{##2}}% + {\DTMenglishmonthname{##2}}% + \DTMifbool{en-GB}{showyear}% + {% + \DTMenGBmonthyearsep\number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}[4]{\DTMdisplaydate{##1}{##2}{##3}{##4}}% + }% + {% time style + \renewcommand*\DTMenglishtimesep{\DTMenGBtimesep}% + \DTMsettimestyle{englishampm}% + }% + {% zone style + \DTMresetzones + \DTMenGBzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{en-GB}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMenGBtimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMenGBdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMenGBtimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + }% +\DTMnewstyle + {en-GB-numeric}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{en-GB}{showdayofmonth}% + {% + \number##3 % space intended + \DTMenGBdatesep + }% + {}% + \number##2 % space intended + \DTMifbool{en-GB}{showyear}% + {% + \DTMenGBdatesep + \number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}[4]{\DTMdisplaydate{##1}{##2}{##3}{##4}}% + }% + {% time style + \renewcommand*\DTMdisplaytime[3]{% + \number##1 + \DTMenGBtimesep\DTMtwodigits{##2}% + \ifDTMshowseconds\DTMenGBtimesep\DTMtwodigits{##3}\fi + }% + }% + {% zone style + \DTMresetzones + \DTMenGBzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{en-GB}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMenGBtimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMenGBdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMenGBtimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + } +\newcommand*{\DTMenGBzonemaps}{% + \DTMdefzonemap{00}{00}{GMT}% + \DTMdefzonemap{01}{00}{BST}% +} +\DTMifcaseregional +{}% do nothing +{\DTMsetstyle{en-GB}}% +{\DTMsetstyle{en-GB-numeric}}% +\ifcsundef{date\CurrentTrackedDialect} +{% do nothing + \ifundef\dateenglish + {% + }% + {% + \def\dateenglish{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{en-GB}}% + {\DTMsetstyle{en-GB-numeric}}% + }% + }% +}% +{% + \csdef{date\CurrentTrackedDialect}{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{en-GB}}% + {\DTMsetstyle{en-GB-regional}}% + }% +}% +\endinput +%% +%% End of file `datetime2-en-GB.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-GG.ldf b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-GG.ldf new file mode 100644 index 00000000000..5802469eaad --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-GG.ldf @@ -0,0 +1,228 @@ +%% +%% This is file `datetime2-en-GG.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-english.dtx (with options: `datetime2-en-GG.ldf,package') +%% +%% datetime2-english.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 `maintained'. +%% +%% The Current Maintainer of this work is Nicola Talbot. +%% +%% This work consists of the files datetime2-english.dtx and +%% datetime2-english.ins and the derived files +%% datetime2-english-base.ldf, datetime2-english.ldf, +%% datetime2-en-GB.ldf, datetime2-en-US.ldf, datetime2-en-CA.ldf, +%% datetime2-en-AU.ldf, datetime2-en-NZ.ldf, datetime2-en-GG.ldf, +%% datetime2-en-JE.ldf, datetime2-en-IM.ldf, datetime2-en-MT.ldf, +%% datetime2-en-IE.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{en-GG}[2015/03/24 v1.0 (NLCT)] +\RequireDateTimeModule{english-base} +\newcommand*{\DTMenGGdaymonthsep}{\space} +\newcommand*{\DTMenGGmonthyearsep}{\space} +\newcommand*{\DTMenGGdatetimesep}{\space} +\newcommand*{\DTMenGGtimezonesep}{\space} +\newcommand*{\DTMenGGdatesep}{/} +\newcommand*{\DTMenGGtimesep}{:} +\DTMdefkey{en-GG}{daymonthsep}{\renewcommand*{\DTMenGGdaymonthsep}{#1}} +\DTMdefkey{en-GG}{monthyearsep}{\renewcommand*{\DTMenGGmonthyearsep}{#1}} +\DTMdefkey{en-GG}{datetimesep}{\renewcommand*{\DTMenGGdatetimesep}{#1}} +\DTMdefkey{en-GG}{timezonesep}{\renewcommand*{\DTMenGGtimezonesep}{#1}} +\DTMdefkey{en-GG}{datesep}{\renewcommand*{\DTMenGGdatesep}{#1}} +\DTMdefkey{en-GG}{timesep}{\renewcommand*{\DTMenGGtimesep}{#1}} +\DTMdefboolkey{en-GG}{abbr}[true]{} +\DTMsetbool{en-GG}{abbr}{false} +\DTMdefboolkey{en-GG}{mapzone}[true]{} +\DTMsetbool{en-GG}{mapzone}{true} +\DTMdefboolkey{en-GG}{showdayofmonth}[true]{} +\DTMsetbool{en-GG}{showdayofmonth}{true} +\DTMdefboolkey{en-GG}{showyear}[true]{} +\DTMsetbool{en-GG}{showyear}{true} +\newcommand*{\DTMenGGfmtordsuffix}[1]{#1} +\DTMdefchoicekey{en-GG}{ord}[\val\nr]{level,raise,omit,sc}{% + \ifcase\nr\relax + \renewcommand*{\DTMenGGfmtordsuffix}[1]{##1}% + \or + \renewcommand*{\DTMenGGfmtordsuffix}[1]{% + \DTMtexorpdfstring{\protect\textsuperscript{##1}}{##1}}% + \or + \renewcommand*{\DTMenGGfmtordsuffix}[1]{}% + \or + \renewcommand*{\DTMenGGfmtordsuffix}[1]{% + \DTMtexorpdfstring{\protect\textsc{##1}}{##1}}% + \fi +} +\DTMnewstyle + {en-GG}% label + {% date style + \renewcommand*{\DTMenglishfmtordsuffix}{\DTMenGGfmtordsuffix}% + \renewcommand*\DTMdisplaydate[4]{% + \ifDTMshowdow + \ifnum##4>-1% + \DTMifbool{en-GG}{abbr}% + {\DTMenglishshortweekdayname{##4}}% + {\DTMenglishweekdayname{##4}}% + \space + \fi + \fi + \DTMifbool{en-GG}{showdayofmonth}% + {% + \DTMenglishordinal{##3}% + \DTMenGGdaymonthsep + }% + {}% + \DTMifbool{en-GG}{abbr}% + {\DTMenglishshortmonthname{##2}}% + {\DTMenglishmonthname{##2}}% + \DTMifbool{en-GG}{showyear}% + {% + \DTMenGGmonthyearsep\number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}[4]{\DTMdisplaydate{##1}{##2}{##3}{##4}}% + }% + {% time style + \renewcommand*\DTMenglishtimesep{\DTMenGGtimesep}% + \DTMsettimestyle{englishampm}% + }% + {% zone style + \DTMresetzones + \DTMenGGzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{en-GG}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMenGGtimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMenGGdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMenGGtimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + }% +\DTMnewstyle + {en-GG-numeric}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{en-GG}{showdayofmonth}% + {% + \number##3 % space intended + \DTMenGGdatesep + }% + {}% + \number##2 % space intended + \DTMifbool{en-GG}{showyear}% + {% + \DTMenGGdatesep + \number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}[4]{\DTMdisplaydate{##1}{##2}{##3}{##4}}% + }% + {% time style + \renewcommand*\DTMdisplaytime[3]{% + \number##1 + \DTMenGGtimesep\DTMtwodigits{##2}% + \ifDTMshowseconds\DTMenGGtimesep\DTMtwodigits{##3}\fi + }% + }% + {% zone style + \DTMresetzones + \DTMenGGzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{en-GG}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMenGGtimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMenGGdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMenGGtimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + } +\newcommand*{\DTMenGGzonemaps}{% + \DTMdefzonemap{00}{00}{GMT}% + \DTMdefzonemap{01}{00}{BST}% +} +\DTMifcaseregional +{}% do nothing +{\DTMsetstyle{en-GG}}% +{\DTMsetstyle{en-GG-numeric}}% +\ifcsundef{date\CurrentTrackedDialect} +{% do nothing + \ifundef\dateenglish + {% + }% + {% + \def\dateenglish{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{en-GG}}% + {\DTMsetstyle{en-GG-numeric}}% + }% + }% +}% +{% + \csdef{date\CurrentTrackedDialect}{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{en-GG}}% + {\DTMsetstyle{en-GG-regional}}% + }% +}% +\endinput +%% +%% End of file `datetime2-en-GG.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-IE.ldf b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-IE.ldf new file mode 100644 index 00000000000..e55e5130715 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-IE.ldf @@ -0,0 +1,228 @@ +%% +%% This is file `datetime2-en-IE.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-english.dtx (with options: `datetime2-en-IE.ldf,package') +%% +%% datetime2-english.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 `maintained'. +%% +%% The Current Maintainer of this work is Nicola Talbot. +%% +%% This work consists of the files datetime2-english.dtx and +%% datetime2-english.ins and the derived files +%% datetime2-english-base.ldf, datetime2-english.ldf, +%% datetime2-en-GB.ldf, datetime2-en-US.ldf, datetime2-en-CA.ldf, +%% datetime2-en-AU.ldf, datetime2-en-NZ.ldf, datetime2-en-GG.ldf, +%% datetime2-en-JE.ldf, datetime2-en-IM.ldf, datetime2-en-MT.ldf, +%% datetime2-en-IE.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{en-IE}[2015/03/24 v1.0 (NLCT)] +\RequireDateTimeModule{english-base} +\newcommand*{\DTMenIEdaymonthsep}{\space} +\newcommand*{\DTMenIEmonthyearsep}{\space} +\newcommand*{\DTMenIEdatetimesep}{\space} +\newcommand*{\DTMenIEtimezonesep}{\space} +\newcommand*{\DTMenIEdatesep}{/} +\newcommand*{\DTMenIEtimesep}{:} +\DTMdefkey{en-IE}{daymonthsep}{\renewcommand*{\DTMenIEdaymonthsep}{#1}} +\DTMdefkey{en-IE}{monthyearsep}{\renewcommand*{\DTMenIEmonthyearsep}{#1}} +\DTMdefkey{en-IE}{datetimesep}{\renewcommand*{\DTMenIEdatetimesep}{#1}} +\DTMdefkey{en-IE}{timezonesep}{\renewcommand*{\DTMenIEtimezonesep}{#1}} +\DTMdefkey{en-IE}{datesep}{\renewcommand*{\DTMenIEdatesep}{#1}} +\DTMdefkey{en-IE}{timesep}{\renewcommand*{\DTMenIEtimesep}{#1}} +\DTMdefboolkey{en-IE}{abbr}[true]{} +\DTMsetbool{en-IE}{abbr}{false} +\DTMdefboolkey{en-IE}{mapzone}[true]{} +\DTMsetbool{en-IE}{mapzone}{true} +\DTMdefboolkey{en-IE}{showdayofmonth}[true]{} +\DTMsetbool{en-IE}{showdayofmonth}{true} +\DTMdefboolkey{en-IE}{showyear}[true]{} +\DTMsetbool{en-IE}{showyear}{true} +\newcommand*{\DTMenIEfmtordsuffix}[1]{#1} +\DTMdefchoicekey{en-IE}{ord}[\val\nr]{level,raise,omit,sc}{% + \ifcase\nr\relax + \renewcommand*{\DTMenIEfmtordsuffix}[1]{##1}% + \or + \renewcommand*{\DTMenIEfmtordsuffix}[1]{% + \DTMtexorpdfstring{\protect\textsuperscript{##1}}{##1}}% + \or + \renewcommand*{\DTMenIEfmtordsuffix}[1]{}% + \or + \renewcommand*{\DTMenIEfmtordsuffix}[1]{% + \DTMtexorpdfstring{\protect\textsc{##1}}{##1}}% + \fi +} +\DTMnewstyle + {en-IE}% label + {% date style + \renewcommand*{\DTMenglishfmtordsuffix}{\DTMenIEfmtordsuffix}% + \renewcommand*\DTMdisplaydate[4]{% + \ifDTMshowdow + \ifnum##4>-1% + \DTMifbool{en-IE}{abbr}% + {\DTMenglishshortweekdayname{##4}}% + {\DTMenglishweekdayname{##4}}% + \space + \fi + \fi + \DTMifbool{en-IE}{showdayofmonth}% + {% + \DTMenglishordinal{##3}% + \DTMenIEdaymonthsep + }% + {}% + \DTMifbool{en-IE}{abbr}% + {\DTMenglishshortmonthname{##2}}% + {\DTMenglishmonthname{##2}}% + \DTMifbool{en-IE}{showyear}% + {% + \DTMenIEmonthyearsep\number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}[4]{\DTMdisplaydate{##1}{##2}{##3}{##4}}% + }% + {% time style + \renewcommand*\DTMenglishtimesep{\DTMenIEtimesep}% + \DTMsettimestyle{englishampm}% + }% + {% zone style + \DTMresetzones + \DTMenIEzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{en-IE}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMenIEtimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMenIEdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMenIEtimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + }% +\DTMnewstyle + {en-IE-numeric}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{en-IE}{showdayofmonth}% + {% + \number##3 % space intended + \DTMenIEdatesep + }% + {}% + \number##2 % space intended + \DTMifbool{en-IE}{showyear}% + {% + \DTMenIEdatesep + \number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}[4]{\DTMdisplaydate{##1}{##2}{##3}{##4}}% + }% + {% time style + \renewcommand*\DTMdisplaytime[3]{% + \number##1 + \DTMenIEtimesep\DTMtwodigits{##2}% + \ifDTMshowseconds\DTMenIEtimesep\DTMtwodigits{##3}\fi + }% + }% + {% zone style + \DTMresetzones + \DTMenIEzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{en-IE}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMenIEtimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMenIEdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMenIEtimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + } +\newcommand*{\DTMenIEzonemaps}{% + \DTMdefzonemap{00}{00}{GMT}% + \DTMdefzonemap{01}{00}{IST}% +} +\DTMifcaseregional +{}% do nothing +{\DTMsetstyle{en-IE}}% +{\DTMsetstyle{en-IE-numeric}}% +\ifcsundef{date\CurrentTrackedDialect} +{% do nothing + \ifundef\dateenglish + {% + }% + {% + \def\dateenglish{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{en-IE}}% + {\DTMsetstyle{en-IE-numeric}}% + }% + }% +}% +{% + \csdef{date\CurrentTrackedDialect}{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{en-IE}}% + {\DTMsetstyle{en-IE-regional}}% + }% +}% +\endinput +%% +%% End of file `datetime2-en-IE.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-IM.ldf b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-IM.ldf new file mode 100644 index 00000000000..662757ee222 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-IM.ldf @@ -0,0 +1,228 @@ +%% +%% This is file `datetime2-en-IM.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-english.dtx (with options: `datetime2-en-IM.ldf,package') +%% +%% datetime2-english.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 `maintained'. +%% +%% The Current Maintainer of this work is Nicola Talbot. +%% +%% This work consists of the files datetime2-english.dtx and +%% datetime2-english.ins and the derived files +%% datetime2-english-base.ldf, datetime2-english.ldf, +%% datetime2-en-GB.ldf, datetime2-en-US.ldf, datetime2-en-CA.ldf, +%% datetime2-en-AU.ldf, datetime2-en-NZ.ldf, datetime2-en-GG.ldf, +%% datetime2-en-JE.ldf, datetime2-en-IM.ldf, datetime2-en-MT.ldf, +%% datetime2-en-IE.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{en-IM}[2015/03/24 v1.0 (NLCT)] +\RequireDateTimeModule{english-base} +\newcommand*{\DTMenIMdaymonthsep}{\space} +\newcommand*{\DTMenIMmonthyearsep}{\space} +\newcommand*{\DTMenIMdatetimesep}{\space} +\newcommand*{\DTMenIMtimezonesep}{\space} +\newcommand*{\DTMenIMdatesep}{/} +\newcommand*{\DTMenIMtimesep}{:} +\DTMdefkey{en-IM}{daymonthsep}{\renewcommand*{\DTMenIMdaymonthsep}{#1}} +\DTMdefkey{en-IM}{monthyearsep}{\renewcommand*{\DTMenIMmonthyearsep}{#1}} +\DTMdefkey{en-IM}{datetimesep}{\renewcommand*{\DTMenIMdatetimesep}{#1}} +\DTMdefkey{en-IM}{timezonesep}{\renewcommand*{\DTMenIMtimezonesep}{#1}} +\DTMdefkey{en-IM}{datesep}{\renewcommand*{\DTMenIMdatesep}{#1}} +\DTMdefkey{en-IM}{timesep}{\renewcommand*{\DTMenIMtimesep}{#1}} +\DTMdefboolkey{en-IM}{abbr}[true]{} +\DTMsetbool{en-IM}{abbr}{false} +\DTMdefboolkey{en-IM}{mapzone}[true]{} +\DTMsetbool{en-IM}{mapzone}{true} +\DTMdefboolkey{en-IM}{showdayofmonth}[true]{} +\DTMsetbool{en-IM}{showdayofmonth}{true} +\DTMdefboolkey{en-IM}{showyear}[true]{} +\DTMsetbool{en-IM}{showyear}{true} +\newcommand*{\DTMenIMfmtordsuffix}[1]{#1} +\DTMdefchoicekey{en-IM}{ord}[\val\nr]{level,raise,omit,sc}{% + \ifcase\nr\relax + \renewcommand*{\DTMenIMfmtordsuffix}[1]{##1}% + \or + \renewcommand*{\DTMenIMfmtordsuffix}[1]{% + \DTMtexorpdfstring{\protect\textsuperscript{##1}}{##1}}% + \or + \renewcommand*{\DTMenIMfmtordsuffix}[1]{}% + \or + \renewcommand*{\DTMenIMfmtordsuffix}[1]{% + \DTMtexorpdfstring{\protect\textsc{##1}}{##1}}% + \fi +} +\DTMnewstyle + {en-IM}% label + {% date style + \renewcommand*{\DTMenglishfmtordsuffix}{\DTMenIMfmtordsuffix}% + \renewcommand*\DTMdisplaydate[4]{% + \ifDTMshowdow + \ifnum##4>-1% + \DTMifbool{en-IM}{abbr}% + {\DTMenglishshortweekdayname{##4}}% + {\DTMenglishweekdayname{##4}}% + \space + \fi + \fi + \DTMifbool{en-IM}{showdayofmonth}% + {% + \DTMenglishordinal{##3}% + \DTMenIMdaymonthsep + }% + {}% + \DTMifbool{en-IM}{abbr}% + {\DTMenglishshortmonthname{##2}}% + {\DTMenglishmonthname{##2}}% + \DTMifbool{en-IM}{showyear}% + {% + \DTMenIMmonthyearsep\number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}[4]{\DTMdisplaydate{##1}{##2}{##3}{##4}}% + }% + {% time style + \renewcommand*\DTMenglishtimesep{\DTMenIMtimesep}% + \DTMsettimestyle{englishampm}% + }% + {% zone style + \DTMresetzones + \DTMenIMzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{en-IM}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMenIMtimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMenIMdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMenIMtimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + }% +\DTMnewstyle + {en-IM-numeric}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{en-IM}{showdayofmonth}% + {% + \number##3 % space intended + \DTMenIMdatesep + }% + {}% + \number##2 % space intended + \DTMifbool{en-IM}{showyear}% + {% + \DTMenIMdatesep + \number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}[4]{\DTMdisplaydate{##1}{##2}{##3}{##4}}% + }% + {% time style + \renewcommand*\DTMdisplaytime[3]{% + \number##1 + \DTMenIMtimesep\DTMtwodigits{##2}% + \ifDTMshowseconds\DTMenIMtimesep\DTMtwodigits{##3}\fi + }% + }% + {% zone style + \DTMresetzones + \DTMenIMzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{en-IM}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMenIMtimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMenIMdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMenIMtimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + } +\newcommand*{\DTMenIMzonemaps}{% + \DTMdefzonemap{00}{00}{GMT}% + \DTMdefzonemap{01}{00}{BST}% +} +\DTMifcaseregional +{}% do nothing +{\DTMsetstyle{en-IM}}% +{\DTMsetstyle{en-IM-numeric}}% +\ifcsundef{date\CurrentTrackedDialect} +{% do nothing + \ifundef\dateenglish + {% + }% + {% + \def\dateenglish{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{en-IM}}% + {\DTMsetstyle{en-IM-numeric}}% + }% + }% +}% +{% + \csdef{date\CurrentTrackedDialect}{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{en-IM}}% + {\DTMsetstyle{en-IM-regional}}% + }% +}% +\endinput +%% +%% End of file `datetime2-en-IM.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-JE.ldf b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-JE.ldf new file mode 100644 index 00000000000..7bcfa00825c --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-JE.ldf @@ -0,0 +1,228 @@ +%% +%% This is file `datetime2-en-JE.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-english.dtx (with options: `datetime2-en-JE.ldf,package') +%% +%% datetime2-english.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 `maintained'. +%% +%% The Current Maintainer of this work is Nicola Talbot. +%% +%% This work consists of the files datetime2-english.dtx and +%% datetime2-english.ins and the derived files +%% datetime2-english-base.ldf, datetime2-english.ldf, +%% datetime2-en-GB.ldf, datetime2-en-US.ldf, datetime2-en-CA.ldf, +%% datetime2-en-AU.ldf, datetime2-en-NZ.ldf, datetime2-en-GG.ldf, +%% datetime2-en-JE.ldf, datetime2-en-IM.ldf, datetime2-en-MT.ldf, +%% datetime2-en-IE.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{en-JE}[2015/03/24 v1.0 (NLCT)] +\RequireDateTimeModule{english-base} +\newcommand*{\DTMenJEdaymonthsep}{\space} +\newcommand*{\DTMenJEmonthyearsep}{\space} +\newcommand*{\DTMenJEdatetimesep}{\space} +\newcommand*{\DTMenJEtimezonesep}{\space} +\newcommand*{\DTMenJEdatesep}{/} +\newcommand*{\DTMenJEtimesep}{:} +\DTMdefkey{en-JE}{daymonthsep}{\renewcommand*{\DTMenJEdaymonthsep}{#1}} +\DTMdefkey{en-JE}{monthyearsep}{\renewcommand*{\DTMenJEmonthyearsep}{#1}} +\DTMdefkey{en-JE}{datetimesep}{\renewcommand*{\DTMenJEdatetimesep}{#1}} +\DTMdefkey{en-JE}{timezonesep}{\renewcommand*{\DTMenJEtimezonesep}{#1}} +\DTMdefkey{en-JE}{datesep}{\renewcommand*{\DTMenJEdatesep}{#1}} +\DTMdefkey{en-JE}{timesep}{\renewcommand*{\DTMenJEtimesep}{#1}} +\DTMdefboolkey{en-JE}{abbr}[true]{} +\DTMsetbool{en-JE}{abbr}{false} +\DTMdefboolkey{en-JE}{mapzone}[true]{} +\DTMsetbool{en-JE}{mapzone}{true} +\DTMdefboolkey{en-JE}{showdayofmonth}[true]{} +\DTMsetbool{en-JE}{showdayofmonth}{true} +\DTMdefboolkey{en-JE}{showyear}[true]{} +\DTMsetbool{en-JE}{showyear}{true} +\newcommand*{\DTMenJEfmtordsuffix}[1]{#1} +\DTMdefchoicekey{en-JE}{ord}[\val\nr]{level,raise,omit,sc}{% + \ifcase\nr\relax + \renewcommand*{\DTMenJEfmtordsuffix}[1]{##1}% + \or + \renewcommand*{\DTMenJEfmtordsuffix}[1]{% + \DTMtexorpdfstring{\protect\textsuperscript{##1}}{##1}}% + \or + \renewcommand*{\DTMenJEfmtordsuffix}[1]{}% + \or + \renewcommand*{\DTMenJEfmtordsuffix}[1]{% + \DTMtexorpdfstring{\protect\textsc{##1}}{##1}}% + \fi +} +\DTMnewstyle + {en-JE}% label + {% date style + \renewcommand*{\DTMenglishfmtordsuffix}{\DTMenJEfmtordsuffix}% + \renewcommand*\DTMdisplaydate[4]{% + \ifDTMshowdow + \ifnum##4>-1% + \DTMifbool{en-JE}{abbr}% + {\DTMenglishshortweekdayname{##4}}% + {\DTMenglishweekdayname{##4}}% + \space + \fi + \fi + \DTMifbool{en-JE}{showdayofmonth}% + {% + \DTMenglishordinal{##3}% + \DTMenJEdaymonthsep + }% + {}% + \DTMifbool{en-JE}{abbr}% + {\DTMenglishshortmonthname{##2}}% + {\DTMenglishmonthname{##2}}% + \DTMifbool{en-JE}{showyear}% + {% + \DTMenJEmonthyearsep\number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}[4]{\DTMdisplaydate{##1}{##2}{##3}{##4}}% + }% + {% time style + \renewcommand*\DTMenglishtimesep{\DTMenJEtimesep}% + \DTMsettimestyle{englishampm}% + }% + {% zone style + \DTMresetzones + \DTMenJEzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{en-JE}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMenJEtimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMenJEdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMenJEtimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + }% +\DTMnewstyle + {en-JE-numeric}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{en-JE}{showdayofmonth}% + {% + \number##3 % space intended + \DTMenJEdatesep + }% + {}% + \number##2 % space intended + \DTMifbool{en-JE}{showyear}% + {% + \DTMenJEdatesep + \number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}[4]{\DTMdisplaydate{##1}{##2}{##3}{##4}}% + }% + {% time style + \renewcommand*\DTMdisplaytime[3]{% + \number##1 + \DTMenJEtimesep\DTMtwodigits{##2}% + \ifDTMshowseconds\DTMenJEtimesep\DTMtwodigits{##3}\fi + }% + }% + {% zone style + \DTMresetzones + \DTMenJEzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{en-JE}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMenJEtimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMenJEdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMenJEtimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + } +\newcommand*{\DTMenJEzonemaps}{% + \DTMdefzonemap{00}{00}{GMT}% + \DTMdefzonemap{01}{00}{BST}% +} +\DTMifcaseregional +{}% do nothing +{\DTMsetstyle{en-JE}}% +{\DTMsetstyle{en-JE-numeric}}% +\ifcsundef{date\CurrentTrackedDialect} +{% do nothing + \ifundef\dateenglish + {% + }% + {% + \def\dateenglish{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{en-JE}}% + {\DTMsetstyle{en-JE-numeric}}% + }% + }% +}% +{% + \csdef{date\CurrentTrackedDialect}{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{en-JE}}% + {\DTMsetstyle{en-JE-regional}}% + }% +}% +\endinput +%% +%% End of file `datetime2-en-JE.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-MT.ldf b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-MT.ldf new file mode 100644 index 00000000000..4c80872f992 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-MT.ldf @@ -0,0 +1,228 @@ +%% +%% This is file `datetime2-en-MT.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-english.dtx (with options: `datetime2-en-MT.ldf,package') +%% +%% datetime2-english.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 `maintained'. +%% +%% The Current Maintainer of this work is Nicola Talbot. +%% +%% This work consists of the files datetime2-english.dtx and +%% datetime2-english.ins and the derived files +%% datetime2-english-base.ldf, datetime2-english.ldf, +%% datetime2-en-GB.ldf, datetime2-en-US.ldf, datetime2-en-CA.ldf, +%% datetime2-en-AU.ldf, datetime2-en-NZ.ldf, datetime2-en-GG.ldf, +%% datetime2-en-JE.ldf, datetime2-en-IM.ldf, datetime2-en-MT.ldf, +%% datetime2-en-IE.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{en-MT}[2015/03/24 v1.0 (NLCT)] +\RequireDateTimeModule{english-base} +\newcommand*{\DTMenMTdaymonthsep}{\space} +\newcommand*{\DTMenMTmonthyearsep}{\space} +\newcommand*{\DTMenMTdatetimesep}{\space} +\newcommand*{\DTMenMTtimezonesep}{\space} +\newcommand*{\DTMenMTdatesep}{/} +\newcommand*{\DTMenMTtimesep}{:} +\DTMdefkey{en-MT}{daymonthsep}{\renewcommand*{\DTMenMTdaymonthsep}{#1}} +\DTMdefkey{en-MT}{monthyearsep}{\renewcommand*{\DTMenMTmonthyearsep}{#1}} +\DTMdefkey{en-MT}{datetimesep}{\renewcommand*{\DTMenMTdatetimesep}{#1}} +\DTMdefkey{en-MT}{timezonesep}{\renewcommand*{\DTMenMTtimezonesep}{#1}} +\DTMdefkey{en-MT}{datesep}{\renewcommand*{\DTMenMTdatesep}{#1}} +\DTMdefkey{en-MT}{timesep}{\renewcommand*{\DTMenMTtimesep}{#1}} +\DTMdefboolkey{en-MT}{abbr}[true]{} +\DTMsetbool{en-MT}{abbr}{false} +\DTMdefboolkey{en-MT}{mapzone}[true]{} +\DTMsetbool{en-MT}{mapzone}{true} +\DTMdefboolkey{en-MT}{showdayofmonth}[true]{} +\DTMsetbool{en-MT}{showdayofmonth}{true} +\DTMdefboolkey{en-MT}{showyear}[true]{} +\DTMsetbool{en-MT}{showyear}{true} +\newcommand*{\DTMenMTfmtordsuffix}[1]{} +\DTMdefchoicekey{en-MT}{ord}[\val\nr]{level,raise,omit,sc}{% + \ifcase\nr\relax + \renewcommand*{\DTMenMTfmtordsuffix}[1]{##1}% + \or + \renewcommand*{\DTMenMTfmtordsuffix}[1]{% + \DTMtexorpdfstring{\protect\textsuperscript{##1}}{##1}}% + \or + \renewcommand*{\DTMenMTfmtordsuffix}[1]{}% + \or + \renewcommand*{\DTMenMTfmtordsuffix}[1]{% + \DTMtexorpdfstring{\protect\textsc{##1}}{##1}}% + \fi +} +\DTMnewstyle + {en-MT}% label + {% date style + \renewcommand*{\DTMenglishfmtordsuffix}{\DTMenMTfmtordsuffix}% + \renewcommand*\DTMdisplaydate[4]{% + \ifDTMshowdow + \ifnum##4>-1% + \DTMifbool{en-MT}{abbr}% + {\DTMenglishshortweekdayname{##4}}% + {\DTMenglishweekdayname{##4}}% + \space + \fi + \fi + \DTMifbool{en-MT}{showdayofmonth}% + {% + \DTMenglishordinal{##3}% + \DTMenMTdaymonthsep + }% + {}% + \DTMifbool{en-MT}{abbr}% + {\DTMenglishshortmonthname{##2}}% + {\DTMenglishmonthname{##2}}% + \DTMifbool{en-MT}{showyear}% + {% + \DTMenMTmonthyearsep\number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}[4]{\DTMdisplaydate{##1}{##2}{##3}{##4}}% + }% + {% time style + \renewcommand*\DTMenglishtimesep{\DTMenMTtimesep}% + \DTMsettimestyle{englishampm}% + }% + {% zone style + \DTMresetzones + \DTMenMTzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{en-MT}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMenMTtimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMenMTdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMenMTtimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + }% +\DTMnewstyle + {en-MT-numeric}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{en-MT}{showdayofmonth}% + {% + \number##3 % space intended + \DTMenMTdatesep + }% + {}% + \number##2 % space intended + \DTMifbool{en-MT}{showyear}% + {% + \DTMenMTdatesep + \number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}[4]{\DTMdisplaydate{##1}{##2}{##3}{##4}}% + }% + {% time style + \renewcommand*\DTMdisplaytime[3]{% + \number##1 + \DTMenMTtimesep\DTMtwodigits{##2}% + \ifDTMshowseconds\DTMenMTtimesep\DTMtwodigits{##3}\fi + }% + }% + {% zone style + \DTMresetzones + \DTMenMTzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{en-MT}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMenMTtimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMenMTdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMenMTtimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + } +\newcommand*{\DTMenMTzonemaps}{% + \DTMdefzonemap{02}{00}{CEST}% + \DTMdefzonemap{01}{00}{CET}% +} +\DTMifcaseregional +{}% do nothing +{\DTMsetstyle{en-MT}}% +{\DTMsetstyle{en-MT-numeric}}% +\ifcsundef{date\CurrentTrackedDialect} +{% do nothing + \ifundef\dateenglish + {% + }% + {% + \def\dateenglish{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{en-MT}}% + {\DTMsetstyle{en-MT-numeric}}% + }% + }% +}% +{% + \csdef{date\CurrentTrackedDialect}{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{en-MT}}% + {\DTMsetstyle{en-MT-regional}}% + }% +}% +\endinput +%% +%% End of file `datetime2-en-MT.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-NZ.ldf b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-NZ.ldf new file mode 100644 index 00000000000..68339d87b2a --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-NZ.ldf @@ -0,0 +1,230 @@ +%% +%% This is file `datetime2-en-NZ.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-english.dtx (with options: `datetime2-en-NZ.ldf,package') +%% +%% datetime2-english.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 `maintained'. +%% +%% The Current Maintainer of this work is Nicola Talbot. +%% +%% This work consists of the files datetime2-english.dtx and +%% datetime2-english.ins and the derived files +%% datetime2-english-base.ldf, datetime2-english.ldf, +%% datetime2-en-GB.ldf, datetime2-en-US.ldf, datetime2-en-CA.ldf, +%% datetime2-en-AU.ldf, datetime2-en-NZ.ldf, datetime2-en-GG.ldf, +%% datetime2-en-JE.ldf, datetime2-en-IM.ldf, datetime2-en-MT.ldf, +%% datetime2-en-IE.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{en-NZ}[2015/03/24 v1.0 (NLCT)] +\RequireDateTimeModule{english-base} +\newcommand*{\DTMenNZdaymonthsep}{\space} +\newcommand*{\DTMenNZmonthyearsep}{\space} +\newcommand*{\DTMenNZdatetimesep}{\space} +\newcommand*{\DTMenNZtimezonesep}{\space} +\newcommand*{\DTMenNZdatesep}{/} +\newcommand*{\DTMenNZtimesep}{:} +\DTMdefkey{en-NZ}{daymonthsep}{\renewcommand*{\DTMenNZdaymonthsep}{#1}} +\DTMdefkey{en-NZ}{monthyearsep}{\renewcommand*{\DTMenNZmonthyearsep}{#1}} +\DTMdefkey{en-NZ}{datetimesep}{\renewcommand*{\DTMenNZdatetimesep}{#1}} +\DTMdefkey{en-NZ}{timezonesep}{\renewcommand*{\DTMenNZtimezonesep}{#1}} +\DTMdefkey{en-NZ}{datesep}{\renewcommand*{\DTMenNZdatesep}{#1}} +\DTMdefkey{en-NZ}{timesep}{\renewcommand*{\DTMenNZtimesep}{#1}} +\DTMdefboolkey{en-NZ}{abbr}[true]{} +\DTMsetbool{en-NZ}{abbr}{false} +\DTMdefboolkey{en-NZ}{mapzone}[true]{} +\DTMsetbool{en-NZ}{mapzone}{false} +\DTMdefboolkey{en-NZ}{showdayofmonth}[true]{} +\DTMsetbool{en-NZ}{showdayofmonth}{true} +\DTMdefboolkey{en-NZ}{showyear}[true]{} +\DTMsetbool{en-NZ}{showyear}{true} +\newcommand*{\DTMenNZfmtordsuffix}[1]{} +\DTMdefchoicekey{en-NZ}{ord}[\val\nr]{level,raise,omit,sc}{% + \ifcase\nr\relax + \renewcommand*{\DTMenNZfmtordsuffix}[1]{##1}% + \or + \renewcommand*{\DTMenNZfmtordsuffix}[1]{% + \DTMtexorpdfstring{\protect\textsuperscript{##1}}{##1}}% + \or + \renewcommand*{\DTMenNZfmtordsuffix}[1]{}% + \or + \renewcommand*{\DTMenNZfmtordsuffix}[1]{% + \DTMtexorpdfstring{\protect\textsc{##1}}{##1}}% + \fi +} +\DTMnewstyle + {en-NZ}% label + {% date style + \renewcommand*{\DTMenglishfmtordsuffix}{\DTMenNZfmtordsuffix}% + \renewcommand*\DTMdisplaydate[4]{% + \ifDTMshowdow + \ifnum##4>-1% + \DTMifbool{en-NZ}{abbr}% + {\DTMenglishshortweekdayname{##4}}% + {\DTMenglishweekdayname{##4}}% + \space + \fi + \fi + \DTMifbool{en-NZ}{showdayofmonth}% + {% + \DTMenglishordinal{##3}% + \DTMenNZdaymonthsep + }% + {}% + \DTMifbool{en-NZ}{abbr}% + {\DTMenglishshortmonthname{##2}}% + {\DTMenglishmonthname{##2}}% + \DTMifbool{en-NZ}{showyear}% + {% + \DTMenNZmonthyearsep\number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}[4]{\DTMdisplaydate{##1}{##2}{##3}{##4}}% + }% + {% time style + \renewcommand*\DTMenglishtimesep{\DTMenNZtimesep}% + \DTMsettimestyle{englishampm}% + }% + {% zone style + \DTMresetzones + \DTMenNZzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{en-NZ}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMenNZtimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMenNZdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMenNZtimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + }% +\DTMnewstyle + {en-NZ-numeric}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{en-NZ}{showdayofmonth}% + {% + \number##3 % space intended + \DTMenNZdatesep + }% + {}% + \number##2 % space intended + \DTMifbool{en-NZ}{showyear}% + {% + \DTMenNZdatesep + \number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}[4]{\DTMdisplaydate{##1}{##2}{##3}{##4}}% + }% + {% time style + \renewcommand*\DTMdisplaytime[3]{% + \number##1 + \DTMenNZtimesep\DTMtwodigits{##2}% + \ifDTMshowseconds\DTMenNZtimesep\DTMtwodigits{##3}\fi + }% + }% + {% zone style + \DTMresetzones + \DTMenNZzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{en-NZ}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMenNZtimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMenNZdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMenNZtimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + } +\newcommand*{\DTMenNZzonemaps}{% + \DTMdefzonemap{12}{00}{NZST}% + \DTMdefzonemap{12}{45}{CHAST}% + \DTMdefzonemap{13}{00}{NZDT}% + \DTMdefzonemap{13}{45}{CHADT}% +} +\DTMifcaseregional +{}% do nothing +{\DTMsetstyle{en-NZ}}% +{\DTMsetstyle{en-NZ-numeric}}% +\ifcsundef{date\CurrentTrackedDialect} +{% do nothing + \ifundef\dateenglish + {% + }% + {% + \def\dateenglish{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{en-NZ}}% + {\DTMsetstyle{en-NZ-numeric}}% + }% + }% +}% +{% + \csdef{date\CurrentTrackedDialect}{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{en-NZ}}% + {\DTMsetstyle{en-NZ-regional}}% + }% +}% +\endinput +%% +%% End of file `datetime2-en-NZ.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-US.ldf b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-US.ldf new file mode 100644 index 00000000000..baa71bd4212 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-US.ldf @@ -0,0 +1,232 @@ +%% +%% This is file `datetime2-en-US.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-english.dtx (with options: `datetime2-en-US.ldf,package') +%% +%% datetime2-english.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 `maintained'. +%% +%% The Current Maintainer of this work is Nicola Talbot. +%% +%% This work consists of the files datetime2-english.dtx and +%% datetime2-english.ins and the derived files +%% datetime2-english-base.ldf, datetime2-english.ldf, +%% datetime2-en-GB.ldf, datetime2-en-US.ldf, datetime2-en-CA.ldf, +%% datetime2-en-AU.ldf, datetime2-en-NZ.ldf, datetime2-en-GG.ldf, +%% datetime2-en-JE.ldf, datetime2-en-IM.ldf, datetime2-en-MT.ldf, +%% datetime2-en-IE.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{en-US}[2015/03/24 v1.0 (NLCT)] +\RequireDateTimeModule{english-base} +\newcommand*{\DTMenUSmonthdaysep}{\space} +\newcommand*{\DTMenUSdayyearsep}{,\space} +\newcommand*{\DTMenUSdatetimesep}{\space} +\newcommand*{\DTMenUStimezonesep}{\space} +\newcommand*{\DTMenUSdatesep}{/} +\newcommand*{\DTMenUStimesep}{:} +\DTMdefkey{en-US}{monthdaysep}{\renewcommand*{\DTMenUSmonthdaysep}{#1}} +\DTMdefkey{en-US}{dayyearsep}{\renewcommand*{\DTMenUSdayyearsep}{#1}} +\DTMdefkey{en-US}{datetimesep}{\renewcommand*{\DTMenUSdatetimesep}{#1}} +\DTMdefkey{en-US}{timezonesep}{\renewcommand*{\DTMenUStimezonesep}{#1}} +\DTMdefkey{en-US}{datesep}{\renewcommand*{\DTMenUSdatesep}{#1}} +\DTMdefkey{en-US}{timesep}{\renewcommand*{\DTMenUStimesep}{#1}} +\DTMdefboolkey{en-US}{abbr}[true]{} +\DTMsetbool{en-US}{abbr}{false} +\DTMdefboolkey{en-US}{mapzone}[true]{} +\DTMsetbool{en-US}{mapzone}{false} +\DTMdefboolkey{en-US}{showdayofmonth}[true]{} +\DTMsetbool{en-US}{showdayofmonth}{true} +\DTMdefboolkey{en-US}{showyear}[true]{} +\DTMsetbool{en-US}{showyear}{true} +\newcommand*{\DTMenUSfmtordsuffix}[1]{} +\DTMdefchoicekey{en-US}{ord}[\val\nr]{level,raise,omit,sc}{% + \ifcase\nr\relax + \renewcommand*{\DTMenUSfmtordsuffix}[1]{##1}% + \or + \renewcommand*{\DTMenUSfmtordsuffix}[1]{% + \DTMtexorpdfstring{\protect\textsuperscript{##1}}{##1}}% + \or + \renewcommand*{\DTMenUSfmtordsuffix}[1]{}% + \or + \renewcommand*{\DTMenUSfmtordsuffix}[1]{% + \DTMtexorpdfstring{\protect\textsc{##1}}{##1}}% + \fi +} +\DTMnewstyle + {en-US}% label + {% date style + \renewcommand*{\DTMenglishfmtordsuffix}{\DTMenUSfmtordsuffix}% + \renewcommand*\DTMdisplaydate[4]{% + \DTMifbool{en-US}{abbr}% + {\DTMenglishshortmonthname{##2}}% + {\DTMenglishmonthname{##2}}% + \DTMifbool{en-US}{showdayofmonth}% + {% + \DTMenUSmonthdaysep + \DTMenglishordinal{##3}% + \DTMifbool{en-US}{showyear}% + {% + \DTMenUSdayyearsep + \number##1 % intended + }% + {}% + }% + {% + \DTMifbool{en-US}{showyear}% + {% + \DTMenUSmonthdaysep + \number##1 % intended + }% + {}% + }% + }% + \renewcommand*{\DTMDisplaydate}[4]{\DTMdisplaydate{##1}{##2}{##3}{##4}}% + }% + {% time style + \renewcommand*\DTMenglishtimesep{\DTMenUStimesep}% + \DTMsettimestyle{englishampm}% + }% + {% zone style + \DTMresetzones + \DTMenUSzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{en-US}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMenUStimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMenUSdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMenUStimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + }% +\DTMnewstyle + {en-US-numeric}% label + {% date style + \renewcommand*\DTMdisplaydate[4]{% + \number##2 % space intended + \DTMifbool{en-US}{showdayofmonth}% + {% + \DTMenUSdatesep + \number##3 % space intended + }% + {}% + \DTMifbool{en-US}{showyear}% + {% + \DTMenUSdatesep + \number##1 % space intended + }% + {}% + }% + \renewcommand*{\DTMDisplaydate}[4]{\DTMdisplaydate{##1}{##2}{##3}{##4}}% + }% + {% time style + \renewcommand*\DTMdisplaytime[3]{% + \number##1 + \DTMenUStimesep\DTMtwodigits{##2}% + \ifDTMshowseconds\DTMenUStimesep\DTMtwodigits{##3}\fi + }% + }% + {% zone style + \DTMresetzones + \DTMenUSzonemaps + \renewcommand*{\DTMdisplayzone}[2]{% + \DTMifbool{en-US}{mapzone}% + {\DTMusezonemapordefault{##1}{##2}}% + {% + \ifnum##1<0\else+\fi\DTMtwodigits{##1}% + \ifDTMshowzoneminutes\DTMenUStimesep\DTMtwodigits{##2}\fi + }% + }% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \DTMenUSdatetimesep + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \DTMenUStimezonesep + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + } +\newcommand*{\DTMenUSzonemaps}{% + \DTMdefzonemap{-3}{00}{ADT}% + \DTMdefzonemap{-4}{00}{AST}% + \DTMdefzonemap{-5}{00}{EST}% + \DTMdefzonemap{-6}{00}{CST}% + \DTMdefzonemap{-7}{00}{MST}% + \DTMdefzonemap{-8}{00}{PST}% +} +\DTMifcaseregional +{}% do nothing +{\DTMsetstyle{en-US}}% +{\DTMsetstyle{en-US-numeric}}% +\ifcsundef{date\CurrentTrackedDialect} +{% do nothing + \ifundef\dateenglish + {% + }% + {% + \def\dateenglish{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{en-US}}% + {\DTMsetstyle{en-US-numeric}}% + }% + }% +}% +{% + \csdef{date\CurrentTrackedDialect}{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{en-US}}% + {\DTMsetstyle{en-US-regional}}% + }% +}% +\endinput +%% +%% End of file `datetime2-en-US.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-english/datetime2-english-base.ldf b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-english-base.ldf new file mode 100644 index 00000000000..c77e5945425 --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-english-base.ldf @@ -0,0 +1,256 @@ +%% +%% This is file `datetime2-english-base.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-english.dtx (with options: `datetime2-english-base.ldf,package') +%% +%% datetime2-english.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 `maintained'. +%% +%% The Current Maintainer of this work is Nicola Talbot. +%% +%% This work consists of the files datetime2-english.dtx and +%% datetime2-english.ins and the derived files +%% datetime2-english-base.ldf, datetime2-english.ldf, +%% datetime2-en-GB.ldf, datetime2-en-US.ldf, datetime2-en-CA.ldf, +%% datetime2-en-AU.ldf, datetime2-en-NZ.ldf, datetime2-en-GG.ldf, +%% datetime2-en-JE.ldf, datetime2-en-IM.ldf, datetime2-en-MT.ldf, +%% datetime2-en-IE.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{english-base}[2015/03/24 v1.0 (NLCT)] +\newcommand*{\DTMenglishordinal}[1]{% + \number#1 % space intended + \DTMenglishfmtordsuffix{% + \ifcase#1 + \or \DTMenglishst + \or \DTMenglishnd + \or \DTMenglishrd + \or \DTMenglishth + \or \DTMenglishth + \or \DTMenglishth + \or \DTMenglishth + \or \DTMenglishth + \or \DTMenglishth + \or \DTMenglishth + \or \DTMenglishth + \or \DTMenglishth + \or \DTMenglishth + \or \DTMenglishth + \or \DTMenglishth + \or \DTMenglishth + \or \DTMenglishth + \or \DTMenglishth + \or \DTMenglishth + \or \DTMenglishth + \or \DTMenglishst + \or \DTMenglishnd + \or \DTMenglishrd + \or \DTMenglishth + \or \DTMenglishth + \or \DTMenglishth + \or \DTMenglishth + \or \DTMenglishth + \or \DTMenglishth + \or \DTMenglishth + \or \DTMenglishst + \fi + }% +} +\newcommand*{\DTMenglishst}{st} +\newcommand*{\DTMenglishnd}{nd} +\newcommand*{\DTMenglishrd}{rd} +\newcommand*{\DTMenglishth}{th} +\newcommand*{\DTMenglishfmtordsuffix}[1]{} +\newcommand*{\DTMenglishmonthname}[1]{% + \ifcase#1 + \or + January% + \or + February% + \or + March% + \or + April% + \or + May% + \or + June% + \or + July% + \or + August% + \or + September% + \or + October% + \or + November% + \or + December% + \fi +} +\newcommand*{\DTMenglishshortmonthname}[1]{% + \ifcase#1 + \or + Jan% + \or + Feb% + \or + Mar% + \or + Apr% + \or + May% + \or + Jun% + \or + Jul% + \or + Aug% + \or + Sep% + \or + Oct% + \or + Nov% + \or + Dec% + \fi +} +\newcommand*{\DTMenglishweekdayname}[1]{% + \ifcase#1 + Monday% + \or + Tuesday% + \or + Wednesday% + \or + Thursday% + \or + Friday% + \or + Saturday% + \or + Sunday% + \fi +} +\newcommand*{\DTMenglishshortweekdayname}[1]{% + \ifcase#1 + Mon% + \or + Tue% + \or + Wed% + \or + Thu% + \or + Fri% + \or + Sat% + \or + Sun% + \fi +} +\newcommand*\DTMenglisham{am}% +\newcommand*\DTMenglishpm{pm}% +\newcommand*\DTMenglishmidnight{midnight}% +\newcommand*\DTMenglishnoon{noon}% +\newcommand*{\DTMenglishampmfmt}[1]{#1} +\newcommand*{\DTMenglishtimesep}{\DTMsep{hourmin}} +\DTMnewtimestyle + {englishampm}% label + {% + \renewcommand*\DTMdisplaytime[3]{% + \ifnum##2=0 + \ifnum##1=12 + \DTMtexorpdfstring + {\DTMenglishampmfmt{\DTMenglishnoon}}% + {\DTMenglishnoon}% + \else + \ifnum##1=0 + \DTMtexorpdfstring + {\DTMenglishampmfmt{\DTMenglishmidnight}}% + {\DTMenglishmidnight}% + \else + \ifnum##1=24 + \DTMtexorpdfstring + {\DTMenglishampmfmt{\DTMenglishmidnight}}% + {\DTMenglishmidnight}% + \else + \ifnum##1<12 + \number##1 + \DTMtexorpdfstring + {\DTMenglishampmfmt{\DTMenglisham}}% + {\DTMenglisham}% + \else + \number\numexpr##1-12\relax + \DTMtexorpdfstring + {\DTMenglishampmfmt{\DTMenglishpm}}% + {\DTMenglishpm}% + \fi + \fi + \fi + \fi + \else + \ifnum##1<13 + \ifnum##1=0 + 12% + \else + \number##1 + \fi + \DTMenglishtimesep\DTMtwodigits{##2}% + \ifnum##1=12 + \DTMtexorpdfstring + {\DTMenglishampmfmt{\DTMenglisham}}% + {\DTMenglishpm}% + \else + \DTMtexorpdfstring + {\DTMenglishampmfmt{\DTMenglisham}}% + {\DTMenglisham}% + \fi + \else + \number\numexpr##1-12\relax + \DTMenglishtimesep\DTMtwodigits{##2}% + \ifnum##1=24 + \DTMtexorpdfstring + {\DTMenglishampmfmt{\DTMenglishpm}}% + {\DTMenglisham}% + \else + \DTMtexorpdfstring + {\DTMenglishampmfmt{\DTMenglishpm}}% + {\DTMenglishpm}% + \fi + \fi + \fi + }% + }% +\endinput +%% +%% End of file `datetime2-english-base.ldf'. diff --git a/Master/texmf-dist/tex/latex/datetime2-english/datetime2-english.ldf b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-english.ldf new file mode 100644 index 00000000000..5fb8b0d7acf --- /dev/null +++ b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-english.ldf @@ -0,0 +1,107 @@ +%% +%% This is file `datetime2-english.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% datetime2-english.dtx (with options: `datetime2-english.ldf,package') +%% +%% datetime2-english.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 `maintained'. +%% +%% The Current Maintainer of this work is Nicola Talbot. +%% +%% This work consists of the files datetime2-english.dtx and +%% datetime2-english.ins and the derived files +%% datetime2-english-base.ldf, datetime2-english.ldf, +%% datetime2-en-GB.ldf, datetime2-en-US.ldf, datetime2-en-CA.ldf, +%% datetime2-en-AU.ldf, datetime2-en-NZ.ldf, datetime2-en-GG.ldf, +%% datetime2-en-JE.ldf, datetime2-en-IM.ldf, datetime2-en-MT.ldf, +%% datetime2-en-IE.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{english}[2015/03/24 v1.0 (NLCT)] +\RequireDateTimeModule{english-base} +\DTMnewstyle + {english}% label + {% date style + \renewcommand*{\DTMenglishfmtordsuffix}[1]{}% + \renewcommand*\DTMdisplaydate[4]{% + \DTMenglishmonthname{##2}\space\number##3, \number##1 + }% + \renewcommand*{\DTMDisplaydate}[4]{\DTMdisplaydate{##1}{##2}{##3}{##4}}% + }% + {% time style + \renewcommand*{\DTMenglishtimesep}{\DTMsep{hourmin}}% + \DTMsettimestyle{englishampm}% + }% + {% zone style + \DTMsetzonestyle{default}% + }% + {% full style + \renewcommand*{\DTMdisplay}[9]{% + \ifDTMshowdate + \DTMdisplaydate{##1}{##2}{##3}{##4}% + \space + \fi + \DTMdisplaytime{##5}{##6}{##7}% + \ifDTMshowzone + \space + \DTMdisplayzone{##8}{##9}% + \fi + }% + \renewcommand*{\DTMDisplay}{\DTMdisplay}% + }% +\DTMifcaseregional +{}% do nothing +{\DTMsetstyle{english}}% +{\DTMsetstyle{default}}% +\ifcsundef{date\CurrentTrackedDialect} +{% + \ifundef\dateenglish + {% do nothing + }% + {% + \def\dateenglish{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{english}}% + {\DTMsetstyle{default}}% + }% + }% +}% +{% + \csdef{date\CurrentTrackedDialect}{% + \DTMifcaseregional + {}% do nothing + {\DTMsetstyle{english}}% + {\DTMsetstyle{default}}% + }% +}% +\endinput +%% +%% End of file `datetime2-english.ldf'. -- cgit v1.2.3