summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/datetime2-scottish
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-03-25 21:53:50 +0000
committerKarl Berry <karl@freefriends.org>2015-03-25 21:53:50 +0000
commitaa9e9c898aef4331784615737ef4c6fbe94e37b1 (patch)
treebbe1149fbfdc6f5c8793d578df0df071c99c89da /Master/texmf-dist/tex/latex/datetime2-scottish
parentd0624b6a4ac4f59401e5ba600a2ecf27af49dbec (diff)
datetime2-scottish (25mar15)
git-svn-id: svn://tug.org/texlive/trunk@36625 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/datetime2-scottish')
-rw-r--r--Master/texmf-dist/tex/latex/datetime2-scottish/datetime2-scottish-ascii.ldf104
-rw-r--r--Master/texmf-dist/tex/latex/datetime2-scottish/datetime2-scottish-utf8.ldf104
-rw-r--r--Master/texmf-dist/tex/latex/datetime2-scottish/datetime2-scottish.ldf226
3 files changed, 434 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/datetime2-scottish/datetime2-scottish-ascii.ldf b/Master/texmf-dist/tex/latex/datetime2-scottish/datetime2-scottish-ascii.ldf
new file mode 100644
index 00000000000..db7e0bf3de0
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime2-scottish/datetime2-scottish-ascii.ldf
@@ -0,0 +1,104 @@
+%%
+%% This is file `datetime2-scottish-ascii.ldf',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime2-scottish.dtx (with options: `datetime2-scottish-ascii.ldf,package')
+%%
+%% datetime2-scottish.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-scottish.dtx and
+%% datetime2-scottish.ins and the derived files
+%% datetime2-scottish-utf8.ldf, datetime2-scottish-ascii.ldf and
+%% datetime2-scottish.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{scottish-ascii}[2015/03/25 v1.0]
+\newcommand*{\DTMscottishordinal}[1]{%
+ \number#1 % space intended
+}
+\newcommand*{\DTMscottishmonthname}[1]{%
+ \ifcase#1
+ \or
+ am Faoilteach%
+ \or
+ an Gearran%
+ \or
+ am M\protect\`art%
+ \or
+ an Giblean%
+ \or
+ an C\protect\`eitean%
+ \or
+ an t-\protect\`Og mhios%
+ \or
+ an t-Iuchar%
+ \or
+ L\protect\`unasdal%
+ \or
+ an Sultuine%
+ \or
+ an D\protect\`amhar%
+ \or
+ an t-Samhainn%
+ \or
+ an Dubhlachd%
+ \fi
+}
+\newcommand*{\DTMscottishMonthname}[1]{%
+ \ifcase#1
+ \or
+ Am Faoilteach%
+ \or
+ An Gearran%
+ \or
+ Am M\protect\`art%
+ \or
+ An Giblean%
+ \or
+ An C\protect\`eitean%
+ \or
+ An t-\protect\`Og mhios%
+ \or
+ An t-Iuchar%
+ \or
+ L\protect\`unasdal%
+ \or
+ An Sultuine%
+ \or
+ An D\protect\`amhar%
+ \or
+ An t-Samhainn%
+ \or
+ An Dubhlachd%
+ \fi
+}
+\endinput
+%%
+%% End of file `datetime2-scottish-ascii.ldf'.
diff --git a/Master/texmf-dist/tex/latex/datetime2-scottish/datetime2-scottish-utf8.ldf b/Master/texmf-dist/tex/latex/datetime2-scottish/datetime2-scottish-utf8.ldf
new file mode 100644
index 00000000000..14d1728189e
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime2-scottish/datetime2-scottish-utf8.ldf
@@ -0,0 +1,104 @@
+%%
+%% This is file `datetime2-scottish-utf8.ldf',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime2-scottish.dtx (with options: `datetime2-scottish-utf8.ldf,package')
+%%
+%% datetime2-scottish.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-scottish.dtx and
+%% datetime2-scottish.ins and the derived files
+%% datetime2-scottish-utf8.ldf, datetime2-scottish-ascii.ldf and
+%% datetime2-scottish.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{scottish-utf8}[2015/03/25 v1.0]
+\newcommand*{\DTMscottishordinal}[1]{%
+ \number#1 % space intended
+}
+\newcommand*{\DTMscottishmonthname}[1]{%
+ \ifcase#1
+ \or
+ am Faoilteach%
+ \or
+ an Gearran%
+ \or
+ am Màrt%
+ \or
+ an Giblean%
+ \or
+ an Cèitean%
+ \or
+ an t-Òg mhios%
+ \or
+ an t-Iuchar%
+ \or
+ Lùnasdal%
+ \or
+ an Sultuine%
+ \or
+ an Dàmhar%
+ \or
+ an t-Samhainn%
+ \or
+ an Dubhlachd%
+ \fi
+}
+\newcommand*{\DTMscottishMonthname}[1]{%
+ \ifcase#1
+ \or
+ Am Faoilteach%
+ \or
+ An Gearran%
+ \or
+ Am Màrt%
+ \or
+ An Giblean%
+ \or
+ An Cèitean%
+ \or
+ An t-Òg mhios%
+ \or
+ An t-Iuchar%
+ \or
+ Lùnasdal%
+ \or
+ An Sultuine%
+ \or
+ An Dàmhar%
+ \or
+ An t-Samhainn%
+ \or
+ An Dubhlachd%
+ \fi
+}
+\endinput
+%%
+%% End of file `datetime2-scottish-utf8.ldf'.
diff --git a/Master/texmf-dist/tex/latex/datetime2-scottish/datetime2-scottish.ldf b/Master/texmf-dist/tex/latex/datetime2-scottish/datetime2-scottish.ldf
new file mode 100644
index 00000000000..0051aa577e7
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime2-scottish/datetime2-scottish.ldf
@@ -0,0 +1,226 @@
+%%
+%% This is file `datetime2-scottish.ldf',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime2-scottish.dtx (with options: `datetime2-scottish.ldf,package')
+%%
+%% datetime2-scottish.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-scottish.dtx and
+%% datetime2-scottish.ins and the derived files
+%% datetime2-scottish-utf8.ldf, datetime2-scottish-ascii.ldf and
+%% datetime2-scottish.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{scottish}[2015/03/25 v1.0]
+\RequirePackage{ifxetex,ifluatex}
+\ifxetex
+ \RequireDateTimeModule{scottish-utf8}
+\else
+ \ifluatex
+ \RequireDateTimeModule{scottish-utf8}
+ \else
+ \RequireDateTimeModule{scottish-ascii}
+ \fi
+\fi
+\newcommand*{\DTMscottishdaymonthsep}{\space}
+\newcommand*{\DTMscottishmonthyearsep}{\space}
+\newcommand*{\DTMscottishdatetimesep}{\space}
+\newcommand*{\DTMscottishtimezonesep}{\space}
+\newcommand*{\DTMscottishdatesep}{/}
+\newcommand*{\DTMscottishtimesep}{:}
+\DTMdefkey{scottish}{daymonthsep}{\renewcommand*{\DTMscottishdaymonthsep}{#1}}
+\DTMdefkey{scottish}{monthyearsep}{\renewcommand*{\DTMscottishmonthyearsep}{#1}}
+\DTMdefkey{scottish}{datetimesep}{\renewcommand*{\DTMscottishdatetimesep}{#1}}
+\DTMdefkey{scottish}{timezonesep}{\renewcommand*{\DTMscottishtimezonesep}{#1}}
+\DTMdefkey{scottish}{datesep}{\renewcommand*{\DTMscottishdatesep}{#1}}
+\DTMdefkey{scottish}{timesep}{\renewcommand*{\DTMscottishtimesep}{#1}}
+\DTMdefboolkey{scottish}{mapzone}[true]{}
+\DTMsetbool{scottish}{mapzone}{true}
+\DTMdefboolkey{scottish}{showdayofmonth}[true]{}
+\DTMsetbool{scottish}{showdayofmonth}{true}
+\DTMdefboolkey{scottish}{showyear}[true]{}
+\DTMsetbool{scottish}{showyear}{true}
+\DTMnewstyle
+ {scottish}% label
+ {% date style
+ \renewcommand*\DTMdisplaydate[4]{%
+ \DTMifbool{scottish}{showdayofmonth}
+ {\DTMscottishordinal{##3}\DTMscottishdaymonthsep}%
+ {}%
+ \DTMscottishmonthname{##2}%
+ \DTMifbool{scottish}{showyear}%
+ {%
+ \DTMscottishmonthyearsep
+ \number##1 % space intended
+ }%
+ {}%
+ }%
+ \renewcommand*\DTMDisplaydate[4]{%
+ \DTMifbool{scottish}{showdayofmonth}
+ {%
+ \DTMscottishordinal{##3}\DTMscottishdaymonthsep
+ \DTMscottishMonthname{##2}%
+ }%
+ {\DTMscottishMonthname{##2}}%
+ \DTMifbool{scottish}{showyear}%
+ {%
+ \DTMscottishmonthyearsep
+ \number##1 % space intended
+ }%
+ {}%
+ }%
+ }%
+ {% time style (use default)
+ \DTMsettimestyle{default}%
+ }%
+ {% zone style
+ \DTMresetzones
+ \DTMscottishzonemaps
+ \renewcommand*{\DTMdisplayzone}[2]{%
+ \DTMifbool{scottish}{mapzone}%
+ {\DTMusezonemapordefault{##1}{##2}}%
+ {%
+ \ifnum##1<0\else+\fi\DTMtwodigits{##1}%
+ \ifDTMshowzoneminutes\DTMscottishtimesep\DTMtwodigits{##2}\fi
+ }%
+ }%
+ }%
+ {% full style
+ \renewcommand*{\DTMdisplay}[9]{%
+ \ifDTMshowdate
+ \DTMdisplaydate{##1}{##2}{##3}{##4}%
+ \DTMscottishdatetimesep
+ \fi
+ \DTMdisplaytime{##5}{##6}{##7}%
+ \ifDTMshowzone
+ \DTMscottishtimezonesep
+ \DTMdisplayzone{##8}{##9}%
+ \fi
+ }%
+ \renewcommand*{\DTMDisplay}[9]{%
+ \ifDTMshowdate
+ \DTMDisplaydate{##1}{##2}{##3}{##4}%
+ \DTMscottishdatetimesep
+ \fi
+ \DTMdisplaytime{##5}{##6}{##7}%
+ \ifDTMshowzone
+ \DTMscottishtimezonesep
+ \DTMdisplayzone{##8}{##9}%
+ \fi
+ }%
+ }%
+\DTMnewstyle
+ {scottish-numeric}% label
+ {% date style
+ \renewcommand*\DTMdisplaydate[4]{%
+ \DTMifbool{scottish}{showdayofmonth}%
+ {%
+ \number##3 % space intended
+ \DTMscottishdatesep
+ }%
+ {}%
+ \number##2 % space intended
+ \DTMifbool{scottish}{showyear}%
+ {%
+ \DTMscottishdatesep
+ \number##1 % space intended
+ }%
+ {}%
+ }%
+ \renewcommand*{\DTMDisplaydate}[4]{\DTMdisplaydate{##1}{##2}{##3}{##4}}%
+ }%
+ {% time style
+ \renewcommand*\DTMdisplaytime[3]{%
+ \number##1
+ \DTMscottishtimesep\DTMtwodigits{##2}%
+ \ifDTMshowseconds\DTMscottishtimesep\DTMtwodigits{##3}\fi
+ }%
+ }%
+ {% zone style
+ \DTMresetzones
+ \DTMscottishzonemaps
+ \renewcommand*{\DTMdisplayzone}[2]{%
+ \DTMifbool{scottish}{mapzone}%
+ {\DTMusezonemapordefault{##1}{##2}}%
+ {%
+ \ifnum##1<0\else+\fi\DTMtwodigits{##1}%
+ \ifDTMshowzoneminutes\DTMscottishtimesep\DTMtwodigits{##2}\fi
+ }%
+ }%
+ }%
+ {% full style
+ \renewcommand*{\DTMdisplay}[9]{%
+ \ifDTMshowdate
+ \DTMdisplaydate{##1}{##2}{##3}{##4}%
+ \DTMscottishdatetimesep
+ \fi
+ \DTMdisplaytime{##5}{##6}{##7}%
+ \ifDTMshowzone
+ \DTMscottishtimezonesep
+ \DTMdisplayzone{##8}{##9}%
+ \fi
+ }%
+ \renewcommand*{\DTMDisplay}{\DTMdisplay}%
+ }
+\newcommand*{\DTMscottishzonemaps}{%
+ \DTMdefzonemap{00}{00}{GMT}%
+ \DTMdefzonemap{01}{00}{BST}%
+}
+
+\DTMifcaseregional
+{}% do nothing
+{\DTMsetstyle{scottish}}
+{\DTMsetstyle{scottish-numeric}}
+\ifcsundef{date\CurrentTrackedDialect}
+{%
+ \ifundef\datescottish
+ {% do nothing
+ }%
+ {%
+ \def\datescottish{%
+ \DTMifcaseregional
+ {}% do nothing
+ {\DTMsetstyle{scottish}}%
+ {\DTMsetstyle{scottish-numeric}}%
+ }%
+ }%
+}%
+{%
+ \csdef{date\CurrentTrackedDialect}{%
+ \DTMifcaseregional
+ {}% do nothing
+ {\DTMsetstyle{scottish}}%
+ {\DTMsetstyle{scottish-numeric}}
+ }%
+}%
+\endinput
+%%
+%% End of file `datetime2-scottish.ldf'.