summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/babel/spanish.ldf
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/babel/spanish.ldf')
-rw-r--r--Master/texmf-dist/tex/generic/babel/spanish.ldf17
1 files changed, 10 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/generic/babel/spanish.ldf b/Master/texmf-dist/tex/generic/babel/spanish.ldf
index 080255a3f46..cc3e5d6e546 100644
--- a/Master/texmf-dist/tex/generic/babel/spanish.ldf
+++ b/Master/texmf-dist/tex/generic/babel/spanish.ldf
@@ -38,7 +38,7 @@
%% extension .ins) which are part of the distribution.
%% File `spanish.dtx'
%% Babel package for LaTeX version 2e
-%% Copyright (C) 1989 - 2008
+%% Copyright (C) 1989 - 2004
%% by Johannes Braams, TeXniek
%% Spanish Language Definition File
%% Copyright (C) 1997 - 2008
@@ -52,7 +52,7 @@
\ProvidesLanguage{spanish.ldf}
- [2007/02/21 v5.0a Spanish support from the babel system]
+ [2008/05/25 v5.0d Spanish support from the babel system]
\LdfInit{spanish}\captionsspanish
\edef\es@savedcatcodes{%
@@ -377,16 +377,18 @@
\def\acute{\noexpand\es@op@ac}%
\edef\es@a{\endgroup
\noexpand\es@sdef\expandafter\noexpand\es@b{%
- \mathop{\noexpand\operator@font##1}\nolimits}}%
+ \mathop{\noexpand\operator@font##1}\es@c}}%
\es@a % restores itself
\es@a
\fi}%
\fi}%
\let\es@b\spanishoperators
\addto\es@b{ }%
+ \let\es@c\@empty
\expandafter\es@a\es@b l\acute{i}m l\acute{i}m\,sup
- l\acute{i}m\,inf m\acute{a}x \acute{i}nf m\acute{i}n
- sen tg arc\,sen arc\,cos arc\,tg & }
+ l\acute{i}m\,inf m\acute{a}x \acute{i}nf m\acute{i}n & %
+ \def\es@c{\nolimits}%
+ \expandafter\es@a\es@b sen tg arc\,sen arc\,cos arc\,tg & }
\def\spanishoperators{cotg cosec senh tgh }
\DeclareTextCompositeCommand{\'}{OT1}{i}{\@tabacckludge'{\i}}
@@ -735,8 +737,9 @@
\def\@roman{\@Roman}}}
{\def\es@romandef{%
\def\esromanindex##1##2{##1{\protect\es@roman{##2}}}%
- \def\@roman##1{\protect\es@roman{\romannumeral##1}}%
- \def\es@roman{\es@xlsc\uppercase\@firstofone}}}
+ \def\@roman##1{\es@roman{\number##1}}%
+ \def\es@roman##1{\es@scroman{\romannumeral##1}}%
+ \DeclareRobustCommand\es@scroman{\es@xlsc\uppercase\@firstofone}}}
\es@optlayout{lcroman}{\es@romandef}
\newcommand\spanishlcroman{\def\@roman##1{\romannumeral##1}}
\newcommand\spanishucroman{\def\@roman{\@Roman}}