summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex/lbx/spanish.lbx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex/lbx/spanish.lbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex/lbx/spanish.lbx45
1 files changed, 27 insertions, 18 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex/lbx/spanish.lbx b/Master/texmf-dist/tex/latex/biblatex/lbx/spanish.lbx
index 600160692a5..8bfd3b828f2 100644
--- a/Master/texmf-dist/tex/latex/biblatex/lbx/spanish.lbx
+++ b/Master/texmf-dist/tex/latex/biblatex/lbx/spanish.lbx
@@ -426,7 +426,7 @@
\begingroup
\def\forceY##1{\relax}%
\def\forceE##1{i\relax}%
- \def\do##1{\let##1\@empty}%
+ \def\do##1{\let##1\@firstofone}%
\abx@dosingleaccents
\abx@dodoubleaccents
\def\'{'}\def\i{i}\def\j{j}%
@@ -444,7 +444,7 @@
\let~\@empty
\fi
\let\protect\noexpand
- \lowercase{\edef\lbx@tempa{#1}}%
+ \edef\lbx@tempa{#1}%
\expandafter\futurelet
\expandafter\lbx@tempa
\expandafter\lbx@es@smartand@ii
@@ -455,17 +455,23 @@
\def\lbx@tempa##1{\futurelet\lbx@tempa\lbx@es@smartand@ii##1}%
\else\ifcat\noexpand~\noexpand\lbx@tempa
\def\lbx@tempa##1{\futurelet\lbx@tempa\lbx@es@smartand@ii}%
- \else\if h\noexpand\lbx@tempa
+ \else\ifnum 0%
+ \if h\noexpand\lbx@tempa 1\fi
+ \if H\noexpand\lbx@tempa 1\fi
+ >0 %
\def\lbx@tempa##1{\futurelet\lbx@tempa\lbx@es@smartand@ii}%
- \else\if i\noexpand\lbx@tempa
- \def\lbx@tempa##1{\futurelet\lbx@tempa\lbx@es@smartand@iii}%
- \else\if y\noexpand\lbx@tempa
+ \else\ifnum 0%
+ \if i\noexpand\lbx@tempa 1\fi
+ \if y\noexpand\lbx@tempa 1\fi
+ \if I\noexpand\lbx@tempa 1\fi
+ \if Y\noexpand\lbx@tempa 1\fi
+ >0 %
\def\lbx@tempa##1{\futurelet\lbx@tempa\lbx@es@smartand@iii}%
\else\if '\noexpand\lbx@tempa
\def\lbx@tempa##1{\futurelet\lbx@tempa\lbx@es@smartand@iv}%
\else
- \let\lbx@tempa\lbx@es@smartand@y
- \fi\fi\fi\fi\fi\fi
+ \let\lbx@tempa\lbx@es@smartand@y
+ \fi\fi\fi\fi\fi
\lbx@tempa}
\gdef\lbx@es@smartand@iii{%
@@ -475,19 +481,22 @@
\let\lbx@tempa\lbx@es@smartand@e
\else\if '\noexpand\lbx@tempa
\def\lbx@tempa##1{\futurelet\lbx@tempa\lbx@es@smartand@iii}%
- \else\if a\noexpand\lbx@tempa
- \let\lbx@tempa\lbx@es@smartand@y
- \else\if e\noexpand\lbx@tempa
- \let\lbx@tempa\lbx@es@smartand@y
- \else\if i\noexpand\lbx@tempa
- \let\lbx@tempa\lbx@es@smartand@y
- \else\if o\noexpand\lbx@tempa
- \let\lbx@tempa\lbx@es@smartand@y
- \else\if u\noexpand\lbx@tempa
+ \else\ifnum 0%
+ \if a\noexpand\lbx@tempa 1\fi
+ \if e\noexpand\lbx@tempa 1\fi
+ \if i\noexpand\lbx@tempa 1\fi
+ \if o\noexpand\lbx@tempa 1\fi
+ \if u\noexpand\lbx@tempa 1\fi
+ \if A\noexpand\lbx@tempa 1\fi
+ \if E\noexpand\lbx@tempa 1\fi
+ \if I\noexpand\lbx@tempa 1\fi
+ \if O\noexpand\lbx@tempa 1\fi
+ \if U\noexpand\lbx@tempa 1\fi
+ >0 %
\let\lbx@tempa\lbx@es@smartand@y
\else
\let\lbx@tempa\lbx@es@smartand@e
- \fi\fi\fi\fi\fi\fi\fi\fi
+ \fi\fi\fi\fi
\lbx@tempa}
\gdef\lbx@es@smartand@iv{%