summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/datetime2-spanish
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-03-28 21:42:53 +0000
committerKarl Berry <karl@freefriends.org>2015-03-28 21:42:53 +0000
commitbedac6281e7598a879ee81af944b37aaafebb617 (patch)
tree475d19c435e0023e2fe1e06ae980015dd9f690e6 /Master/texmf-dist/tex/latex/datetime2-spanish
parent251dd44b0f2fb70cb1d34b218364bd96b09ce751 (diff)
datetime2-spanish (28mar15)
git-svn-id: svn://tug.org/texlive/trunk@36661 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/datetime2-spanish')
-rw-r--r--Master/texmf-dist/tex/latex/datetime2-spanish/datetime2-spanish-ascii.ldf138
-rw-r--r--Master/texmf-dist/tex/latex/datetime2-spanish/datetime2-spanish-utf8.ldf138
-rw-r--r--Master/texmf-dist/tex/latex/datetime2-spanish/datetime2-spanish.ldf228
3 files changed, 504 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/datetime2-spanish/datetime2-spanish-ascii.ldf b/Master/texmf-dist/tex/latex/datetime2-spanish/datetime2-spanish-ascii.ldf
new file mode 100644
index 00000000000..4a4c129bda6
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime2-spanish/datetime2-spanish-ascii.ldf
@@ -0,0 +1,138 @@
+%%
+%% This is file `datetime2-spanish-ascii.ldf',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime2-spanish.dtx (with options: `datetime2-spanish-ascii.ldf,package')
+%%
+%% datetime2-spanish.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-spanish.dtx and
+%% datetime2-spanish.ins and the derived files
+%% datetime2-spanish-utf8.ldf, datetime2-spanish-ascii.ldf and
+%% datetime2-spanish.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{spanish-ascii}[2015/03/28 v1.0]
+\newcommand*{\DTMspanishordinal}[1]{%
+ \number#1
+}
+\newcommand*{\DTMspanishmonthname}[1]{%
+ \ifcase#1
+ \or
+ enero%
+ \or
+ febrero%
+ \or
+ marzo%
+ \or
+ abril%
+ \or
+ mayo%
+ \or
+ junio%
+ \or
+ julio%
+ \or
+ agosto%
+ \or
+ septiembre%
+ \or
+ octubre%
+ \or
+ noviembre%
+ \or
+ diciembre%
+ \fi
+}
+\newcommand*{\DTMspanishMonthname}[1]{%
+ \ifcase#1
+ \or
+ Enero%
+ \or
+ Febrero%
+ \or
+ Marzo%
+ \or
+ Abril%
+ \or
+ Mayo%
+ \or
+ Junio%
+ \or
+ Julio%
+ \or
+ Agosto%
+ \or
+ Septiembre%
+ \or
+ Octubre%
+ \or
+ Noviembre%
+ \or
+ Diciembre%
+ \fi
+}
+\newcommand*{\DTMspanishweekdayname}[1]{%
+ \ifcase#1
+ domingo%
+ \or
+ lunes%
+ \or
+ martes%
+ \or
+ mi\protect\'ercoles%
+ \or
+ jueves%
+ \or
+ viernes%
+ \or
+ s\protect\'abado%
+ \fi
+}
+\newcommand*{\DTMspanishWeekdayname}[1]{%
+ \ifcase#1
+ Domingo%
+ \or
+ Lunes%
+ \or
+ Martes%
+ \or
+ Mi\protect\'ercoles%
+ \or
+ Jueves%
+ \or
+ Viernes%
+ \or
+ S\protect\'abado%
+ \fi
+}
+\endinput
+%%
+%% End of file `datetime2-spanish-ascii.ldf'.
diff --git a/Master/texmf-dist/tex/latex/datetime2-spanish/datetime2-spanish-utf8.ldf b/Master/texmf-dist/tex/latex/datetime2-spanish/datetime2-spanish-utf8.ldf
new file mode 100644
index 00000000000..f8413c36e03
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime2-spanish/datetime2-spanish-utf8.ldf
@@ -0,0 +1,138 @@
+%%
+%% This is file `datetime2-spanish-utf8.ldf',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime2-spanish.dtx (with options: `datetime2-spanish-utf8.ldf,package')
+%%
+%% datetime2-spanish.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-spanish.dtx and
+%% datetime2-spanish.ins and the derived files
+%% datetime2-spanish-utf8.ldf, datetime2-spanish-ascii.ldf and
+%% datetime2-spanish.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{spanish-utf8}[2015/03/28 v1.0]
+\newcommand*{\DTMspanishordinal}[1]{%
+ \number#1
+}
+\newcommand*{\DTMspanishmonthname}[1]{%
+ \ifcase#1
+ \or
+ enero%
+ \or
+ febrero%
+ \or
+ marzo%
+ \or
+ abril%
+ \or
+ mayo%
+ \or
+ junio%
+ \or
+ julio%
+ \or
+ agosto%
+ \or
+ septiembre%
+ \or
+ octubre%
+ \or
+ noviembre%
+ \or
+ diciembre%
+ \fi
+}
+\newcommand*{\DTMspanishMonthname}[1]{%
+ \ifcase#1
+ \or
+ Enero%
+ \or
+ Febrero%
+ \or
+ Marzo%
+ \or
+ Abril%
+ \or
+ Mayo%
+ \or
+ Junio%
+ \or
+ Julio%
+ \or
+ Agosto%
+ \or
+ Septiembre%
+ \or
+ Octubre%
+ \or
+ Noviembre%
+ \or
+ Diciembre%
+ \fi
+}
+\newcommand*{\DTMspanishweekdayname}[1]{%
+ \ifcase#1
+ domingo%
+ \or
+ lunes%
+ \or
+ martes%
+ \or
+ miércoles%
+ \or
+ jueves%
+ \or
+ viernes%
+ \or
+ sábado%
+ \fi
+}
+\newcommand*{\DTMspanishWeekdayname}[1]{%
+ \ifcase#1
+ Domingo%
+ \or
+ Lunes%
+ \or
+ Martes%
+ \or
+ Miércoles%
+ \or
+ Jueves%
+ \or
+ Viernes%
+ \or
+ Sábado%
+ \fi
+}
+\endinput
+%%
+%% End of file `datetime2-spanish-utf8.ldf'.
diff --git a/Master/texmf-dist/tex/latex/datetime2-spanish/datetime2-spanish.ldf b/Master/texmf-dist/tex/latex/datetime2-spanish/datetime2-spanish.ldf
new file mode 100644
index 00000000000..970a5c8d1d6
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/datetime2-spanish/datetime2-spanish.ldf
@@ -0,0 +1,228 @@
+%%
+%% This is file `datetime2-spanish.ldf',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% datetime2-spanish.dtx (with options: `datetime2-spanish.ldf,package')
+%%
+%% datetime2-spanish.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-spanish.dtx and
+%% datetime2-spanish.ins and the derived files
+%% datetime2-spanish-utf8.ldf, datetime2-spanish-ascii.ldf and
+%% datetime2-spanish.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{spanish}[2015/03/28 v1.0]
+\RequirePackage{ifxetex,ifluatex}
+\ifxetex
+ \RequireDateTimeModule{spanish-utf8}
+\else
+ \ifluatex
+ \RequireDateTimeModule{spanish-utf8}
+ \else
+ \RequireDateTimeModule{spanish-ascii}
+ \fi
+\fi
+\newcommand*{\DTMspanishdaymonthsep}{%
+ \DTMtexorpdfstring{\protect~}{\space}de\space}
+\newcommand*{\DTMspanishmonthyearsep}{%
+ \space de\DTMtexorpdfstring{\protect~}{\space}}
+\newcommand*{\DTMspanishdatetimesep}{\space}
+\newcommand*{\DTMspanishtimezonesep}{\space}
+\newcommand*{\DTMspanishdatesep}{/}
+\newcommand*{\DTMspanishtimesep}{:}
+\DTMdefkey{spanish}{daymonthsep}{\renewcommand*{\DTMspanishdaymonthsep}{#1}}
+\DTMdefkey{spanish}{monthyearsep}{\renewcommand*{\DTMspanishmonthyearsep}{#1}}
+\DTMdefkey{spanish}{datetimesep}{\renewcommand*{\DTMspanishdatetimesep}{#1}}
+\DTMdefkey{spanish}{timezonesep}{\renewcommand*{\DTMspanishtimezonesep}{#1}}
+\DTMdefkey{spanish}{datesep}{\renewcommand*{\DTMspanishdatesep}{#1}}
+\DTMdefkey{spanish}{timesep}{\renewcommand*{\DTMspanishtimesep}{#1}}
+\DTMdefboolkey{spanish}{mapzone}[true]{}
+\DTMsetbool{spanish}{mapzone}{true}
+\DTMdefboolkey{spanish}{showdayofmonth}[true]{}
+\DTMsetbool{spanish}{showdayofmonth}{true}
+\DTMdefboolkey{spanish}{showyear}[true]{}
+\DTMsetbool{spanish}{showyear}{true}
+\DTMnewstyle
+ {spanish}% label
+ {% date style
+ \renewcommand*\DTMdisplaydate[4]{%
+ \DTMifbool{spanish}{showdayofmonth}
+ {\DTMspanishordinal{##3}\DTMspanishdaymonthsep}%
+ {}%
+ \DTMspanishmonthname{##2}%
+ \DTMifbool{spanish}{showyear}%
+ {%
+ \DTMspanishmonthyearsep
+ \number##1 % space intended
+ }%
+ {}%
+ }%
+ \renewcommand*\DTMDisplaydate[4]{%
+ \DTMifbool{spanish}{showdayofmonth}
+ {%
+ \DTMspanishordinal{##3}\DTMspanishdaymonthsep
+ \DTMspanishmonthname{##2}%
+ }%
+ {\DTMspanishMonthname{##2}}%
+ \DTMifbool{spanish}{showyear}%
+ {%
+ \DTMspanishmonthyearsep
+ \number##1 % space intended
+ }%
+ {}%
+ }%
+ }%
+ {% time style (use default)
+ \DTMsettimestyle{default}%
+ }%
+ {% zone style
+ \DTMresetzones
+ \DTMspanishzonemaps
+ \renewcommand*{\DTMdisplayzone}[2]{%
+ \DTMifbool{spanish}{mapzone}%
+ {\DTMusezonemapordefault{##1}{##2}}%
+ {%
+ \ifnum##1<0\else+\fi\DTMtwodigits{##1}%
+ \ifDTMshowzoneminutes\DTMspanishtimesep\DTMtwodigits{##2}\fi
+ }%
+ }%
+ }%
+ {% full style
+ \renewcommand*{\DTMdisplay}[9]{%
+ \ifDTMshowdate
+ \DTMdisplaydate{##1}{##2}{##3}{##4}%
+ \DTMspanishdatetimesep
+ \fi
+ \DTMdisplaytime{##5}{##6}{##7}%
+ \ifDTMshowzone
+ \DTMspanishtimezonesep
+ \DTMdisplayzone{##8}{##9}%
+ \fi
+ }%
+ \renewcommand*{\DTMDisplay}[9]{%
+ \ifDTMshowdate
+ \DTMDisplaydate{##1}{##2}{##3}{##4}%
+ \DTMspanishdatetimesep
+ \fi
+ \DTMdisplaytime{##5}{##6}{##7}%
+ \ifDTMshowzone
+ \DTMspanishtimezonesep
+ \DTMdisplayzone{##8}{##9}%
+ \fi
+ }%
+ }%
+\DTMnewstyle
+ {spanish-numeric}% label
+ {% date style
+ \renewcommand*\DTMdisplaydate[4]{%
+ \DTMifbool{spanish}{showdayofmonth}%
+ {%
+ \number##3 % space intended
+ \DTMspanishdatesep
+ }%
+ {}%
+ \number##2 % space intended
+ \DTMifbool{spanish}{showyear}%
+ {%
+ \DTMspanishdatesep
+ \number##1 % space intended
+ }%
+ {}%
+ }%
+ \renewcommand*{\DTMDisplaydate}[4]{\DTMdisplaydate{##1}{##2}{##3}{##4}}%
+ }%
+ {% time style
+ \renewcommand*\DTMdisplaytime[3]{%
+ \number##1
+ \DTMspanishtimesep\DTMtwodigits{##2}%
+ \ifDTMshowseconds\DTMspanishtimesep\DTMtwodigits{##3}\fi
+ }%
+ }%
+ {% zone style
+ \DTMresetzones
+ \DTMspanishzonemaps
+ \renewcommand*{\DTMdisplayzone}[2]{%
+ \DTMifbool{spanish}{mapzone}%
+ {\DTMusezonemapordefault{##1}{##2}}%
+ {%
+ \ifnum##1<0\else+\fi\DTMtwodigits{##1}%
+ \ifDTMshowzoneminutes\DTMspanishtimesep\DTMtwodigits{##2}\fi
+ }%
+ }%
+ }%
+ {% full style
+ \renewcommand*{\DTMdisplay}[9]{%
+ \ifDTMshowdate
+ \DTMdisplaydate{##1}{##2}{##3}{##4}%
+ \DTMspanishdatetimesep
+ \fi
+ \DTMdisplaytime{##5}{##6}{##7}%
+ \ifDTMshowzone
+ \DTMspanishtimezonesep
+ \DTMdisplayzone{##8}{##9}%
+ \fi
+ }%
+ \renewcommand*{\DTMDisplay}{\DTMdisplay}%
+ }
+\newcommand*{\DTMspanishzonemaps}{%
+ \DTMdefzonemap{01}{00}{CET}%
+ \DTMdefzonemap{02}{00}{CEST}%
+}
+
+\DTMifcaseregional
+{}% do nothing
+{\DTMsetstyle{spanish}}
+{\DTMsetstyle{spanish-numeric}}
+\ifcsundef{date\CurrentTrackedDialect}
+{%
+ \ifundef\datespanish
+ {% do nothing
+ }%
+ {%
+ \def\datespanish{%
+ \DTMifcaseregional
+ {}% do nothing
+ {\DTMsetstyle{spanish}}%
+ {\DTMsetstyle{spanish-numeric}}%
+ }%
+ }%
+}%
+{%
+ \csdef{date\CurrentTrackedDialect}{%
+ \DTMifcaseregional
+ {}% do nothing
+ {\DTMsetstyle{spanish}}%
+ {\DTMsetstyle{spanish-numeric}}
+ }%
+}%
+\endinput
+%%
+%% End of file `datetime2-spanish.ldf'.