summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/datetime2-breton
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-breton
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-breton')
-rw-r--r--Master/texmf-dist/tex/latex/datetime2-breton/datetime2-breton-ascii.ldf82
-rw-r--r--Master/texmf-dist/tex/latex/datetime2-breton/datetime2-breton-utf8.ldf82
-rw-r--r--Master/texmf-dist/tex/latex/datetime2-breton/datetime2-breton.ldf216
3 files changed, 380 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/datetime2-breton/datetime2-breton-ascii.ldf b/Master/texmf-dist/tex/latex/datetime2-breton/datetime2-breton-ascii.ldf
new file mode 100644
index 00000000000..e8757c61c0d
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime2-breton/datetime2-breton-ascii.ldf
@@ -0,0 +1,82 @@
+%%
+%% This is file `datetime2-breton-ascii.ldf',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime2-breton.dtx (with options: `datetime2-breton-ascii.ldf,package')
+%%
+%% datetime2-breton.dtx
+%% Copyright 2015 Nicola Talbot
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license of (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `inactive'.
+%%
+%% This work consists of the files datetime2-breton.dtx and
+%% datetime2-breton.ins and the derived files
+%% datetime2-breton-utf8.ldf, datetime2-breton-ascii.ldf and
+%% datetime2-breton.ldf.
+%%
+%% \CharacterTable
+%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%% Digits \0\1\2\3\4\5\6\7\8\9
+%% Exclamation \! Double quote \" Hash (number) \#
+%% Dollar \$ Percent \% Ampersand \&
+%% Acute accent \' Left paren \( Right paren \)
+%% Asterisk \* Plus \+ Comma \,
+%% Minus \- Point \. Solidus \/
+%% Colon \: Semicolon \; Less than \<
+%% Equals \= Greater than \> Question mark \?
+%% Commercial at \@ Left bracket \[ Backslash \\
+%% Right bracket \] Circumflex \^ Underscore \_
+%% Grave accent \` Left brace \{ Vertical bar \|
+%% Right brace \} Tilde \~}
+\ProvidesDateTimeModule{breton-ascii}[2015/03/29 v1.0]
+\newcommand*{\DTMbretonordinal}[1]{%
+ \number#1
+ \ifnum#1=1
+ \DTMbretonfmtordsuffix{a\protect\~{n}}%
+ \fi
+}
+\newcommand*{\DTMbretonfmtordsuffix}[1]{%
+ \DTMtexorpdfstring{\protect\/\protect\textsuperscript{#1}}{#1}%
+}
+\newcommand*{\DTMbretonmonthname}[1]{%
+ \ifcase#1
+ \or
+ Genver%
+ \or
+ C'hwevrer%
+ \or
+ Meurzh%
+ \or
+ Ebrel%
+ \or
+ Mae%
+ \or
+ Mezheven%
+ \or
+ Gouere%
+ \or
+ Eost%
+ \or
+ Gwengolo%
+ \or
+ Here%
+ \or
+ Du%
+ \or
+ Kerzu%
+ \fi
+}
+\endinput
+%%
+%% End of file `datetime2-breton-ascii.ldf'.
diff --git a/Master/texmf-dist/tex/latex/datetime2-breton/datetime2-breton-utf8.ldf b/Master/texmf-dist/tex/latex/datetime2-breton/datetime2-breton-utf8.ldf
new file mode 100644
index 00000000000..b0c0b1cb362
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime2-breton/datetime2-breton-utf8.ldf
@@ -0,0 +1,82 @@
+%%
+%% This is file `datetime2-breton-utf8.ldf',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime2-breton.dtx (with options: `datetime2-breton-utf8.ldf,package')
+%%
+%% datetime2-breton.dtx
+%% Copyright 2015 Nicola Talbot
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license of (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `inactive'.
+%%
+%% This work consists of the files datetime2-breton.dtx and
+%% datetime2-breton.ins and the derived files
+%% datetime2-breton-utf8.ldf, datetime2-breton-ascii.ldf and
+%% datetime2-breton.ldf.
+%%
+%% \CharacterTable
+%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%% Digits \0\1\2\3\4\5\6\7\8\9
+%% Exclamation \! Double quote \" Hash (number) \#
+%% Dollar \$ Percent \% Ampersand \&
+%% Acute accent \' Left paren \( Right paren \)
+%% Asterisk \* Plus \+ Comma \,
+%% Minus \- Point \. Solidus \/
+%% Colon \: Semicolon \; Less than \<
+%% Equals \= Greater than \> Question mark \?
+%% Commercial at \@ Left bracket \[ Backslash \\
+%% Right bracket \] Circumflex \^ Underscore \_
+%% Grave accent \` Left brace \{ Vertical bar \|
+%% Right brace \} Tilde \~}
+\ProvidesDateTimeModule{breton-utf8}[2015/03/29 v1.0]
+\newcommand*{\DTMbretonordinal}[1]{%
+ \number#1
+ \ifnum#1=1
+ \DTMbretonfmtordinal{aƱ}%
+ \fi
+}
+\newcommand*{\DTMbretonfmtordinal}[1]{%
+ \DTMtexorpdfstring{\protect\/\protect\textsuperscript{#1}}{#1}%
+}
+\newcommand*{\DTMbretonmonthname}[1]{%
+ \ifcase#1
+ \or
+ Genver%
+ \or
+ C'hwevrer%
+ \or
+ Meurzh%
+ \or
+ Ebrel%
+ \or
+ Mae%
+ \or
+ Mezheven%
+ \or
+ Gouere%
+ \or
+ Eost%
+ \or
+ Gwengolo%
+ \or
+ Here%
+ \or
+ Du%
+ \or
+ Kerzu%
+ \fi
+}
+\endinput
+%%
+%% End of file `datetime2-breton-utf8.ldf'.
diff --git a/Master/texmf-dist/tex/latex/datetime2-breton/datetime2-breton.ldf b/Master/texmf-dist/tex/latex/datetime2-breton/datetime2-breton.ldf
new file mode 100644
index 00000000000..7d8c5e5c01e
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime2-breton/datetime2-breton.ldf
@@ -0,0 +1,216 @@
+%%
+%% This is file `datetime2-breton.ldf',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime2-breton.dtx (with options: `datetime2-breton.ldf,package')
+%%
+%% datetime2-breton.dtx
+%% Copyright 2015 Nicola Talbot
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license of (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `inactive'.
+%%
+%% This work consists of the files datetime2-breton.dtx and
+%% datetime2-breton.ins and the derived files
+%% datetime2-breton-utf8.ldf, datetime2-breton-ascii.ldf and
+%% datetime2-breton.ldf.
+%%
+%% \CharacterTable
+%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%% Digits \0\1\2\3\4\5\6\7\8\9
+%% Exclamation \! Double quote \" Hash (number) \#
+%% Dollar \$ Percent \% Ampersand \&
+%% Acute accent \' Left paren \( Right paren \)
+%% Asterisk \* Plus \+ Comma \,
+%% Minus \- Point \. Solidus \/
+%% Colon \: Semicolon \; Less than \<
+%% Equals \= Greater than \> Question mark \?
+%% Commercial at \@ Left bracket \[ Backslash \\
+%% Right bracket \] Circumflex \^ Underscore \_
+%% Grave accent \` Left brace \{ Vertical bar \|
+%% Right brace \} Tilde \~}
+\ProvidesDateTimeModule{breton}[2015/03/29 v1.0]
+\RequirePackage{ifxetex,ifluatex}
+\ifxetex
+ \RequireDateTimeModule{breton-utf8}
+\else
+ \ifluatex
+ \RequireDateTimeModule{breton-utf8}
+ \else
+ \RequireDateTimeModule{breton-ascii}
+ \fi
+\fi
+\newcommand*{\DTMbretondaymonthsep}{\space a\space viz\space}
+\newcommand*{\DTMbretonmonthyearsep}{\space}
+\newcommand*{\DTMbretondatetimesep}{\space}
+\newcommand*{\DTMbretontimezonesep}{\space}
+\newcommand*{\DTMbretondatesep}{/}
+\newcommand*{\DTMbretontimesep}{:}
+\DTMdefkey{breton}{daymonthsep}{\renewcommand*{\DTMbretondaymonthsep}{#1}}
+\DTMdefkey{breton}{monthyearsep}{\renewcommand*{\DTMbretonmonthyearsep}{#1}}
+\DTMdefkey{breton}{datetimesep}{\renewcommand*{\DTMbretondatetimesep}{#1}}
+\DTMdefkey{breton}{timezonesep}{\renewcommand*{\DTMbretontimezonesep}{#1}}
+\DTMdefkey{breton}{datesep}{\renewcommand*{\DTMbretondatesep}{#1}}
+\DTMdefkey{breton}{timesep}{\renewcommand*{\DTMbretontimesep}{#1}}
+\DTMdefchoicekey{breton}{ord}[\val\nr]{level,raise,omit,sc}{%
+ \ifcase\nr\relax
+ \renewcommand*{\DTMbretonfmtordsuffix}[1]{##1}%
+ \or
+ \renewcommand*{\DTMbretonfmtordsuffix}[1]{%
+ \DTMtexorpdfstring{\protect\textsuperscript{##1}}{##1}}%
+ \or
+ \renewcommand*{\DTMbretonfmtordsuffix}[1]{}%
+ \or
+ \renewcommand*{\DTMbretonfmtordsuffix}[1]{%
+ \DTMtexorpdfstring{\protect\textsc{##1}}{##1}}%
+ \fi
+}
+\DTMdefboolkey{breton}{mapzone}[true]{}
+\DTMsetbool{breton}{mapzone}{true}
+\DTMdefboolkey{breton}{showdayofmonth}[true]{}
+\DTMsetbool{breton}{showdayofmonth}{true}
+\DTMdefboolkey{breton}{showyear}[true]{}
+\DTMsetbool{breton}{showyear}{true}
+\DTMnewstyle
+ {breton}% label
+ {% date style
+ \renewcommand*\DTMdisplaydate[4]{%
+ \DTMifbool{breton}{showdayofmonth}
+ {\DTMbretonordinal{##3}\DTMbretondaymonthsep}%
+ {}%
+ \DTMbretonmonthname{##2}%
+ \DTMifbool{breton}{showyear}%
+ {%
+ \DTMbretonmonthyearsep
+ \number##1 % space intended
+ }%
+ {}%
+ }%
+ \renewcommand*\DTMDisplaydate{\DTMdisplaydate}%
+ }%
+ {% time style (use default)
+ \DTMsettimestyle{default}%
+ }%
+ {% zone style
+ \DTMresetzones
+ \DTMbretonzonemaps
+ \renewcommand*{\DTMdisplayzone}[2]{%
+ \DTMifbool{breton}{mapzone}%
+ {\DTMusezonemapordefault{##1}{##2}}%
+ {%
+ \ifnum##1<0\else+\fi\DTMtwodigits{##1}%
+ \ifDTMshowzoneminutes\DTMbretontimesep\DTMtwodigits{##2}\fi
+ }%
+ }%
+ }%
+ {% full style
+ \renewcommand*{\DTMdisplay}[9]{%
+ \ifDTMshowdate
+ \DTMdisplaydate{##1}{##2}{##3}{##4}%
+ \DTMbretondatetimesep
+ \fi
+ \DTMdisplaytime{##5}{##6}{##7}%
+ \ifDTMshowzone
+ \DTMbretontimezonesep
+ \DTMdisplayzone{##8}{##9}%
+ \fi
+ }%
+ \renewcommand*{\DTMDisplay}{\DTMdisplay}%
+ }%
+\DTMnewstyle
+ {breton-numeric}% label
+ {% date style
+ \renewcommand*\DTMdisplaydate[4]{%
+ \DTMifbool{breton}{showdayofmonth}%
+ {%
+ \number##3 % space intended
+ \DTMbretondatesep
+ }%
+ {}%
+ \number##2 % space intended
+ \DTMifbool{breton}{showyear}%
+ {%
+ \DTMbretondatesep
+ \number##1 % space intended
+ }%
+ {}%
+ }%
+ \renewcommand*{\DTMDisplaydate}[4]{\DTMdisplaydate{##1}{##2}{##3}{##4}}%
+ }%
+ {% time style
+ \renewcommand*\DTMdisplaytime[3]{%
+ \number##1
+ \DTMbretontimesep\DTMtwodigits{##2}%
+ \ifDTMshowseconds\DTMbretontimesep\DTMtwodigits{##3}\fi
+ }%
+ }%
+ {% zone style
+ \DTMresetzones
+ \DTMbretonzonemaps
+ \renewcommand*{\DTMdisplayzone}[2]{%
+ \DTMifbool{breton}{mapzone}%
+ {\DTMusezonemapordefault{##1}{##2}}%
+ {%
+ \ifnum##1<0\else+\fi\DTMtwodigits{##1}%
+ \ifDTMshowzoneminutes\DTMbretontimesep\DTMtwodigits{##2}\fi
+ }%
+ }%
+ }%
+ {% full style
+ \renewcommand*{\DTMdisplay}[9]{%
+ \ifDTMshowdate
+ \DTMdisplaydate{##1}{##2}{##3}{##4}%
+ \DTMbretondatetimesep
+ \fi
+ \DTMdisplaytime{##5}{##6}{##7}%
+ \ifDTMshowzone
+ \DTMbretontimezonesep
+ \DTMdisplayzone{##8}{##9}%
+ \fi
+ }%
+ \renewcommand*{\DTMDisplay}{\DTMdisplay}%
+ }
+\newcommand*{\DTMbretonzonemaps}{%
+ \DTMdefzonemap{01}{00}{CET}%
+ \DTMdefzonemap{02}{00}{CEST}%
+}
+
+\DTMifcaseregional
+{}% do nothing
+{\DTMsetstyle{breton}}
+{\DTMsetstyle{breton-numeric}}
+\ifcsundef{date\CurrentTrackedDialect}
+{%
+ \ifundef\datebreton
+ {% do nothing
+ }%
+ {%
+ \def\datebreton{%
+ \DTMifcaseregional
+ {}% do nothing
+ {\DTMsetstyle{breton}}%
+ {\DTMsetstyle{breton-numeric}}%
+ }%
+ }%
+}%
+{%
+ \csdef{date\CurrentTrackedDialect}{%
+ \DTMifcaseregional
+ {}% do nothing
+ {\DTMsetstyle{breton}}%
+ {\DTMsetstyle{breton-numeric}}
+ }%
+}%
+\endinput
+%%
+%% End of file `datetime2-breton.ldf'.