summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-05-25 00:37:23 +0000
committerKarl Berry <karl@freefriends.org>2010-05-25 00:37:23 +0000
commit5d1eda4176b6db97592247706560b00a5af4ae80 (patch)
treee46816348a6f74d8c0b73b363d72f9abbb635a14 /Master
parentca39ed065f3a457ba5383ae7a3910ecca532ca15 (diff)
spanish update (24may10)
git-svn-id: svn://tug.org/texlive/trunk@18461 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/spanish/README25
-rw-r--r--Master/texmf-dist/doc/latex/spanish/doc/spanish.pdfbin188692 -> 2768 bytes
-rw-r--r--Master/texmf-dist/doc/latex/spanish/doc/spanish2.html295
-rw-r--r--Master/texmf-dist/doc/latex/spanish/source/spanish.dtx233
-rw-r--r--Master/texmf-dist/doc/latex/spanish/source/spanish.ins304
-rw-r--r--Master/texmf-dist/doc/latex/spanish/tex/romanidx.sty2
-rw-r--r--Master/texmf-dist/doc/latex/spanish/tex/spanish.ldf29
7 files changed, 594 insertions, 294 deletions
diff --git a/Master/texmf-dist/doc/latex/spanish/README b/Master/texmf-dist/doc/latex/spanish/README
index 6407fc42a2f..9b092ddc1da 100644
--- a/Master/texmf-dist/doc/latex/spanish/README
+++ b/Master/texmf-dist/doc/latex/spanish/README
@@ -3,8 +3,9 @@ Spanish for babel
Este directorio es un lugar permanente para la última versión
oficial del estilo babel para la lengua castellana. Hay que
-advertir que los archivos incluídos en la distribución de babel,
-pueden estar desfasados, y a menudo lo están.
+advertir que los archivos incluidos en la distribución de babel,
+pueden estar desfasados, y a menudo lo están (a veces incluso
+casi año y medio).
El directorio contrib, como su nombre sugiere, no es parte del
lote oficial.
@@ -13,7 +14,8 @@ lote oficial.
This directory is a permanent place for the latest official release
of the babel style for the Spanish language. Note the files bundled
-with the babel distribution could be, and very often are, outdated.
+with the babel distribution could be, and very often are, outdated
+(sometimes even almost a year and a half).
The contrib directory, as its name implies, is not part of the
official bundle.
@@ -31,18 +33,23 @@ with \roman and hyperref
5.0e. 2008-07-06 (in babel: 2008-07-06)
Fixed '', which gobbled the space following.
-As of 2009-05-11 this is still the version bundled with babel.
[5.0f. Internal.]
5.0g. 2008-07-19 (in babel: never)
-Fixed '', which killed the preceding kerning
+Fixed '' again, which killed the preceding kerning
-5.0h. 2009-01-02 (in babel: never)
+5.0h. 2009-01-02 (in babel: 2009-09-24)
Added two package options: es-noenumerate, es-noitemize.
+As of 2010-05-22 this obsolete version is still the one bundled with babel.
-5.0i. 2009-05-11 (in babel: pending)
-Fixed bug with romanidx
+5.0i. 2009-05-11 (in babel: never)
+Fixed bug with romanidx.
+
+5.0j. 2010-05-23 (in babel: pending)
+Fixed a babel bug for spanish to work with french.
+Fixed a bug with ifthen.
+Fixed a bug with \... and \.
----------
-2009-05-11
+2010-05-23
diff --git a/Master/texmf-dist/doc/latex/spanish/doc/spanish.pdf b/Master/texmf-dist/doc/latex/spanish/doc/spanish.pdf
index da80325e6ac..31b2d4b6c9b 100644
--- a/Master/texmf-dist/doc/latex/spanish/doc/spanish.pdf
+++ b/Master/texmf-dist/doc/latex/spanish/doc/spanish.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/spanish/doc/spanish2.html b/Master/texmf-dist/doc/latex/spanish/doc/spanish2.html
new file mode 100644
index 00000000000..7a2c1ad765e
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/spanish/doc/spanish2.html
@@ -0,0 +1,295 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="es" xml:lang="es">
+<head>
+<title>Decisiones en spanish para babel | TeX y tipograf&iacute;a</title>
+<meta name="description" lang="es"
+content="Decisiones en spanish para babel: punto y coma decimal, traducci&oacute;nes para cuadro (table) e &iacute;ndices, n&uacute;meros romanos en versalitas..." />
+<meta name="keywords" lang="es"
+content="TeX,LaTeX,tipograf&iacute;a,ortotipografia,maquetacion,composicion,ortografia" />
+<meta name="keywords" lang="en"
+content="TeX,LaTeX,typography,typesetting,orthography,style" />
+<link href="http://www.tex-tipografia.com/texytipo.css" rel="stylesheet" type="text/css" />
+</head>
+
+<body>
+
+<div class="page">
+<div class="head">
+ <a href="http://www.tex-tipografia.com/">
+ TeX y tipografía
+ </a>
+</div>
+<div class="article">
+<div class="body">
+
+<h1>Decisiones en spanish para babel</h1>
+
+<p>
+<small>Revisado: 2010-05-23</small>
+</p>
+
+<p>
+Algunas de las decisiones tomadas en el estilo para espa&ntilde;ol causan
+cierta sorpresa y a menudo se pregunta por qu&eacute; spanish ha decidido
+alterar el comportamiento de lo que se considera el estilo est&aacute;ndar
+de LaT<small>E</small>X. La raz&oacute;n en todas es simple: se trata de adaptar
+LaT<small>E</small>X a las convenciones ortotipogr&aacute;ficas hispanas, lo que
+conlleva eliminar aquellos aspectos que m&aacute;s claramente evidencian
+la influencia de las normas angloamericanas en las que basan los
+estilos est&aacute;ndar y otros muchos. Igual que cada lengua tiene su
+ortograf&iacute;a, tambi&eacute;n tiene su ortotipograf&iacute;a.
+</p>
+
+<p>
+Algunos puntos estil&iacute;sticos dependen, en realidad, del dise&ntilde;o del
+libro, pero es claro que el punto de partida (los ajustes
+predeterminados sobre los que crear ese dise&ntilde;o) ha de ser un estilo
+conforme a las reglas m&aacute;s habituales y tradicionales en espa&ntilde;ol. El
+estilo spanish ofrece muchas posibilidades de reconfiguraci&oacute;n (puede
+que sea una de las lenguas de babel m&aacute;s abiertas en este aspecto), por
+lo que los ajustes necesarios para un cierto estilo pueden llevarse a
+cabo con relativa facilidad, como se explica en el manual y en:
+</p>
+
+<ul>
+<li><a href="http://www.tex-tipografia.com/spanishopt.html">Opciones de paquete de spanish</a>.</li>
+</ul>
+
+<h2>Traducci&oacute;n de <i>table</i> como <i>cuadro</i></h2>
+<p>
+A pesar de su similitud, el ingl&eacute;s <i>table</i> no es el espa&ntilde;ol <i>tabla</i> (se
+trata de <i>falsos amigos</i>, es decir, palabras similares en dos lenguas
+pero con significados distintos). Las definiciones de Academia de
+estas palabras son:
+</p>
+
+<p>
+<i>Cuadro:</i>
+Conjunto de nombres cifras u otros datos presentados gr&aacute;ficamente
+de forma que se advierta la relaci&oacute;n existente entre ellos.
+</p>
+
+<p>
+<i>Tabla:</i>
+Cuadro o cat&aacute;logo de n&uacute;meros de especie determinada,
+dispuestos en forma adecuada para facilitar los c&aacute;lculos.
+</p>
+
+<p>
+Tradicionalmente, y a&uacute;n sigue siendo una costumbre mayoritaria, el
+nombre empleado en espa&ntilde;ol para las partes de un libro o un texto que
+muestran datos de forma gr&aacute;fica es <i>cuadro</i>, como queda reflejado en
+las obras de tipograf&iacute;a de Morato, Mart&iacute;nez Sicluna o Mart&iacute;nez de
+Sousa. Como se puede ver de la definici&oacute;n, una tabla es un tipo de
+cuadro. En cierto modo, se puede decir que cuadro es a tabla lo que en
+LaT<small>E</small>X table es a tabular, por lo que un libro puede contener un
+cuadro que sea, digamos, la tabla de multiplicar. O dicho en otras
+palabras: <i>cuadro</i> va a la funci&oacute;n y <i>tabla</i> a una cierta disposici&oacute;n.
+</p>
+
+<p>
+La creencia de que <i>cuadro</i> no es m&aacute;s que una forma marginal
+y desusada se da sobre todo en matem&aacute;ticas, f&iacute;sica e inform&aacute;tica por
+una raz&oacute;n doble: muchos cuadros son tablas y la influencia del ingl&eacute;s
+es muy notable. En ciencias sociales o de la vida y en obras de
+referencia la forma predominante sigue siendo la tradicional en
+espa&ntilde;ol, es decir, <i>cuadro</i>. A pocas personas de historia se les
+ocurrir&iacute;a, por ejemplo, hablar de una tabla con la dinast&iacute;a de los
+Austrias. Aunque Google no demuestra nada, puede ser ilustrativo:
+a 2007-03-17 y en p&aacute;ginas en espa&ntilde;ol, "cuadro 20" da 91.100
+resultados y "tabla 20" da 66.500.
+</p>
+
+<h2>N&uacute;meros romanos en versalitas</h2>
+<p>
+Aunque si retrocedemos varios siglos podemos encontrar n&uacute;meros romanos
+en min&uacute;sculas en textos espa&ntilde;oles, en los siglos XVIII y XIX, cuando
+se fij&oacute; buena parte de la actual ortotipograf&iacute;a, los n&uacute;meros romanos
+en min&uacute;sculas desaparecieron para dar paso a los n&uacute;meros en
+versalitas, es decir, letras con la forma de las may&uacute;sculas y de
+tama&ntilde;o similar a las min&uacute;sculas.
+El <i>Diccionario panhisp&aacute;nico de dudas</i> de las academias
+de la lengua (2005), sanciona las versalitas
+en los n&uacute;meros romanos y censura las min&uacute;sculas: &#171;Aunque en texto
+antiguos se usaban a veces las letras min&uacute;sculas paras representar lo
+n&uacute;meros romanos, hoy deben utilizarse letras con forma may&uacute;scula.
+Cuando se refieran a sustantivos escritos en min&uacute;scula, se recomienda
+escribirlos en versalitas&#187; (<i>n&uacute;meros</i>, 3.1<i>a</i>). La min&uacute;scula en este
+caso es tan falta de ortograf&iacute;a como, por ejemplo, tras punto.
+</p>
+
+<p>
+Por influencia del ingl&eacute;s, se ven ahora n&uacute;meros romanos en min&uacute;scula,
+y, las cosas como son, buena parte de la culpa de este anglicismo la
+tiene LaT<small>E</small>X. En libros de matem&aacute;ticas anteriores a los a&ntilde;os sesenta y
+setenta es dif&iacute;cil encontrar esta pr&aacute;ctica, pero los matem&aacute;ticos,
+en textos m&aacute;s recientes, lo usan porque as&iacute; viene en LaT<small>E</small>X, siguiendo
+los convenios el ingl&eacute;s americano.
+</p>
+
+<h2>Marca decimal</h2>
+<p>
+Tal vez una de las funciones de la versi&oacute;n 4 que m&aacute;s apoyo recibi&oacute;
+y que al tiempo es una de las m&aacute;s controvertidas. Al cargar spanish,
+el punto en una f&oacute;rmula se interpreta como un marcador decimal
+gen&eacute;rico, de manera que puede adoptar la forma de punto o de coma
+sin apenas cambios en el documento.
+</p>
+
+<p>
+El objetivo de esta marca decimal gen&eacute;rica es doble:
+</p>
+
+<p>
+1. Aunque las normas internacionales de la ISO establecen el uso de
+la coma para los decimales (la ISO 31, para ser exactos; el SI decidi&oacute;
+en el 2003 no tomar partido y dejar este detalle a otras normas), en
+la pr&aacute;ctica el punto se emplea mucho en algunos pa&iacute;ses de
+Hispanoam&eacute;rica, incluso si legalmente es obligatorio el uso de la coma
+(principalmente M&eacute;xico y Centroam&eacute;rica).
+</p>
+
+<p>
+2. La coma tiene una funci&oacute;n asignada en matem&aacute;ticas como separador
+en enumeraciones, mientras que el punto no tiene usos reales en
+espa&ntilde;ol (recordemos que los miles deben separarse con espacios finos).
+Como la coma en su funci&oacute;n principal no sirve para el decimal, ya que
+a&ntilde;ade un espacio detr&aacute;s, se puede hacer que el punto sea una marca
+decimal gen&eacute;rica y que se comporte correctamente como tal, sea cual
+sea el signo elegido.
+</p>
+
+<p>
+No ser&iacute;a el primer caso que LaT<small>E</small>X d&eacute; un comportamiento como el que
+da spanish al punto: por ejemplo, el ap&oacute;strofo en matem&aacute;ticas no da
+ese car&aacute;cter, sino que se convierte en una prima.
+</p>
+
+<p>
+El hecho de que la marca decimal sea &uacute;nica y que funcione como
+marcado l&oacute;gico y no visual, ayuda al intercambio de documentos
+de un pa&iacute;s a otro cuando tengan diferentes pr&aacute;cticas al respecto.
+</p>
+
+<h2>Apartados</h2>
+<p>
+La primera versi&oacute;n del actual spanish (por entonces llamado spanishb),
+establec&iacute;a itemize con rayas, que es lo m&aacute;s habitual. Sin embargo,
+dado que se objet&oacute; que la raya puede confundirse con el menos, se
+cambi&oacute; a otro esquema basado en topos que evitaba la semirraya (signo
+ajeno al espa&ntilde;ol) y el punto centrado. El esquema actual es en buena
+medida arbitrario, como tambi&eacute;n lo es el original de LaT<small>E</small>X, pero al
+menos se evitan las idiosincrasias originales, extra&ntilde;as incluso en
+ingl&eacute;s. Un &uacute;ltimo paso se dio con un esquema alternativo, ya que el
+cuadradito del primer nivel no ha sido del agrado de algunos usuarios
+del estilo.
+</p>
+
+<h2>Traducciones de los &iacute;ndices</h2>
+<p>
+Por desgracia, no existe un referencia m&iacute;nimamente oficial que
+facilite una terminolog&iacute;a unificada. Por ejemplo, <i>&iacute;ndice de materias</i> lo
+usan algunos para el sumario de cap&iacute;tulos, mientras que
+otros lo aplican al &iacute;ndice alfab&eacute;tico final; por ello la he
+descartado. El DRAE dice que <i>tabla</i> es el &#171;&iacute;ndice de materias en los
+libros&#187; aunque modernamente no ha tenido uso alguno
+(s&oacute;lo antiguamente) ni tampoco aclara m&aacute;s. Tambi&eacute;n es arcaico
+<i>tabla de contenido</i>, aunque la f&oacute;rmula m&aacute;s escueta de <i>contenido</i> me parece
+mejor. En todo caso, no debe ser nunca <i>de contenidos</i> (en plural),
+que es un crudo anglicismo. Tal vez <i>&iacute;ndice general</i> es lo que m&aacute;s se
+usa, as&iacute; que a &eacute;l me atengo salvo en article, donde se compone como
+secci&oacute;n y por tanto resulta algo ostentoso. (Al contrario que en
+ingl&eacute;s, en castellano el &iacute;ndice por antonomasia es el general.) Otras
+posibilidades ser&iacute;an <i>&iacute;ndice tem&aacute;tico</i> o <i>&iacute;ndice sumario</i>.
+</p>
+
+<p>
+Para el &iacute;ndice alfab&eacute;tico hay quien ha empleado <i>&iacute;ndice de materias</i>
+aunque parece que <i>&iacute;ndice anal&iacute;tico</i> tiene m&aacute;s seguidores. Pero
+estrictamente hablando, ninguno de los dos es apropiado, ya que estos
+&iacute;ndices no solamente suelen incluir materias, sino tambi&eacute;n nombres.
+Con un paquete para diferenciar varios tipos de &iacute;ndices podemos
+indicar si es de materias (<i>anal&iacute;tico</i>) o de nombres (<i>onom&aacute;stico</i>).
+Creo que <i>&iacute;ndice alfab&eacute;tico</i> es ajustado y preciso y me parece lo
+mejor.
+</p>
+
+<p>
+Obs&eacute;rvese igualmente el <a href="http://www.tex-tipografia.com/uso_minusculas_mayusculas.html">uso
+de las min&uacute;sculas</a> de modo predeterminado, que se corresponde con
+la pr&aacute;ctica tradicional.
+</p>
+
+</div>
+<div class="extra">
+<p class="small"><b><span style="color:#cc6600">Sobre el autor</span></b><br />
+Soy b&aacute;sicamente un tip&oacute;grafo t&eacute;cnico y ortotip&oacute;grafo al que le
+apasiona la programaci&oacute;n de computadoras y que procede del campo de
+las ciencias. He participado como autor en dos manuales de estilo
+(una radio y una empresa el&eacute;ctrica), he escrito art&iacute;culos para varias
+revistas de estilo y espa&ntilde;ol (<i>Panacea, Donde dice..., Espa&ntilde;ol Actual</i>)
+y mis escritos aparecen citados en, por ejemplo, el manual de
+estilo de Canal Sur y en el reciente
+<i>Diccionario de uso de las may&uacute;sculas y las min&uacute;sculas</i> de Jos&eacute;
+Mart&iacute;nez de Sousa. En la
+actualidad trabajo en la <a href="http://www.fundeu.es">Fund&eacute;u BBVA</a>
+y colaboro con Real Academia Espa&ntilde;ola en la pr&oacute;xima edici&oacute;n de la
+Ortograf&iacute;a.
+</p>
+
+<p class="small"><b><span style="color:#cc6600">Sobre el estilo spanish</span></b><br />
+Para su desarrollo he tenido en cuenta las obras cl&aacute;sicas de
+tipograf&iacute;a (Morato, Mart&iacute;nez Sicluna, Ramos Mart&iacute;nez...) y he
+investigado en multitud de tratados cient&iacute;fico-t&eacute;cnicos y de otras
+materias para ver el uso real de las diferentes normas y t&eacute;rminos
+aplicados en la pr&aacute;ctica.
+</p>
+
+</div>
+<div class="toc">
+
+<p>
+<a class="toplink" href="http://www.tex-tipografia.com/index.html">Portada</a>&nbsp;•&nbsp;<br />
+
+<a class="toplink" href="http://www.tex-tipografia.com/tex.html">T<small>E</small>X / LaT<small>E</small>X / XML</a>&nbsp;•&nbsp;<br />
+
+<a class="toplink" href="http://www.tex-tipografia.com/packages.html">Packages (English)</a>&nbsp;•&nbsp;<br />
+
+<a class="sublink" href="http://www.tex-tipografia.com/titlesec.html" style="color:#666666">Titlesec</a>&nbsp;•&nbsp;<br />
+
+<a class="sublink" href="http://www.tex-tipografia.com/enumitem.html" style="color:#666666">Enumitem</a>&nbsp;•&nbsp;<br />
+
+<a class="sublink" href="http://www.tex-tipografia.com/spanish.html" style="color:#666666">Spanish</a>&nbsp;•&nbsp;<br />
+
+<a class="sublink" href="http://www.tex-tipografia.com/tensind.html" style="color:#666666">Tensind</a>&nbsp;•&nbsp;<br />
+
+<a class="sublink" href="http://www.tex-tipografia.com/accents.html" style="color:#666666">Accents</a>&nbsp;•&nbsp;<br />
+
+<a class="sublink" href="http://www.tex-tipografia.com/mlaleph.html" style="color:#666666">Mem</a>&nbsp;•&nbsp;<br />
+
+<a class="sublink" href="http://www.tex-tipografia.com/gloss.html" style="color:#666666">Gloss</a>&nbsp;•&nbsp;<br />
+
+<a class="sublink" href="http://www.tex-tipografia.com/esindex.html" style="color:#666666">Esindex</a>&nbsp;•&nbsp;<br />
+
+<a class="toplink" href="http://www.tex-tipografia.com/ortotipografia_estilo.html">Estilo y tipograf&iacute;a</a>&nbsp;•&nbsp;<br />
+
+<a class="toplink" href="http://www.tex-tipografia.com/contact.html">Contact / Contacto</a>&nbsp;•&nbsp;<br />
+
+<a class="toplink" href="http://www.tex-tipografia.com/notaciones_cientificas.html">Libro</a>&nbsp;•&nbsp;<br />
+
+<a class="toplink" href="http://www.tex-tipografia.com/other.html">&Aacute;rea personal</a>&nbsp;•&nbsp;<br />
+
+</p>
+
+<p class="credits">
+Made with T<small>E</small>X on<br />
+22/5/2010<br /><br />
+&#169; 2000-2010<br />Javier Bezos<br />All Rights Reserved</p>
+
+</div>
+</div>
+</div>
+</body>
+</html>
diff --git a/Master/texmf-dist/doc/latex/spanish/source/spanish.dtx b/Master/texmf-dist/doc/latex/spanish/source/spanish.dtx
index bfd39f5b466..6ccda904044 100644
--- a/Master/texmf-dist/doc/latex/spanish/source/spanish.dtx
+++ b/Master/texmf-dist/doc/latex/spanish/source/spanish.dtx
@@ -28,7 +28,7 @@
% \fi
%
% \ProvidesFile{spanish.dtx}
-% [2009/05/11 v5.0i Spanish support from the babel system]
+% [2010/05/23 v5.0j Spanish support from the babel system]
%\iffalse
%% File `spanish.dtx'
%% Babel package for LaTeX version 2e
@@ -36,7 +36,7 @@
%% 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)
@@ -50,19 +50,19 @@
% code for the Spanish language definition file.
% The original version of this file was written by Javier Bezos.
% The latest release is available on CTAN:/language/spanish/
+% \fi
%
+% \iffalse
%<*filedriver>
\let\ooverb\verb
\documentclass[spanish,a4paper]{ltxdoc}
\let\verb\ooverb
-\usepackage[activeacute]{babel}
+\usepackage{babel}
\usepackage{hyperref}
\let\meta\emph
-\usepackage{pslatex}
-\usepackage{mathptmx}
-\usepackage{color}
+\usepackage{pslatex,mathptmx,color}
\usepackage[cp1252]{inputenc}
\usepackage[T1]{fontenc}
\newcommand\act[1]{%
@@ -81,8 +81,6 @@
Se define siempre, sin depender de un grupo.}
\newcommand\opp{\qquad Opción de paquete}
-%\makeindex
-
\newcommand*\babel{\textsf{babel}}
\newcommand*\file[1]{\texttt{#1}}
@@ -99,7 +97,7 @@
\else
\def\@decl@date{\NEWfeature{#1}}%
\fi
- \noindent%\hspace{-\leftmargini}%
+ \noindent
\begin{tabular}{|l|}\hline\ignorespaces}%
{\\\hline\end{tabular}\nobreak\@decl@date\par\nobreak
\vspace{2.3ex}\vskip-\parskip}
@@ -141,7 +139,7 @@
% \title{Estilo \textsf{spanish}\\
% para el sistema \babel.\footnote{Este
% archivo está actualmente en la versión
-% 5.0i con fecha 11 de mayo del 2009. ^^A@#
+% 5.0j con fecha 23 de mayo del 2010. ^^A@#
% Esta copia del manual se compuso el~\today.}}
%
% \author{Javier Bezos\footnote{Por favor, envíen comentarios y
@@ -153,7 +151,7 @@
% \textit{Tipografía española con \TeX.} Para información sobre
% actualizaciones: http://www.cervantex.es/}}
%
-% \date{11 de mayo del 2009} ^^A@#
+% \date{23 de mayo del 2010} ^^A@#
%
% \maketitle
%
@@ -163,7 +161,7 @@
%
% \begin{itemize}
% \item[\textcolor{blue}{$\Rightarrow$}] Macros para
-% ser usadas en el texto.
+% ser usadas en el texto (generan texto o lo estructuran).
% \item[\textcolor{magenta}{$\star$}] Macros de
% configuración y preferencias.
% \item[\textcolor{green}{$\surd$}] Grupo que
@@ -176,13 +174,11 @@
%
% \section{Uso de \textsf{spanish} para babel}
%
-% El estilo de \textsf{spanish} para babel tiene con finalidad adaptar una
-% serie de elementos de los documentos de \LaTeX\ al castellano,
-% tanto en las traducciones como en la tipografía. Para
-% usarlo, basta con emplear la opción \textsf{spanish} al cargar babel:
-%\begin{verbatim}
-%\usepackage[spanish]{babel}
-%\end{verbatim}
+% El estilo \textsf{spanish} para babel adapta una serie de elementos
+% de los documentos de \LaTeX\ al castellano, tanto en las
+% traducciones como en la tipografía. Para usarlo, basta con dar
+% la opción \textsf{spanish} al cargar babel: \begin{verbatim}
+% \usepackage[spanish]{babel} \end{verbatim}
%
% Esto es todo lo que hace falta para conseguir que el documento tenga
% un aspecto español. En caso de estar en México, véase, además, el
@@ -199,7 +195,7 @@
% órdenes y entornos como:
%\begin{center}
%\begin{tabular}{lll}
-% |enumerate| & |\roman| & |\section| \\
+% |enumerate| & |\roman| & |\section|\\
% |itemize| & |\fnsymbol| & |\subsection|\\
% |\%| & |\alph| & |\subsubsection|\\
% & |\Alph| & \\
@@ -552,7 +548,7 @@
%
% Para poder usar apóstrofos como abreviaciones de acentos es
% necesaria esta opción en |\usepackage|. Puede cambiarse este
-% comportamiento con la orden |\es@acuteactive| en el archivo de
+% comportamiento con |\es@acuteactive| en el archivo de
% configuración |spanish.cfg|; en ese caso los apóstrofos se activan
% siempre.
%
@@ -585,7 +581,7 @@
% \con |es-noshorthands|\opp
% \end{decl}
%
-% No activa ninguna abreviación.
+% No activa ninguna abreviación.
%
% \subsection{Coma decimal}
%
@@ -623,15 +619,14 @@
% \con |es-nodecimaldot|\opp
% \end{decl}
%
-% Cancela por completo el mecanismo del punto decimal.
+% Cancela el mecanismo del punto decimal.
%
% \subsection{División de palabras}
%
-% \textsf{Spanish} comprueba la
-% codificación en el momento en que se usa un acento: si la
-% codificación es |OT1| se toman medidas para facilitar
-% la división, que pese a todo nunca será perfecta, mientras que con
-% |T1| se accede directamente al carácter correspondiente.
+% \textsf{Spanish} comprueba la codificación en el momento en que se
+% usa un acento: si es |OT1|, se toman medidas para facilitar la
+% división, que pese a todo nunca será perfecta, y si es |T1|,
+% se accede directamente al carácter correspondiente.
%
% \begin{decl}
% \txt |"- "= "~|\act{shorthands}
@@ -641,12 +636,12 @@
% Para matizar la división de palabras hay cuatro posibilidades, dos
% de ellas con el método de abreviaciones:
% \begin{itemize}
-% \item la orden |\-| es un guión opcional que no permite
+% \item |\-| es un guión opcional que no permite
% más divisiones,
%
% \item |"-| es similar pero permite más divisiones,
%
-% \item un |-| es un guión que no permite más divisiones ni
+% \item |-| es un guión que no permite más divisiones ni
% antes ni después, y
%
% \item |"=| es el equivalente que sí las permite,\footnote{No
@@ -669,8 +664,8 @@
% éste es un comportamiento correcto.}
% \end{quote}
%
-% La abreviación |"~| se usa cuando se quiere que el guión
-% también aparezca al comienzo de la siguiente línea. Por ejemplo:
+% Con la abreviación |"~|, el guión
+% también aparece al comienzo de la siguiente línea. Por ejemplo:
% \begin{quote}\small\begin{tabbing}
% |infra"~rojo| \quad \= in\hmk fra-ro\hmk jo, pero infra-\hmk-rojo.
% \end{tabbing}\end{quote}
@@ -723,10 +718,8 @@
% en la línea de base y expresiones como <<am/pm>> resultan poco
% estéticas. |"/| produce una barra que, de ser necesario, se baja
% ligeramente. Computer Modern tiene una barra bien diseñada y no es
-% posible ilustrar aquí este punto pero en todo caso se escribiría
-% |am"/pm|.\footnote{En \MEA{141} se recurre a una solución que es la
-% única sencilla en programas de maquetación: usar un cuerpo menor.
-% Pero con \TeX{} es mucho más fácil automatizar las tareas.}
+% posible ilustrar aquí este punto, pero se escribiría
+% |am"/pm|.
%
% \begin{decl}
% \txt |"y|\act{shorthand}\deact{\textit{es-noshorthands, es-sloppy}}
@@ -757,7 +750,7 @@
% grandes o muy pequeños, donde los resultados son meramente
% aceptables.
%
-% En Plain \TeX{} se ejecuta la orden |\sptextfont| para la
+% En Plain \TeX{} se ejecuta |\sptextfont| para la
% letra voladita, de forma que |{\bf\let\sptextfont\bf 1"o}| da el
% resultado correcto (|\mit| si es para cursiva). Para usar un tipo
% nuevo con |\sptext| hay que definir también las variantes
@@ -765,9 +758,9 @@
%
% \subsection{Espaciado}
%
-% Salvo excepciones, el espaciado español difiere relativamente poco
-% del inglés; una de ellas es que en \textsf{spanish} |\frenchspacing|
-% está activo.
+% El espaciado español difiere relativamente poco del inglés, con
+% alguna excepción; una de ellas es que en \textsf{spanish}
+% |\frenchspacing| está activo.
%
% \begin{decl}
% \txt |\...|\act{text}\deact{\textit{es-sloppy}}
@@ -789,22 +782,21 @@
% \txt |\%|\act{text}\deact{\textit{es-minimal, es-sloppy}}
% \end{decl}
%
-% Se añade un espacio fino antes del signo (que
-% más exactamente es |\,|, con lo cual se puede "<recuperar"> con
-% su opuesto |\!| si |\%| no sigue a una cifra; también se puede
-% emplear |\percentsign|).
+% Se añade un espacio fino antes del signo (en concreto |\,|), con
+% lo cual se puede "<recuperar"> con su opuesto |\!| si |\%| no sigue
+% a una cifra; también se puede emplear |\percentsign|).
%
% \begin{decl}
% \con |\spanishplainpercent|
% \end{decl}
%
-% Orden para que |\%| no añada el espacio fino. Puede ser útil
-% en cuadros, si |\%| aparece siempre entre paréntesis.
+% Orden para que |\%| no añada el espacio fino. Puede ser útil
+% en cuadros, si |\%| aparece siempre entre paréntesis.
%
% \subsection{Fuentes}
%
% \begin{decl}
-% \txt |\lsc|\marg{texto}\act{text}\deact{\textit{es-sloppy}}
+% \txt |\lsc|\marg{texto}\act{text}\deact{\textit{es-sloppy}}
% \end{decl}
%
% Pasa \textit{texto} a versalitas:
@@ -822,36 +814,35 @@
% excepciones, como con las negritas).
%
% \begin{decl}
-% \txt |\í|\alw
+% \txt |\í|\alw
% \end{decl}
%
-% Lo mismo que |í|.
+% Lo mismo que |í|.
%
% \subsection{Entrecomillados}
%
% \begin{decl}
-% \txt |\begin{quoting} ... \end{quoting}|\alw
+% \txt |\begin{quoting} ... \end{quoting}|\alw
% \end{decl}
%
-% El entorno |quoting| entrecomilla un
-% texto, añadiendo comillas de seguir al comienzo de
-% cada párrafo en su interior.\footnote{Se puede encontrar
-% una detallada exposición de las comillas en \DTL{44 ss.} De ahí
-% se ha tomado algún ejemplo.}
+% El entorno |quoting| entrecomilla un texto, añadiendo comillas de
+% seguir al comienzo de cada párrafo en su interior.\footnote{Se puede
+% encontrar una detallada exposición de las comillas en \DTL{44 ss.}
+% De ahí se ha tomado algún ejemplo.}
%
% \begin{decl}
-% \txt |<< >>|\act{shorthands}\deact{es-noquoting, \textit{es-noshorthands, es-minimal,
+% \txt |<< >>|\act{shorthands}\deact{es-noquoting, \textit{es-noshorthands, es-minimal,
% es-sloppy}}
% \end{decl}
%\vskip-1.5pc\vskip0pt
% \begin{decl}
-% \txt |"` "'|\act{shorthands}\deact{\textit{es-noshorthands, es-sloppy}}
+% \txt |"` "'|\act{shorthands}\deact{\textit{es-noshorthands, es-sloppy}}
% \end{decl}
%
% También se pueden emplear las abreviaciones |<<| y |>>| (o
% alternativamente |"`| y |"'|) que se limitan a llamar a |quoting|,
% que por ser entorno considera sus cambios internos como locales.
-% (Es decir, |<< ... >>| implica |{<< ... >>}|.) Las abreviaciones
+% (Es decir, |<< ... >>| implica |{<< ... >>}|.) Las abreviaciones
% |"<| y |">| continúan dando sin más los caracteres de comillas de
% abrir y cerrar, respectivamente.
%
@@ -883,7 +874,7 @@
% está pensado para ser usado también en el texto.
%
% \begin{decl}
-% \con |\lquoti| |\rquoti| |\lquotii| |\rquotii| |\lquotiii|
+% \con |\lquoti| |\rquoti| |\lquotii| |\rquotii| |\lquotiii|
% |\rquotiii|
% \end{decl}
%
@@ -909,7 +900,7 @@
% \end{table}
%
% \begin{decl}
-% \con |\activatequoting \deactivatequoting|
+% \con |\activatequoting \deactivatequoting|
% \end{decl}
%
% Las incompatibilidades potenciales de estas abreviaciones son
@@ -947,14 +938,14 @@
%
% Con \textsf{spanish} pueden seguirse varias convenciones con ayuda
% de las siguientes órdenes:
-% \begin{decl} \con |\accentedoperators| |\unaccentedoperators|
+% \begin{decl} \con |\accentedoperators| |\unaccentedoperators|
% \end{decl}
% Activa o desactiva los acentos.
% Por omisión se acentúan, como por ejemplo: $\lim_{x\to 0}(1/x)$
% (|$\lim_{x\to 0}(1/x)$|).
%
% \begin{decl}
-% \con |\spacedoperators| |\unspacedoperators|
+% \con |\spacedoperators| |\unspacedoperators|
% \end{decl}
% Activa o desactiva el espacio entre "<arc"> y la función.
% Lo habitual ha sido con espacio; así pues, por omisión
@@ -963,14 +954,14 @@
% También se añaden |\sen|, |\arcsen|, |\tg| y |\arctg|,
% que dan las funciones respectivas.
% \begin{decl}
-% \con |\spanishoperators|
+% \con |\spanishoperators|
% \end{decl}
%
% Otras funciones trigonométricas se encuentran almacenadas en el
% parámetro |\spanishoperators|, que inicialmente incluye cotg,
-% cosec, senh y tgh. La razón por la que estas funciones se han
+% cosec, senh y tgh. La razón por la que estas funciones se han
% separado es porque su forma no está normalizada en el ámbito
-% hispanohablante. De esta forma se puede cambiar por otras con, por
+% hispanohablante. De esta forma se puede cambiar por otras con, por
% ejemplo:
%\begin{verbatim}
% \renewcommand{\spanishoperators}{ctg arc\,ctg sh ch th}
@@ -991,12 +982,12 @@
% |\begin{document}|.
%
% \begin{decl}
-% \txt |\dotlessi|\act{math}\deact{\textit{es-sloppy}}
+% \txt |\dotlessi|\act{math}\deact{\textit{es-sloppy}}
% \end{decl}
%
% La \textit{i} sin punto también es accesible directamente en modo
-% matemático con la orden |\dotlessi|, de forma que se puede escribir
-% |\acute{\dotlessi}|. Por ejemplo,
+% matemático con |\dotlessi|, de forma que se puede escribir
+% |\acute{\dotlessi}|. Por ejemplo,
% |$V_{\mathbf{cr\acute{\dotlessi}t}}$| da
% $V_{\mathbf{cr\acute{\dotlessi}t}}$.
%
@@ -1009,14 +1000,14 @@
% las funciones de \textsf{spanish}.
%
% \begin{decl}
-% \con |es-minimal|\opp
+% \con |es-minimal|\opp
% \end{decl}
%
% Anula la mayoría de los cambios pero deja unas cuantas utilidades
% que pueden resultar utiles en el momento de escribir el texto.
%
% \begin{decl}
-% \con |es-sloppy|\opp
+% \con |es-sloppy|\opp
% \end{decl}
%
% Anula, además, todas las ligaduras sin excepción, la eñe en listas y los
@@ -1035,7 +1026,7 @@
% en órdenes como |\savebox|, |\title|, |\newtheorem|, etc.
%
% La orden |\selectspanish| permite activar \textsf{spanish} con sus
-% extensiones y abreviaciones antes de
+% extensiones y abreviaciones antes de
% |\begin{document}|.\footnote{Algunos detalles, que
% apenas afectan a \textsf{spanish}, siguen sin activarse hasta el
% comienzo del documento.}
@@ -1066,16 +1057,16 @@
% \end{decl}
%
% La primera cambia \textit{cuadro} a \textit{tabla} y desactiva tanto
-% |<||<>||>| como el punto decimal. También cambia
-% |"`| y |"'| a ``\,`\,"<\,">\,'\,''. Es decir, aparte de
+% |<||<>||>| como el punto decimal. También cambia
+% |"`| y |"'| a ``\,`\,"<\,">\,'\,''. Es decir, aparte de
% redefinir las comillas, equivale a:
% a:
%\begin{verbatim}
%\usepackage[spanish,es-nodecimaldot,es-tabla,es-noquoting]{spanish}
%\end{verbatim}
% La segunda es similar
-% pero sí activa el punto decimal. (Obsérvese que no van precedidas
-% de |es-|.)
+% pero sí activa el punto decimal. (Obsérvese que no van precedidas
+% de |es-|.)
%
% Probablemente, esta opción también sea apropiada en algunos
% países de América Central y del Sur.
@@ -1093,7 +1084,7 @@
% Activa las abreviaciones con apóstrofos, sin que sea
% necesario incluir |activeacute| como opción en |\usepackage|.
%
-% \begin{decl} \con |\es@enumerate{<leveli>}|%
+% \begin{decl} \con |\es@enumerate{<leveli>}|%
% |{<levelii>}{<leveliii>}{<leveliv>}|\alw
% \end{decl}
% Cambia los valores preestablecidos por \textsf{spanish} para
@@ -1103,7 +1094,7 @@
% |a| (minúscula \emph{cursiva}\,\footnote{La letra es cursiva
% pero no los signos que le puedan seguir. Más bien debería
% decirse destacada, ya que se usa |\string\emph|.
-% Véase \DTL{11}.}), |A| (versal),
+% Véase \DTL{11}.}), |A| (versal),
% |i| (romano \emph{versalita}), |I| (romano versal) o
% finalmente |o| (ordinal\,\footnote{Lo normal es no añadir ningún
% signo tras ordinal.}).
@@ -1115,7 +1106,7 @@
% \es@enumerate{1.}{a)}{1)}{a$'$)}
%\end{verbatim}
%
-% \begin{decl} \con |\es@itemize{<leveli>}|%
+% \begin{decl} \con |\es@itemize{<leveli>}|%
% |{<levelii>}{<leveliii>}{<leveliv>}|\alw
% \end{decl}
% Lo mismo para |itemize|, sólo que los argumentos se
@@ -1145,10 +1136,10 @@
%
% \subsection{Pasar opciones desde un paquete o clase}
%
-% \begin{decl} \con |\spanishoptions|
+% \begin{decl} \con |\spanishoptions|
% \end{decl}
%
-% Como |\PassOptionsToPackage| añade opciones al comienzo y
+% Como |\PassOptionsToPackage| añade opciones al comienzo y
% las opciones específicas de \textsf{spanish} han de ir al final, definiendo
% esta macro se puede controlar el comportamiento de \textsf{spanish} antes
% de su carga.
@@ -1158,7 +1149,7 @@
% Las adaptaciones se encuentran organizadas en varios grupos, a los
% que corresponden sendas macros:
% |\textspanish|, |\mathspanish|,
-% |\shorthandsspanish|, |\datespanish| y |\captionsspanish|. Pueden
+% |\shorthandsspanish|, |\datespanish| y |\captionsspanish|. Pueden
% cancelarse con:
%\begin{verbatim}
% \renewcommand\textspanish{}
@@ -1174,7 +1165,7 @@
% Se incluyen: traducciones, casi todas las abreviaciones, coma
% decimal, utilidades para división de palabras, ordinales en una
% versión simplificada (y no muy elegante), funciones matemáticas,
-% |\í| y espaciado. La selección de la lengua es inmediata al
+% |\í| y espaciado. La selección de la lengua es inmediata al
% cargar el archivo.
%
% En cambio no están disponibles: entrecomillados,
@@ -1192,8 +1183,8 @@
%
% En la versión 5 el grupo \textsf{layout} no se retrasa a
% |\begin{document}|, como en la 4, sino que se ejecuta
-% inmediatamente. Esto permite cambios en el preámbulo con otros
-% paquetes. Con ello, además, |\selectspanish*| carece de utilidad.
+% inmediatamente. Esto permite cambios en el preámbulo con otros
+% paquetes. Con ello, además, |\selectspanish*| carece de utilidad.
% La opción de paquete |es-delayed| restaura el comportamiento
% anterior, por si hubiera alguna incompatibilidad.
%
@@ -1629,7 +1620,7 @@
% \fi
% \endgroup
%
-%\StopEventually{}
+% \StopEventually{}
%
%^^A ========== End of manual ===============
%
@@ -1651,22 +1642,28 @@
% \changes{spanish~5.0h}{2009/01/02}{Removed unnecessary \cs{string}s
% with two acutes. Added es-noenumerate, es-noitemize.}
% \changes{spanish~5.0i}{2009/05/11}{romanidx not working. Some \cs{es@roman}
-% replaced with \cs{es@scroman}}
+% replaced with \cs{es@scroman}.}
+% \changes{spanish~5.0j}{2010/01/06}{Overdot \cs{.} was not robust.}
+% \changes{spanish~5.0j}{2010/04/04}{Colon in saved catcodes, because
+% babel doesn't restore it after french}
+% \changes{spanish~5.0j}{2010/05/08}{Changed order of tests in
+% shorthands, to fix a bug with ifthen}
%
-% This file provides definition for both \LaTeXe{} and non
-% \LaTeXe{} formats.
+% This file is for both \LaTeXe{} and Plain formats.
%
% \begin{macrocode}
%<*code>
\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}
@@ -1674,6 +1671,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}
@@ -1848,7 +1846,7 @@
\fi
\csname es@restorelist\endcsname}
-\addto\textspanish{\es@sdef\sptext{\protect\es@sptext}}
+\addto\textspanish{\es@sDRC\sptext{\es@sptext}}
\def\es@orddot{.}
% \end{macrocode}
@@ -1894,15 +1892,14 @@
\fi
% \end{macrocode}
%
-% Now, lowercase small caps. First, we test if there are actual
-% small caps for the current font. If not, faked small caps are
-% used. The \cs{selectfont} in \cs{es@lsc} could seem redundant,
-% but it's not. An intermediate macro allows using an optimized
-% variant for Roman numerals.
+% Lowercase small caps. We check if the current font has small
+% caps. If not, we fakes them. \cs{selectfont} in \cs{es@lsc}
+% seems redundant, but it's not. An intermediate macro allows
+% using an optimized variant for Roman numerals.
%
% \begin{macrocode}
\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
@@ -1922,9 +1919,8 @@
\fi
% \end{macrocode}
%
-% The |quoting| environment. This part is not available
-% in Plain. Overriding the default |\everypar| is
-% a bit tricky.
+% The |quoting| environment (not available in Plain). Overriding
+% the default |\everypar| is a bit tricky.
%
% \begin{macrocode}
\newif\ifes@listquot
@@ -1958,7 +1954,7 @@
\let\es@quotcont\@empty
% \end{macrocode}
%
-% If there is a margin par inside quoting, we don't add the
+% If there is a marginpar inside quoting, we don't add the
% quotes. |\es@listqout| stores the quotes to be used before
% item labels; otherwise they could appear after the labels.
%
@@ -1970,32 +1966,31 @@
\fi
% \end{macrocode}
%
-% Now, the |\frenchspacing|, followed by |\...| and |\%|.
+% |\frenchspacing|, |\...| and |\%|.
%
% \begin{macrocode}
\addto\textspanish{\bbl@frenchspacing}
\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{}}}
+ \es@sDRC\%{\es@sppercent\percentsign{}}}
% \end{macrocode}
%
-% We follow with the math group. It's not easy to add an accent to
-% an operator. The difficulty is that we must avoid using text
-% (that is, |\mbox|) because we have no control on font and size,
-% and at time we should access |\i|, which is a text command
-% forbidden in math mode. |\dotlessi| must be converted to
-% uppercase if necessary in \LaTeXe. There are two versions,
-% depending on the format.
+% Now, the math group. It's not easy to add an accent to an
+% operator, because we must avoid using text (that is, |\mbox|)
+% where we have no control on font and size, and at the same time
+% we need |\i|, which is forbidden in math mode. |\dotlessi| must
+% be converted to uppercase if necessary in \LaTeXe. There are two
+% versions, depending on the format.
%
% \begin{macrocode}
-\addto\mathspanish{\es@sdef\dotlessi{\protect\es@dotlessi}}
+\addto\mathspanish{\es@sDRC\dotlessi{\es@dotlessi}}
\let\nomathspanish\relax
\ifes@latex
@@ -2041,9 +2036,9 @@
\fi
% \end{macrocode}
%
-% The operators are stored in |\es@operators|, which in turn is
+% Operators are stored in |\es@operators|, which is
% included in the math group. Since |\operator@font| is
-% defined in \LaTeXe{} only, we defined in the plain variant.
+% defined in \LaTeXe{} only, we define it in the plain variant.
%
% \begin{macrocode}
\def\es@operators{%
@@ -2113,14 +2108,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
@@ -2128,9 +2123,9 @@
\fi}
\def\es@use@sh#1{%
- \if@safe@actives
+ \ifx\protect\@unexpandable@protect
\bbl@afterelse
- \string#1%
+ \noexpand#1%
\else%
\bbl@afterfi
\textormath
diff --git a/Master/texmf-dist/doc/latex/spanish/source/spanish.ins b/Master/texmf-dist/doc/latex/spanish/source/spanish.ins
index 685adb5c1bb..bd7876dde6d 100644
--- a/Master/texmf-dist/doc/latex/spanish/source/spanish.ins
+++ b/Master/texmf-dist/doc/latex/spanish/source/spanish.ins
@@ -1,152 +1,152 @@
-%%
-%% This file will generate fast loadable files and documentation
-%% driver files from the doc files in this package when run through
-%% LaTeX or TeX.
-%%
-%% Copyright 1989-2008 Johannes L. Braams and any individual authors
-%% listed elsewhere in this file. All rights reserved.
-%%
-%% This file is part of the Babel system.
-%% --------------------------------------
-%%
-%% It may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, either version 1.3
-%% of this license or (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 2003/12/01 or later.
-%%
-%% This work has the LPPL maintenance status "maintained".
-%%
-%% The Current Maintainer of this work is Johannes Braams.
-%%
-%% The list of all files belonging to the LaTeX base distribution is
-%% given in the file `manifest.bbl. See also `legal.bbl' for additional
-%% information.
-%%
-%% The list of derived (unpacked) files belonging to the distribution
-%% and covered by LPPL is defined by the unpacking scripts (with
-%% extension .ins) which are part of the distribution.
-%%
-%% --------------- start of docstrip commands ------------------
-%%
-\def\batchfile{spanish.ins}
-\def\filedate{2007/02/21}
-\input docstrip.tex
-
-\tracingmacros2
-
-{\ifx\generate\undefined
- \Msg{**********************************************}
- \Msg{*}
- \Msg{* This installation requires docstrip}
- \Msg{* version 2.3c or later.}
- \Msg{*}
- \Msg{* An older version of docstrip has been input}
- \Msg{*}
- \Msg{**********************************************}
- \errhelp{Move or rename old docstrip.tex.}
- \errmessage{Old docstrip in input path}
- \batchmode
- \csname @@end\endcsname
-\fi}
-
-\declarepreamble\mainpreamble
-This is a generated file.
-
-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.
----------------------------------------------------------
-
-It may be distributed and/or modified under the
-conditions of the LaTeX Project Public License, either version 1.3
-of this license or (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 2003/12/01 or later.
-
-This work has the LPPL maintenance status "maintained".
-
-The Current Maintainer of this work is Johannes Braams.
-
-This file may only be distributed together with a copy of the Babel
-system. You may however distribute the Babel system without
-such generated files.
-
-The list of all files belonging to the Babel distribution is
-given in the file `manifest.bbl'. See also `legal.bbl for additional
-information.
-
-The list of derived (unpacked) files belonging to the distribution
-and covered by LPPL is defined by the unpacking scripts (with
-extension .ins) which are part of the distribution.
-\endpreamble
-
-\declarepreamble\fdpreamble
-This is a generated file.
-
-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.
----------------------------------------------------------
-
-It may be distributed and/or modified under the
-conditions of the LaTeX Project Public License, either version 1.3
-of this license or (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 2003/12/01 or later.
-
-This work has the LPPL maintenance status "maintained".
-
-The Current Maintainer of this work is Johannes Braams.
-
-This file may only be distributed together with a copy of the Babel
-system. You may however distribute the Babel system without
-such generated files.
-
-The list of all files belonging to the Babel distribution is
-given in the file `manifest.bbl'. See also `legal.bbl for additional
-information.
-
-In particular, permission is granted to customize the declarations in
-this file to serve the needs of your installation.
-
-However, NO PERMISSION is granted to distribute a modified version
-of this file under its original name.
-
-\endpreamble
-
-\keepsilent
-
-\usedir{tex/generic/babel}
-
-\keepsilent
-
-\usepreamble\mainpreamble
-\generate{\file{spanish.ldf}{\from{spanish.dtx}{code}}%
- \file{romanidx.sty}{\from{spanish.dtx}{indexes}}}
-\usepreamble\fdpreamble
-
-\ifToplevel{
-\Msg{***********************************************************}
-\Msg{*}
-\Msg{* To finish the installation you have to move the following}
-\Msg{* files into a directory searched by TeX:}
-\Msg{*}
-\Msg{* \space\space All *.def, *.fd, *.ldf, *.sty}
-\Msg{*}
-\Msg{* To produce the documentation run the files ending with}
-\Msg{* '.dtx' and `.fdd' through LaTeX.}
-\Msg{*}
-\Msg{* Happy TeXing}
-\Msg{***********************************************************}
-}
-
-\endinput
+%%
+%% This file will generate fast loadable files and documentation
+%% driver files from the doc files in this package when run through
+%% LaTeX or TeX.
+%%
+%% Copyright 1989-2008 Johannes L. Braams and any individual authors
+%% listed elsewhere in this file. All rights reserved.
+%%
+%% This file is part of the Babel system.
+%% --------------------------------------
+%%
+%% It may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (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 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "maintained".
+%%
+%% The Current Maintainer of this work is Johannes Braams.
+%%
+%% The list of all files belonging to the LaTeX base distribution is
+%% given in the file `manifest.bbl. See also `legal.bbl' for additional
+%% information.
+%%
+%% The list of derived (unpacked) files belonging to the distribution
+%% and covered by LPPL is defined by the unpacking scripts (with
+%% extension .ins) which are part of the distribution.
+%%
+%% --------------- start of docstrip commands ------------------
+%%
+\def\batchfile{spanish.ins}
+\def\filedate{2007/02/21}
+\input docstrip.tex
+
+\tracingmacros2
+
+{\ifx\generate\undefined
+ \Msg{**********************************************}
+ \Msg{*}
+ \Msg{* This installation requires docstrip}
+ \Msg{* version 2.3c or later.}
+ \Msg{*}
+ \Msg{* An older version of docstrip has been input}
+ \Msg{*}
+ \Msg{**********************************************}
+ \errhelp{Move or rename old docstrip.tex.}
+ \errmessage{Old docstrip in input path}
+ \batchmode
+ \csname @@end\endcsname
+\fi}
+
+\declarepreamble\mainpreamble
+This is a generated file.
+
+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.
+---------------------------------------------------------
+
+It may be distributed and/or modified under the
+conditions of the LaTeX Project Public License, either version 1.3
+of this license or (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 2003/12/01 or later.
+
+This work has the LPPL maintenance status "maintained".
+
+The Current Maintainer of this work is Johannes Braams.
+
+This file may only be distributed together with a copy of the Babel
+system. You may however distribute the Babel system without
+such generated files.
+
+The list of all files belonging to the Babel distribution is
+given in the file `manifest.bbl'. See also `legal.bbl for additional
+information.
+
+The list of derived (unpacked) files belonging to the distribution
+and covered by LPPL is defined by the unpacking scripts (with
+extension .ins) which are part of the distribution.
+\endpreamble
+
+\declarepreamble\fdpreamble
+This is a generated file.
+
+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.
+---------------------------------------------------------
+
+It may be distributed and/or modified under the
+conditions of the LaTeX Project Public License, either version 1.3
+of this license or (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 2003/12/01 or later.
+
+This work has the LPPL maintenance status "maintained".
+
+The Current Maintainer of this work is Johannes Braams.
+
+This file may only be distributed together with a copy of the Babel
+system. You may however distribute the Babel system without
+such generated files.
+
+The list of all files belonging to the Babel distribution is
+given in the file `manifest.bbl'. See also `legal.bbl for additional
+information.
+
+In particular, permission is granted to customize the declarations in
+this file to serve the needs of your installation.
+
+However, NO PERMISSION is granted to distribute a modified version
+of this file under its original name.
+
+\endpreamble
+
+\keepsilent
+
+\usedir{tex/generic/babel}
+
+\keepsilent
+
+\usepreamble\mainpreamble
+\generate{\file{spanish.ldf}{\from{spanish.dtx}{code}}%
+ \file{romanidx.sty}{\from{spanish.dtx}{indexes}}}
+\usepreamble\fdpreamble
+
+\ifToplevel{
+\Msg{***********************************************************}
+\Msg{*}
+\Msg{* To finish the installation you have to move the following}
+\Msg{* files into a directory searched by TeX:}
+\Msg{*}
+\Msg{* \space\space All *.def, *.fd, *.ldf, *.sty}
+\Msg{*}
+\Msg{* To produce the documentation run the files ending with}
+\Msg{* '.dtx' and `.fdd' through LaTeX.}
+\Msg{*}
+\Msg{* Happy TeXing}
+\Msg{***********************************************************}
+}
+
+\endinput
diff --git a/Master/texmf-dist/doc/latex/spanish/tex/romanidx.sty b/Master/texmf-dist/doc/latex/spanish/tex/romanidx.sty
index 0e3f77dd31a..fa3422f5d5d 100644
--- a/Master/texmf-dist/doc/latex/spanish/tex/romanidx.sty
+++ b/Master/texmf-dist/doc/latex/spanish/tex/romanidx.sty
@@ -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)
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