diff options
author | Karl Berry <karl@freefriends.org> | 2014-01-30 22:58:02 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-01-30 22:58:02 +0000 |
commit | b7426af2394557101ccd2f4e36832854844d45bc (patch) | |
tree | 666f001c97d25f245afc4bb279d267ca996606be /Master/texmf-dist/tex | |
parent | f9b6fc357ce2d792bde2938759b2c77efd98c6d1 (diff) |
babel-spanish (30jan14)
git-svn-id: svn://tug.org/texlive/trunk@32825 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/generic/babel-spanish/romanidx.sty | 9 | ||||
-rw-r--r-- | Master/texmf-dist/tex/generic/babel-spanish/spanish.ldf | 47 |
2 files changed, 31 insertions, 25 deletions
diff --git a/Master/texmf-dist/tex/generic/babel-spanish/romanidx.sty b/Master/texmf-dist/tex/generic/babel-spanish/romanidx.sty index fc97b3731d3..cbb51c28eb5 100644 --- a/Master/texmf-dist/tex/generic/babel-spanish/romanidx.sty +++ b/Master/texmf-dist/tex/generic/babel-spanish/romanidx.sty @@ -7,7 +7,7 @@ %% spanish.dtx (with options: `indexes') %% This is a generated file. %% -%% Copyright 1989-2011 Johannes L. Braams and any individual authors +%% Copyright 1989-2008 Johannes L. Braams and any individual authors %% listed elsewhere in this file. All rights reserved. %% %% This file was generated from file(s) of the Babel system. @@ -37,18 +37,13 @@ %% and covered by LPPL is defined by the unpacking scripts (with %% extension .ins) which are part of the distribution. %% File `spanish.dtx' -%% Babel package for LaTeX version 2e -%% Copyright (C) 1989 - 2008 -%% by Johannes Braams, TeXniek %% Spanish Language Definition File -%% Copyright (C) 1997 - 2010 +%% Copyright (C) 1997 - 2014 %% Javier Bezos (www.tex-tipografia.com) %% and %% CervanTeX (www.cervantex.es) %% Please report errors to: Javier Bezos (preferably) %% www.tex-tipografia.com -%% J.L. Braams -%% www.latex-project.org \makeatletter diff --git a/Master/texmf-dist/tex/generic/babel-spanish/spanish.ldf b/Master/texmf-dist/tex/generic/babel-spanish/spanish.ldf index 083235567c1..ddf31bd09f0 100644 --- a/Master/texmf-dist/tex/generic/babel-spanish/spanish.ldf +++ b/Master/texmf-dist/tex/generic/babel-spanish/spanish.ldf @@ -7,7 +7,7 @@ %% spanish.dtx (with options: `code') %% This is a generated file. %% -%% Copyright 1989-2011 Johannes L. Braams and any individual authors +%% Copyright 1989-2008 Johannes L. Braams and any individual authors %% listed elsewhere in this file. All rights reserved. %% %% This file was generated from file(s) of the Babel system. @@ -37,22 +37,17 @@ %% and covered by LPPL is defined by the unpacking scripts (with %% extension .ins) which are part of the distribution. %% File `spanish.dtx' -%% Babel package for LaTeX version 2e -%% Copyright (C) 1989 - 2008 -%% by Johannes Braams, TeXniek %% Spanish Language Definition File -%% Copyright (C) 1997 - 2010 +%% Copyright (C) 1997 - 2014 %% Javier Bezos (www.tex-tipografia.com) %% and %% CervanTeX (www.cervantex.es) %% Please report errors to: Javier Bezos (preferably) %% www.tex-tipografia.com -%% J.L. Braams -%% www.latex-project.org \ProvidesLanguage{spanish.ldf} - [2010/05/23 v5.0j Spanish support from the babel system] + [2014/01/29 v5.0m Spanish support from the babel system] \LdfInit{spanish}\captionsspanish \edef\es@savedcatcodes{% @@ -110,8 +105,11 @@ \def\rquotiii{\guillemotright{}}} \def\es@ifoption#1#2#3{% - \DeclareOption{es-#1}{}% - \@ifpackagewith{babel}{es-#1}{#2}{#3}}% + \@ifundefined{BabelModifiers}% + {\DeclareOption{es-#1}{}% + \@ifpackagewith{babel}{es-#1}{#2}{#3}} + {\@expandtwoargs\in@{,#1,}{,\BabelModifiers,}% + \ifin@#2\else#3\fi}} \def\es@optlayout#1#2{\es@ifoption{#1}{}{\addto\layoutspanish{#2}}} @@ -218,7 +216,9 @@ \def\es@sptext#1{% {\es@orddot \setbox\z@\hbox{8}\dimen@\ht\z@ + \globaldefs\m@ne \csname S@\f@size\endcsname + \globaldefs\z@ \edef\@tempa{\def\noexpand\@tempc{#1}% \lowercase{\def\noexpand\@tempb{#1}}}\@tempa \ifx\@tempb\@tempc @@ -447,7 +447,8 @@ \def\es@spdeactivate#1{% \if.#1% - \mathcode`\.=\es@period@code + \mathcode`\.=\es@period@math\relax + \begingroup\lccode`\~=`\.\lowercase{\endgroup\let~\es@period@code}% \else \begingroup \lccode`\~=`#1 @@ -481,13 +482,13 @@ \def\es@accent#1#2#3{% \expandafter\@text@composite \csname OT1\string#1\endcsname#3\@empty\@text@composite - {\bbl@allowhyphens\add@accent{#2}{#3}\bbl@allowhyphens + {\ifhmode\bbl@allowhyphens\fi\add@accent{#2}{#3}\bbl@allowhyphens \setbox\@tempboxa\hbox{#3% \global\mathchardef\accent@spacefactor\spacefactor}% \spacefactor\accent@spacefactor}} \else \def\es@accent#1#2#3{% - \bbl@allowhyphens\add@accent{#2}{#3}\bbl@allowhyphens + \ifhmode\bbl@allowhyphens\fi\add@accent{#2}{#3}\bbl@allowhyphens \spacefactor\sfcode`#3 } \fi @@ -572,17 +573,27 @@ \decimalcomma \es@ifoption{nodecimaldot}{} {\AtBeginDocument{\bgroup\@fileswfalse}% - \es@set@shorthand{.}% + \begingroup\lccode`\~=`\.\lowercase{\endgroup + \let\es@period@code~% + \es@set@shorthand{.}% + \let~\es@period@code}% \AtBeginDocument{\egroup}% \@namedef{normal@char\string.}{% \@ifnextchar\egroup - {\mathchar\es@period@code\relax}% + {\es@period@code}% {\csname active@char\string.\endcsname}}% - \declare@shorthand{system}{.}{\mathchar\es@period@code\relax}% + \declare@shorthand{system}{.}{\es@period@code}% \addto\shorthandsspanish{% - \mathchardef\es@period@code\the\mathcode`\.% \babel@savevariable{\mathcode`\.}% - \mathcode`\.="8000 % + \edef\es@period@math{\the\mathcode`\.}% + \babel@save\es@period@code + \ifnum\es@period@math="8000 + \begingroup\lccode`\~=`\.\lowercase{\endgroup\let\es@period@code~}% + \else + \mathchardef\es@period@code\es@period@math\relax + \mathcode`\.="8000 % + \fi + \begingroup\lccode`\~=`\.\lowercase{\endgroup\babel@save~}% \es@activate{.}}% \def\es@a#1{\es@declare{.#1}{\es@decimal#1}}% \es@a1\es@a2\es@a3\es@a4\es@a5\es@a6\es@a7\es@a8\es@a9\es@a0} |