summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/datetime2-finnish
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-03-30 23:12:49 +0000
committerKarl Berry <karl@freefriends.org>2015-03-30 23:12:49 +0000
commitb7f95896ce301dbceea61c49abdfa85b2bdb42f9 (patch)
tree732cf1cb4db764f0b6698ed6faa26accbc2463a0 /Master/texmf-dist/tex/latex/datetime2-finnish
parent01a985ede67216a0656c5bf2ac6d9cfb018fa827 (diff)
datetime2-* (30mar15)
git-svn-id: svn://tug.org/texlive/trunk@36682 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/datetime2-finnish')
-rw-r--r--Master/texmf-dist/tex/latex/datetime2-finnish/datetime2-finnish-ascii.ldf104
-rw-r--r--Master/texmf-dist/tex/latex/datetime2-finnish/datetime2-finnish-utf8.ldf104
-rw-r--r--Master/texmf-dist/tex/latex/datetime2-finnish/datetime2-finnish.ldf230
3 files changed, 438 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/datetime2-finnish/datetime2-finnish-ascii.ldf b/Master/texmf-dist/tex/latex/datetime2-finnish/datetime2-finnish-ascii.ldf
new file mode 100644
index 00000000000..36fed750147
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime2-finnish/datetime2-finnish-ascii.ldf
@@ -0,0 +1,104 @@
+%%
+%% This is file `datetime2-finnish-ascii.ldf',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime2-finnish.dtx (with options: `datetime2-finnish-ascii.ldf,package')
+%%
+%% datetime2-finnish.dtx
+%% Copyright 2015 Nicola Talbot
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license of (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `inactive'.
+%%
+%% This work consists of the files datetime2-finnish.dtx and
+%% datetime2-finnish.ins and the derived files
+%% datetime2-finnish-utf8.ldf, datetime2-finnish-ascii.ldf and
+%% datetime2-finnish.ldf.
+%%
+%% \CharacterTable
+%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%% Digits \0\1\2\3\4\5\6\7\8\9
+%% Exclamation \! Double quote \" Hash (number) \#
+%% Dollar \$ Percent \% Ampersand \&
+%% Acute accent \' Left paren \( Right paren \)
+%% Asterisk \* Plus \+ Comma \,
+%% Minus \- Point \. Solidus \/
+%% Colon \: Semicolon \; Less than \<
+%% Equals \= Greater than \> Question mark \?
+%% Commercial at \@ Left bracket \[ Backslash \\
+%% Right bracket \] Circumflex \^ Underscore \_
+%% Grave accent \` Left brace \{ Vertical bar \|
+%% Right brace \} Tilde \~}
+\ProvidesDateTimeModule{finnish-ascii}[2015/03/30 v1.0]
+\newcommand*{\DTMfinnishordinal}[1]{%
+ \number#1.%
+}
+\newcommand*{\DTMfinnishmonthname}[1]{%
+ \ifcase#1
+ \or
+ tammikuuta%
+ \or
+ helmikuuta%
+ \or
+ maaliskuuta%
+ \or
+ huhtikuuta%
+ \or
+ toukokuuta%
+ \or
+ kes\protect\"akuuta%
+ \or
+ hein\protect\"akuuta%
+ \or
+ elokuuta%
+ \or
+ syyskuuta%
+ \or
+ lokakuuta%
+ \or
+ marraskuuta%
+ \or
+ joulukuuta%
+ \fi
+}
+\newcommand*{\DTMfinnishMonthname}[1]{%
+ \ifcase#1
+ \or
+ Tammikuuta%
+ \or
+ Helmikuuta%
+ \or
+ Maaliskuuta%
+ \or
+ Huhtikuuta%
+ \or
+ Toukokuuta%
+ \or
+ Kes\protect\"akuuta%
+ \or
+ Hein\protect\"akuuta%
+ \or
+ Elokuuta%
+ \or
+ Syyskuuta%
+ \or
+ Lokakuuta%
+ \or
+ Marraskuuta%
+ \or
+ Joulukuuta%
+ \fi
+}
+\endinput
+%%
+%% End of file `datetime2-finnish-ascii.ldf'.
diff --git a/Master/texmf-dist/tex/latex/datetime2-finnish/datetime2-finnish-utf8.ldf b/Master/texmf-dist/tex/latex/datetime2-finnish/datetime2-finnish-utf8.ldf
new file mode 100644
index 00000000000..ea0564d874c
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime2-finnish/datetime2-finnish-utf8.ldf
@@ -0,0 +1,104 @@
+%%
+%% This is file `datetime2-finnish-utf8.ldf',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime2-finnish.dtx (with options: `datetime2-finnish-utf8.ldf,package')
+%%
+%% datetime2-finnish.dtx
+%% Copyright 2015 Nicola Talbot
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license of (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `inactive'.
+%%
+%% This work consists of the files datetime2-finnish.dtx and
+%% datetime2-finnish.ins and the derived files
+%% datetime2-finnish-utf8.ldf, datetime2-finnish-ascii.ldf and
+%% datetime2-finnish.ldf.
+%%
+%% \CharacterTable
+%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%% Digits \0\1\2\3\4\5\6\7\8\9
+%% Exclamation \! Double quote \" Hash (number) \#
+%% Dollar \$ Percent \% Ampersand \&
+%% Acute accent \' Left paren \( Right paren \)
+%% Asterisk \* Plus \+ Comma \,
+%% Minus \- Point \. Solidus \/
+%% Colon \: Semicolon \; Less than \<
+%% Equals \= Greater than \> Question mark \?
+%% Commercial at \@ Left bracket \[ Backslash \\
+%% Right bracket \] Circumflex \^ Underscore \_
+%% Grave accent \` Left brace \{ Vertical bar \|
+%% Right brace \} Tilde \~}
+\ProvidesDateTimeModule{finnish-utf8}[2015/03/30 v1.0]
+\newcommand*{\DTMfinnishordinal}[1]{%
+ \number#1.%
+}
+\newcommand*{\DTMfinnishmonthname}[1]{%
+ \ifcase#1
+ \or
+ tammikuuta%
+ \or
+ helmikuuta%
+ \or
+ maaliskuuta%
+ \or
+ huhtikuuta%
+ \or
+ toukokuuta%
+ \or
+ kesäkuuta%
+ \or
+ heinäkuuta%
+ \or
+ elokuuta%
+ \or
+ syyskuuta%
+ \or
+ lokakuuta%
+ \or
+ marraskuuta%
+ \or
+ joulukuuta%
+ \fi
+}
+\newcommand*{\DTMfinnishMonthname}[1]{%
+ \ifcase#1
+ \or
+ Tammikuuta%
+ \or
+ Helmikuuta%
+ \or
+ Maaliskuuta%
+ \or
+ Huhtikuuta%
+ \or
+ Toukokuuta%
+ \or
+ Kesäkuuta%
+ \or
+ Heinäkuuta%
+ \or
+ Elokuuta%
+ \or
+ Syyskuuta%
+ \or
+ Lokakuuta%
+ \or
+ Marraskuuta%
+ \or
+ Joulukuuta%
+ \fi
+}
+\endinput
+%%
+%% End of file `datetime2-finnish-utf8.ldf'.
diff --git a/Master/texmf-dist/tex/latex/datetime2-finnish/datetime2-finnish.ldf b/Master/texmf-dist/tex/latex/datetime2-finnish/datetime2-finnish.ldf
new file mode 100644
index 00000000000..60cddbc5bbc
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime2-finnish/datetime2-finnish.ldf
@@ -0,0 +1,230 @@
+%%
+%% This is file `datetime2-finnish.ldf',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime2-finnish.dtx (with options: `datetime2-finnish.ldf,package')
+%%
+%% datetime2-finnish.dtx
+%% Copyright 2015 Nicola Talbot
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license of (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `inactive'.
+%%
+%% This work consists of the files datetime2-finnish.dtx and
+%% datetime2-finnish.ins and the derived files
+%% datetime2-finnish-utf8.ldf, datetime2-finnish-ascii.ldf and
+%% datetime2-finnish.ldf.
+%%
+%% \CharacterTable
+%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%% Digits \0\1\2\3\4\5\6\7\8\9
+%% Exclamation \! Double quote \" Hash (number) \#
+%% Dollar \$ Percent \% Ampersand \&
+%% Acute accent \' Left paren \( Right paren \)
+%% Asterisk \* Plus \+ Comma \,
+%% Minus \- Point \. Solidus \/
+%% Colon \: Semicolon \; Less than \<
+%% Equals \= Greater than \> Question mark \?
+%% Commercial at \@ Left bracket \[ Backslash \\
+%% Right bracket \] Circumflex \^ Underscore \_
+%% Grave accent \` Left brace \{ Vertical bar \|
+%% Right brace \} Tilde \~}
+\ProvidesDateTimeModule{finnish}[2015/03/30 v1.0]
+\RequirePackage{ifxetex,ifluatex}
+\ifxetex
+ \RequireDateTimeModule{finnish-utf8}
+\else
+ \ifluatex
+ \RequireDateTimeModule{finnish-utf8}
+ \else
+ \RequireDateTimeModule{finnish-ascii}
+ \fi
+\fi
+\newcommand*{\DTMfinnishdaymonthsep}{%
+ \DTMtexorpdfstring{\protect~}{\space}%
+}
+\newcommand*{\DTMfinnishmonthyearsep}{\space}
+\newcommand*{\DTMfinnishdatetimesep}{\space}
+\newcommand*{\DTMfinnishtimezonesep}{\space}
+\newcommand*{\DTMfinnishdatesep}{.}
+\newcommand*{\DTMfinnishtimesep}{.}
+\DTMdefkey{finnish}{daymonthsep}{\renewcommand*{\DTMfinnishdaymonthsep}{#1}}
+\DTMdefkey{finnish}{monthyearsep}{\renewcommand*{\DTMfinnishmonthyearsep}{#1}}
+\DTMdefkey{finnish}{datetimesep}{\renewcommand*{\DTMfinnishdatetimesep}{#1}}
+\DTMdefkey{finnish}{timezonesep}{\renewcommand*{\DTMfinnishtimezonesep}{#1}}
+\DTMdefkey{finnish}{datesep}{\renewcommand*{\DTMfinnishdatesep}{#1}}
+\DTMdefkey{finnish}{timesep}{\renewcommand*{\DTMfinnishtimesep}{#1}}
+\DTMdefboolkey{finnish}{mapzone}[true]{}
+\DTMsetbool{finnish}{mapzone}{true}
+\DTMdefboolkey{finnish}{showdayofmonth}[true]{}
+\DTMsetbool{finnish}{showdayofmonth}{true}
+\DTMdefboolkey{finnish}{showyear}[true]{}
+\DTMsetbool{finnish}{showyear}{true}
+\DTMnewstyle
+ {finnish}% label
+ {% date style
+ \renewcommand*\DTMdisplaydate[4]{%
+ \DTMifbool{finnish}{showdayofmonth}
+ {\DTMfinnishordinal{##3}\DTMfinnishdaymonthsep}%
+ {}%
+ \DTMfinnishmonthname{##2}%
+ \DTMifbool{finnish}{showyear}%
+ {%
+ \DTMfinnishmonthyearsep
+ \number##1
+ }%
+ {}%
+ }%
+ \renewcommand*\DTMDisplaydate[4]{%
+ \DTMifbool{finnish}{showdayofmonth}
+ {%
+ \DTMfinnishordinal{##3}\DTMfinnishdaymonthsep
+ \DTMfinnishmonthname{##2}%
+ }%
+ {%
+ \DTMfinnishMonthname{##2}%
+ }%
+ \DTMifbool{finnish}{showyear}%
+ {%
+ \DTMfinnishmonthyearsep
+ \number##1
+ }%
+ {}%
+ }%
+ }%
+ {% time style (use default)
+ \DTMsettimestyle{default}%
+ }%
+ {% zone style
+ \DTMresetzones
+ \DTMfinnishzonemaps
+ \renewcommand*{\DTMdisplayzone}[2]{%
+ \DTMifbool{finnish}{mapzone}%
+ {\DTMusezonemapordefault{##1}{##2}}%
+ {%
+ \ifnum##1<0\else+\fi\DTMtwodigits{##1}%
+ \ifDTMshowzoneminutes\DTMfinnishtimesep\DTMtwodigits{##2}\fi
+ }%
+ }%
+ }%
+ {% full style
+ \renewcommand*{\DTMdisplay}[9]{%
+ \ifDTMshowdate
+ \DTMdisplaydate{##1}{##2}{##3}{##4}%
+ \DTMfinnishdatetimesep
+ \fi
+ \DTMdisplaytime{##5}{##6}{##7}%
+ \ifDTMshowzone
+ \DTMfinnishtimezonesep
+ \DTMdisplayzone{##8}{##9}%
+ \fi
+ }%
+ \renewcommand*{\DTMDisplay}[9]{%
+ \ifDTMshowdate
+ \DTMDisplaydate{##1}{##2}{##3}{##4}%
+ \DTMfinnishdatetimesep
+ \fi
+ \DTMdisplaytime{##5}{##6}{##7}%
+ \ifDTMshowzone
+ \DTMfinnishtimezonesep
+ \DTMdisplayzone{##8}{##9}%
+ \fi
+ }%
+ }%
+\DTMnewstyle
+ {finnish-numeric}% label
+ {% date style
+ \renewcommand*\DTMdisplaydate[4]{%
+ \DTMifbool{finnish}{showdayofmonth}%
+ {%
+ \number##3 % space intended
+ \DTMfinnishdatesep
+ }%
+ {}%
+ \number##2 % space intended
+ \DTMifbool{finnish}{showyear}%
+ {%
+ \DTMfinnishdatesep
+ \number##1 % space intended
+ }%
+ {}%
+ }%
+ \renewcommand*{\DTMDisplaydate}{\DTMdisplaydate}%
+ }%
+ {% time style
+ \renewcommand*\DTMdisplaytime[3]{%
+ \number##1
+ \DTMfinnishtimesep\DTMtwodigits{##2}%
+ \ifDTMshowseconds\DTMfinnishtimesep\DTMtwodigits{##3}\fi
+ }%
+ }%
+ {% zone style
+ \DTMresetzones
+ \DTMfinnishzonemaps
+ \renewcommand*{\DTMdisplayzone}[2]{%
+ \DTMifbool{finnish}{mapzone}%
+ {\DTMusezonemapordefault{##1}{##2}}%
+ {%
+ \ifnum##1<0\else+\fi\DTMtwodigits{##1}%
+ \ifDTMshowzoneminutes\DTMfinnishtimesep\DTMtwodigits{##2}\fi
+ }%
+ }%
+ }%
+ {% full style
+ \renewcommand*{\DTMdisplay}[9]{%
+ \ifDTMshowdate
+ \DTMdisplaydate{##1}{##2}{##3}{##4}%
+ \DTMfinnishdatetimesep
+ \fi
+ \DTMdisplaytime{##5}{##6}{##7}%
+ \ifDTMshowzone
+ \DTMfinnishtimezonesep
+ \DTMdisplayzone{##8}{##9}%
+ \fi
+ }%
+ \renewcommand*{\DTMDisplay}{\DTMdisplay}%
+ }
+\newcommand*{\DTMfinnishzonemaps}{%
+ \DTMdefzonemap{02}{00}{EET}%
+ \DTMdefzonemap{03}{00}{EEST}%
+}
+
+\DTMifcaseregional
+{}% do nothing
+{\DTMsetstyle{finnish}}
+{\DTMsetstyle{finnish-numeric}}
+\ifcsundef{date\CurrentTrackedDialect}
+{%
+ \ifundef\datefinnish
+ {% do nothing
+ }%
+ {%
+ \def\datefinnish{%
+ \DTMifcaseregional
+ {}% do nothing
+ {\DTMsetstyle{finnish}}%
+ {\DTMsetstyle{finnish-numeric}}%
+ }%
+ }%
+}%
+{%
+ \csdef{date\CurrentTrackedDialect}{%
+ \DTMifcaseregional
+ {}% do nothing
+ {\DTMsetstyle{finnish}}%
+ {\DTMsetstyle{finnish-numeric}}
+ }%
+}%
+\endinput
+%%
+%% End of file `datetime2-finnish.ldf'.