Hi,
When the document language is Spanish and the LaTeX-package babel
is used (the default), the "Spanish Language Definition File" (spanish.ldf)
sets some default behaviours that may have unexpected outcomes:
a) It may be that gives latex errors
For example: Since the lowercase Roman numerals are not used in Spanish,
they are redefined to noun style, but the command
\pagenumbering{roman} produces errors in some cases, e.g., pdflatex
don't works if the option "plainpages=false" for "hyperref" is used.
This problem is solved, I think. Just I have installed the last version
spanish v5.0a (http://www.texytipografia.com/spanish.html) and the error is out.
Marcelo has reported errors with the package "bigfoot"
(http://www.mail-archive.com/[email protected]/msg59151.html)
(Trick: change roman to Roman)
Perhaps Marcelo may try the new spanish.ldf -.sty with bigfoot.
b) Changes in certain dialogs in LyX have no effect.
For example, the changes in "bullets" of itemized lists don't work,
because babel-spanish sets fixed bullets.
Hints: see the documentation of the Spanish-style,
http://www.texytipografia.com/archive/spanish.pdf
for alternate macros and commands to change the bullets.
c) Some words are translated into a different way for both LyX and
babel-spanish,
e.g., "table" is "tabla" in LyX and is "cuadro" in latex output.
Regards
Ignacio García
=========
En español:
Si el idioma de un documento es español, el archivo "spanish.ldf"
("Spanish Language Definition File") incluido en el sistema babel de LaTeX,
(que se carga de forma predeterminada), establece una serie de valores
predefinidos
que puede dar resultados inesperados como:
a) Generar errores en la salida de latex:
Por ejemplo, como en español no se usan los romanos en minúscula,
"spanish.ldf" los redefine a números en versalitas, pero este cambio
a veces no funciona: pdflatex no compila el documento si en éste coinciden
el comando \pagenumbering{roman} y el paquete hyperref con la opción
"plainpages=false".
(Una solución es cambiar roman por Roman, romanos en mayúscula).
Este problema parece estar resuelto; acabo de probar la versión última de
spanish.ldf -.sty, v5-0a, (http://www.texytipografia.com/spanish.html)
y el error ya no se produce.
Marcelo (http://www.mail-archive.com/[email protected]/msg59151.html)
ha informado también de conflicto entre \pagenumbering{roman} y el
paquete bigfoot.
b) Los cambios de ciertos diálogos en LyX no tienen ningún efecto.
Así, las marcas de las listas "enumeración*" no cambiarán aunque lo intentes
en el diálogo "Marcas" correspondiente. Se debe a que "spanish.ldf" establece
por defecto unas marcas fijas.
Mediante ciertos comandos disponibles en el estilo "spanish" se pueden cambiar
las marcas, consulta su documentación en
http://www.texytipografia.com/archive/spanish.pdf.
(También se pueden hacer algunos trucos en el archivo "spanish.ldf"
para desactivar estos cambios y que funcione el diálogo de LyX, pero
esta vía no es recomendable)
c) LyX y babel-spanish traducen algunas palabras de forma distinta. Un
ejemplo es "table".
En Lyx se traduce por "tabla", mientras que en la salida procesada por
babel-spanish se
traduce por "cuadro".