My problem is that I have a latex file  with the following preamble:

\newtheorem{teorema}{Teorema}[chapter]
\newtheorem{lema}[teorema]{Lema}
\newtheorem{lem}[teorema]{Lema}
\newtheorem{axioma}{AXIOMA}
\newtheorem{corolario}[teorema]{Corolario}
\newtheorem{proposicion}[teorema]{Proposici\'{o}n}
\theoremstyle{definition}
\newtheorem{ejemplo}[teorema]{Ejemplo}
\newtheorem{ejemplos}[teorema]{Ejemplos}
\newtheorem{definicion}[teorema]{Definici\'{o}n}
\newtheorem{observacion}[teorema]{Observaci\'{o}n}
\newtheorem{observaciones}[teorema]{Observaciones}
\newtheorem{propiedades}[teorema]{Propiedades}
\newtheorem{notacion}[teorema]{Notaci\'{o}n}
\newtheorem{ejercicio}{Ejercicio}[section]
\newenvironment{Demostracion}[1][Demostraci\'{o}n]{\noindent\textbf{\textit{#1.}}
}{\hfill $\blacksquare $\newline{}}

When import this file in Lyx appears

\begin{definicion}
BLABLA
\end{definicion}


but I want it in Lyx   appear

*Definición 3* .........BLABLA


Thanks very much and excuse my bad English


2010/5/7 Uwe Stöhr <uwesto...@web.de>

> Am 07.05.2010 18:49, schrieb Sergio Celani:
>
>
>  I 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 files
>>
>> theorems-ams.inc
>> theorems-starred.inc
>> theorems-proof.inc
>>
>> and create new files , like
>>
>> theorems-amsES.inc
>> Input theoremsES-starred.inc
>> Input theorems-demostracion.inc
>>
>
> 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
>
> In the next LyX version, the theorems will automatically be translated
> according to the LyX document language.
>
> If you want to translate the inc-files anyway, better create a module that
> you can easily load in every LyX document. So have a look at the
> theorem-XXX.module files.
>
> If you are then still stuck, report back.
>
> regards Uwe
>

Reply via email to