El 07/05/2010 03:38 p.m., Ignacio García escribió:
Sergio Celani <sergiocelani <at> gmail.com> writes:
Dear usersI need help to create *. inc file to place Theorems, Lemma, etc. in
Spanish, i.e. Teorema, Lema, Corolario, etc. I would like to modify the
filestheorems-ams.inctheorems-starred.inctheorems-proof.incand create new files
, liketheorems-amsES.inc
Input theoremsES-starred.inc
Input theorems-demostracion.inc
See you this thread
http://www.mail-archive.com/[email protected]/msg73486.html
Uwe
You don't need to do that. The alternative is to translate them
directly in the LyX file, see
http://wiki.lyx.org/LyX/I18nLabels
You can see some of these commands for the Spanish language in the LaTeX
preamble of the example file
Archivo > Abrir... > Ejemplos > es > beamer-conference-ornate29min.lyx
available in LyX-2.0.0alpha2
Here are some of such definitions
\newtheorem{defi}{Definición}
\renewenvironment{definition}{\begin{defi}}{\end{defi}}
\newtheorem{defis}{Definiciones}
\renewenvironment{definitions}{\begin{defis}}{\end{defis}}
\newtheorem{theo}{Teorema}
\renewenvironment{theorem}{\begin{theo}}{\end{theo}}
\newtheorem{exa}{Ejemplo}
\renewenvironment{example}{\begin{exa}}{\end{exa}}
\newtheorem{exas}{Ejemplos}
\renewenvironment{examples}{\begin{exas}}{\end{exas}}
...
Regards
Ignacio G
Thank very for the help. I'll try the new version of Lyx
I think there
is a problem with the import option in LyX
I take the example lang-ams.lyx that is in
http://wiki.lyx.org/LyX/I18nLabels
Export this file to Latex (plain).
Delete the file lang-ams.lyx
Import the created latex file lang-ams.tex and appear

may be
a bug?
|