Re: Translation problems with AMS

2008-02-10 Thread Dominik Böhm
I finally solved it:

\newtheorem{my_exa}[thm]{Beispiel}
\renewenvironment{example}{\begin{my_exa}}{\end{my_exa}}

Using the right counter (thm) did the trick.

Best regards
Dominik


Re: Translation problems with AMS

2008-02-09 Thread Uwe Stöhr

Dominik Böhm schrieb:


Adding

\newtheorem{exa}{Beispiel}
\renewenvironment{example}{\begin{exa}}{\end{exa}}

to my lyx file translated the example lable. But now the numbering doesn't
work as expected. A
"\numberwithin{exa}{theorem}"/"\numberwithin{exa}{section}" didn't help...


Could you send me a SMALL example file?

regards Uwe


Re: Translation problems with AMS

2008-02-07 Thread Dominik Böhm
On Feb 7, 2008 6:57 PM, Uwe Stöhr <[EMAIL PROTECTED]> wrote:

> Have a look at this page:
> http://wiki.lyx.org/LyX/I18nLabels
>

Thanks for your quick answer. I had a look and could partly solve my
problem:

Adding

\newtheorem{exa}{Beispiel}
\renewenvironment{example}{\begin{exa}}{\end{exa}}

to my lyx file translated the example lable. But now the numbering doesn't
work as expected. A
"\numberwithin{exa}{theorem}"/"\numberwithin{exa}{section}" didn't help...

Maybe you, or someother person, can help me again!

Thanks and best regards
Dominik


Re: Translation problems with AMS

2008-02-07 Thread Uwe Stöhr

Dominik Böhm schrieb:


I've got some problems using LyX for my German diploma thesis (ngerman), as
some of the math stuff isn't translated correctly in the pdf export. In LyX
everything works like a charm, when I mark a paragraph as Remark, LyX shows
it to me like "Bemerkung x.x", like I expect it. But in the exported pdf
file, this passage has "Remark x.x" as caption. Other environments, like
"proof", are translated correctly.


Have a look at this page:
http://wiki.lyx.org/LyX/I18nLabels

regards Uwe


Translation problems with AMS

2008-02-07 Thread Dominik Böhm
Hello everybody,

I've got some problems using LyX for my German diploma thesis (ngerman), as
some of the math stuff isn't translated correctly in the pdf export. In LyX
everything works like a charm, when I mark a paragraph as Remark, LyX shows
it to me like "Bemerkung x.x", like I expect it. But in the exported pdf
file, this passage has "Remark x.x" as caption.Other environment s, like
"proof", are translated correctly.

I already tried a lot of things: editing the ntheorems.sty, etc., executing
a "\renewtheorem{example}{Beispiel}"-command, but nothing helped.

I am using the normal article document class, as my professor prefers the
article layout. Those are the first few lines of my preamble, I think it
shouldn't cause any trouble to include the ams stuff like this:

\usepackage[ngerman]{babel}

\usepackage{amssymb}

\usepackage{amsmath} % Mathematische Gleichungen (auch mehrzeilig)

\usepackage{amsfonts}

\usepackage{amsthm}


Hopefully someone can help.

Thanks a lot
Dominik