Re: bug in lyx 1.5.1? notation* environment in book (AMS) documentclass

2007-09-11 Thread Jürgen Spitzmüller
Kai Johannes Keller wrote:
 When I try to use the Notation*-environment within the book (AMS)
 documentclass and want to view DVI, I get the following error message
 from latex:

Thanks for the report, I added it here:
http://bugzilla.lyx.org/show_bug.cgi?id=4078#c15

Jürgen


Re: bug in lyx 1.5.1? notation* environment in book (AMS) documentclass

2007-09-11 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote:
 Thanks for the report, I added it here:
 http://bugzilla.lyx.org/show_bug.cgi?id=4078#c15

The fix, btw, is simple. Just change in amsmaths.inc, here:

Style Notation*
CopyStyle Remark*
LatexName notation*
LabelString   Notation.
Preamble
\theoremstyle{remark}
\newtheorem*{notation*}[thm]{Notation}
EndPreamble
End

the preamble definition to

Preamble
  \theoremstyle{remark}
  \newtheorem*{notation*}{Notation}
EndPreamble

Jürgen


Re: bug in lyx 1.5.1? notation* environment in book (AMS) documentclass

2007-09-11 Thread Jürgen Spitzmüller
Kai Johannes Keller wrote:
> When I try to use the Notation*-environment within the book (AMS)
> documentclass and want to view DVI, I get the following error message
> from latex:

Thanks for the report, I added it here:
http://bugzilla.lyx.org/show_bug.cgi?id=4078#c15

Jürgen


Re: bug in lyx 1.5.1? notation* environment in book (AMS) documentclass

2007-09-11 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote:
> Thanks for the report, I added it here:
> http://bugzilla.lyx.org/show_bug.cgi?id=4078#c15

The fix, btw, is simple. Just change in amsmaths.inc, here:

Style Notation*
CopyStyle Remark*
LatexName notation*
LabelString   "Notation."
Preamble
\theoremstyle{remark}
\newtheorem*{notation*}[thm]{Notation}
EndPreamble
End

the preamble definition to

Preamble
  \theoremstyle{remark}
  \newtheorem*{notation*}{Notation}
EndPreamble

Jürgen