diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/spanish/tex/spanish.ldf')
-rw-r--r-- | Master/texmf-dist/doc/latex/spanish/tex/spanish.ldf | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/Master/texmf-dist/doc/latex/spanish/tex/spanish.ldf b/Master/texmf-dist/doc/latex/spanish/tex/spanish.ldf index cfee0c6ccd0..e4eb4cb654c 100644 --- a/Master/texmf-dist/doc/latex/spanish/tex/spanish.ldf +++ b/Master/texmf-dist/doc/latex/spanish/tex/spanish.ldf @@ -41,7 +41,7 @@ %% Copyright (C) 1989 - 2008 %% by Johannes Braams, TeXniek %% Spanish Language Definition File -%% Copyright (C) 1997 - 2009 +%% Copyright (C) 1997 - 2010 %% Javier Bezos (www.tex-tipografia.com) %% and %% CervanTeX (www.cervantex.es) @@ -52,14 +52,16 @@ \ProvidesLanguage{spanish.ldf} - [2009/05/11 v5.0i Spanish support from the babel system] + [2010/05/23 v5.0j Spanish support from the babel system] \LdfInit{spanish}\captionsspanish \edef\es@savedcatcodes{% \catcode`\noexpand\~=\the\catcode`\~ - \catcode`\noexpand\"=\the\catcode`\"} + \catcode`\noexpand\"=\the\catcode`\" + \catcode`\noexpand\:=\the\catcode`\:} \catcode`\~=\active \catcode`\"=12 +\catcode`\:=12 \ifx\undefined\l@spanish \@nopatterns{Spanish} @@ -67,6 +69,7 @@ \fi \def\es@sdef#1{\babel@save#1\def#1} +\def\es@sDRC#1{\babel@save#1\DeclareRobustCommand*#1} \@ifundefined{documentclass} {\let\ifes@latex\iffalse} @@ -208,7 +211,7 @@ \fi \csname es@restorelist\endcsname} -\addto\textspanish{\es@sdef\sptext{\protect\es@sptext}} +\addto\textspanish{\es@sDRC\sptext{\es@sptext}} \def\es@orddot{.} \ifes@latex @@ -244,7 +247,7 @@ \fi}} \fi \ifes@latex - \addto\textspanish{\es@sdef\lsc{\protect\es@lsc}} + \addto\textspanish{\es@sDRC\lsc{\es@lsc}} \def\es@lsc{\es@xlsc\MakeUppercase\MakeLowercase} \def\es@xlsc#1#2#3{% \leavevmode @@ -300,14 +303,14 @@ \addto\notextspanish{\bbl@nonfrenchspacing} \addto\textspanish{% \let\es@save@dot\.% - \es@sdef\.{\@ifnextchar.{\es@dots}{\es@save@dot}}} + \es@sDRC\.{\@ifnextchar.{\es@dots}{\es@save@dot}}} \def\es@dots..{\leavevmode\hbox{...}\spacefactor\@M} \def\es@sppercent{\unskip\textormath{$\m@th\,$}{\,}} \def\spanishplainpercent{\let\es@sppercent\@empty} \addto\textspanish{% \let\percentsign\%% - \es@sdef\%{\es@sppercent\percentsign{}}} -\addto\mathspanish{\es@sdef\dotlessi{\protect\es@dotlessi}} + \es@sDRC\%{\es@sppercent\percentsign{}}} +\addto\mathspanish{\es@sDRC\dotlessi{\es@dotlessi}} \let\nomathspanish\relax \ifes@latex @@ -407,14 +410,14 @@ \fi} \def\es@use@shorthand{% - \ifx\thepage\relax + \if@safe@actives \bbl@afterelse \string \else \bbl@afterfi - {\ifx\protect\@unexpandable@protect + {\ifx\thepage\relax \bbl@afterelse - \noexpand + \string \else \bbl@afterfi \es@use@sh @@ -422,9 +425,9 @@ \fi} \def\es@use@sh#1{% - \if@safe@actives + \ifx\protect\@unexpandable@protect \bbl@afterelse - \string#1% + \noexpand#1% \else% \bbl@afterfi \textormath |