AMS not translated (LAST QUESTIONS!)

2000-08-24 Thread Emanuele Olivetti

I'm back from holidays .. :-(   ;-)

First of all I'd like to thanks Herbert Voss for his great help to my
problem.

On Thu Aug 10 21:11:01 2000 Herbert Voss explain (answering a question of
mine) how to translate "AMS Book" words like : "Theorem", "Corollary"
etc... in other languages (there are a lot of entries in that document
class); 

See his previous message to have a full description of the problem.

There are some problems and something doesn't work, so to solve my last
problems (and help other people with the same problem) here are notes and
questions:

He wrotes:
1. you can patch the lyx-layout-file amsmath.inc,
   changing the names for the different theorems is
   possible,

I don't know how to do... but anyway there is a second chance,

2. in line 78 of ~/.lyx/layouts/amsbook.layout begins
   a preamble. insert as line 79, before the other
   theorem-commands
   

OK, this solution works 90% : 
*) I changed amsbook.layout as suggested (DON'T insert any other line in
that file, nor "#" comments, otherwise LyX will not compile); then I took
ntheorem.sty from Herbert's e-mail and put on suggetsted directory but
this DOESN'T WORK. I hadn't any /usr/share/texmf/tex/latex/ntheorem/
directory (nor ~/.TeX) so I created them and I tried, but LaTeX didn't see
that file. My solution was to put that file in the current working
directory, where there are my LyX files. This works.

Then I put this LateX commands in my AMS-book-LyX file :
\renewtheorem{thm}{Teorema}[section]
\renewtheorem{cor}{Corollario}[section]

to rename "Theorem" and "Corollary".

This works, but generate my BIG problem: LaTeX ask to "redefine" also
"proof" with \renewtheorem ; I added (don't laugh...) :
\renewtheorem{proof}{Dimostrazione}[section]

but LaTeX starts to numerate Proofs! No, this is not good.

so I tried:
\renewtheorem{proof}{Dimostrazione}

Numbers again (other kind of numeration)... :-((


How can I avoid proof numbering?


Thanks for every answer.

P.S.: Now I think to sum up all Herbert works (and my notes) to make a
AMS-Book-translation-HOWTO... does someone need it?


Emanuele



Re: AMS not translated (LAST QUESTIONS!)

2000-08-24 Thread Herbert Voss

Emanuele Olivetti wrote:
 
 I'm back from holidays .. :-(   ;-)

i have still 8 days ... :-)

 This works, but generate my BIG problem: LaTeX ask to "redefine" also
 "proof" with \renewtheorem ; I added (don't laugh...) :
 \renewtheorem{proof}{Dimostrazione}[section]

this is the problem with the old algorithm-style from ams. therefore
i always use komascript (book) and than ntheorem-style.

 but LaTeX starts to numerate Proofs! No, this is not good.
 
 so I tried:
 \renewtheorem{proof}{Dimostrazione}
 
 Numbers again (other kind of numeration)... :-((
 
 How can I avoid proof numbering?

anywhere:

\theoremstyle{nonumberplain} % only valid for the following \newtheorems
or \renewtheorems 
\newtheorem{myproof}{Proof} % or \renewtheorem{proof}...

in text 
\begin{myproof}
holidays holidays holidays ... :-)
\end{myproof}

with \renewtheorem{proof} you can use lyx paragraphh-style for proof.

Herbert

-- 
[EMAIL PROTECTED]
http://perce.de/voss




AMS not translated (LAST QUESTIONS!)

2000-08-24 Thread Emanuele Olivetti

I'm back from holidays .. :-(   ;-)

First of all I'd like to thanks Herbert Voss for his great help to my
problem.

On Thu Aug 10 21:11:01 2000 Herbert Voss explain (answering a question of
mine) how to translate "AMS Book" words like : "Theorem", "Corollary"
etc... in other languages (there are a lot of entries in that document
class); 

See his previous message to have a full description of the problem.

There are some problems and something doesn't work, so to solve my last
problems (and help other people with the same problem) here are notes and
questions:

He wrotes:
1. you can patch the lyx-layout-file amsmath.inc,
   changing the names for the different theorems is
   possible,

I don't know how to do... but anyway there is a second chance,

2. in line 78 of ~/.lyx/layouts/amsbook.layout begins
   a preamble. insert as line 79, before the other
   theorem-commands
   

OK, this solution works 90% : 
*) I changed amsbook.layout as suggested (DON'T insert any other line in
that file, nor "#" comments, otherwise LyX will not compile); then I took
ntheorem.sty from Herbert's e-mail and put on suggetsted directory but
this DOESN'T WORK. I hadn't any /usr/share/texmf/tex/latex/ntheorem/
directory (nor ~/.TeX) so I created them and I tried, but LaTeX didn't see
that file. My solution was to put that file in the current working
directory, where there are my LyX files. This works.

Then I put this LateX commands in my AMS-book-LyX file :
\renewtheorem{thm}{Teorema}[section]
\renewtheorem{cor}{Corollario}[section]

to rename "Theorem" and "Corollary".

This works, but generate my BIG problem: LaTeX ask to "redefine" also
"proof" with \renewtheorem ; I added (don't laugh...) :
\renewtheorem{proof}{Dimostrazione}[section]

but LaTeX starts to numerate Proofs! No, this is not good.

so I tried:
\renewtheorem{proof}{Dimostrazione}

Numbers again (other kind of numeration)... :-((


How can I avoid proof numbering?


Thanks for every answer.

P.S.: Now I think to sum up all Herbert works (and my notes) to make a
AMS-Book-translation-HOWTO... does someone need it?


Emanuele



Re: AMS not translated (LAST QUESTIONS!)

2000-08-24 Thread Herbert Voss

Emanuele Olivetti wrote:
 
 I'm back from holidays .. :-(   ;-)

i have still 8 days ... :-)

 This works, but generate my BIG problem: LaTeX ask to "redefine" also
 "proof" with \renewtheorem ; I added (don't laugh...) :
 \renewtheorem{proof}{Dimostrazione}[section]

this is the problem with the old algorithm-style from ams. therefore
i always use komascript (book) and than ntheorem-style.

 but LaTeX starts to numerate Proofs! No, this is not good.
 
 so I tried:
 \renewtheorem{proof}{Dimostrazione}
 
 Numbers again (other kind of numeration)... :-((
 
 How can I avoid proof numbering?

anywhere:

\theoremstyle{nonumberplain} % only valid for the following \newtheorems
or \renewtheorems 
\newtheorem{myproof}{Proof} % or \renewtheorem{proof}...

in text 
\begin{myproof}
holidays holidays holidays ... :-)
\end{myproof}

with \renewtheorem{proof} you can use lyx paragraphh-style for proof.

Herbert

-- 
[EMAIL PROTECTED]
http://perce.de/voss




AMS not translated (LAST QUESTIONS!)

2000-08-24 Thread Emanuele Olivetti

I'm back from holidays .. :-(   ;-)

First of all I'd like to thanks Herbert Voss for his great help to my
problem.

On Thu Aug 10 21:11:01 2000 Herbert Voss explain (answering a question of
mine) how to translate "AMS Book" words like : "Theorem", "Corollary"
etc... in other languages (there are a lot of entries in that document
class); 

See his previous message to have a full description of the problem.

There are some problems and something doesn't work, so to solve my last
problems (and help other people with the same problem) here are notes and
questions:

He wrotes:
>1. you can patch the lyx-layout-file amsmath.inc,
>   changing the names for the different theorems is
>   possible,

I don't know how to do... but anyway there is a second chance,

>2. in line 78 of ~/.lyx/layouts/amsbook.layout begins
>   a preamble. insert as line 79, before the other
>   theorem-commands
>   

OK, this solution works 90% : 
*) I changed amsbook.layout as suggested (DON'T insert any other line in
that file, nor "#" comments, otherwise LyX will not compile); then I took
ntheorem.sty from Herbert's e-mail and put on suggetsted directory but
this DOESN'T WORK. I hadn't any /usr/share/texmf/tex/latex/ntheorem/
directory (nor ~/.TeX) so I created them and I tried, but LaTeX didn't see
that file. My solution was to put that file in the current working
directory, where there are my LyX files. This works.

Then I put this LateX commands in my AMS-book-LyX file :
\renewtheorem{thm}{Teorema}[section]
\renewtheorem{cor}{Corollario}[section]

to rename "Theorem" and "Corollary".

This works, but generate my BIG problem: LaTeX ask to "redefine" also
"proof" with \renewtheorem ; I added (don't laugh...) :
\renewtheorem{proof}{Dimostrazione}[section]

but LaTeX starts to numerate Proofs! No, this is not good.

so I tried:
\renewtheorem{proof}{Dimostrazione}

Numbers again (other kind of numeration)... :-((


How can I avoid proof numbering?


Thanks for every answer.

P.S.: Now I think to sum up all Herbert works (and my notes) to make a
AMS-Book-translation-HOWTO... does someone need it?


Emanuele



Re: AMS not translated (LAST QUESTIONS!)

2000-08-24 Thread Herbert Voss

Emanuele Olivetti wrote:
> 
> I'm back from holidays .. :-(   ;-)

i have still 8 days ... :-)

> This works, but generate my BIG problem: LaTeX ask to "redefine" also
> "proof" with \renewtheorem ; I added (don't laugh...) :
> \renewtheorem{proof}{Dimostrazione}[section]

this is the problem with the old algorithm-style from ams. therefore
i always use komascript (book) and than ntheorem-style.

> but LaTeX starts to numerate Proofs! No, this is not good.
> 
> so I tried:
> \renewtheorem{proof}{Dimostrazione}
> 
> Numbers again (other kind of numeration)... :-((
> 
> How can I avoid proof numbering?

anywhere:

\theoremstyle{nonumberplain} % only valid for the following \newtheorems
or \renewtheorems 
\newtheorem{myproof}{Proof} % or \renewtheorem{proof}...

in text 
\begin{myproof}
holidays holidays holidays ... :-)
\end{myproof}

with \renewtheorem{proof} you can use lyx paragraphh-style for proof.

Herbert

-- 
[EMAIL PROTECTED]
http://perce.de/voss