Am Donnerstag, 24. Mai 2018 20:55:12 CEST schrieb Kornel Benko <kor...@lyx.org>:

> 
> New test: AMS-import.
> 

tex2lyx still (again?) has some quirks.
Importing development/batchtests/ams-import.tex leads to correct display in 
lyx, but
the tex-file used to compile with e.g. pdflatex is wrong.

The original preamble is now repeated twice
> \makeatletter
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
> \numberwithin{equation}{section}
> \numberwithin{figure}{section}
> \theoremstyle{plain}
> \newtheorem{thm}{\protect\theoremname}
> \theoremstyle{plain}
> \newtheorem{cor}[thm]{\protect\corollaryname}
> 
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
> 
> 
> \theoremstyle{plain}
> \newtheorem{thm}{\protect\theoremname}[section]
> %\newtheorem{thm}{\protect\theoremname}% => works
> \newtheorem{cor}[thm]{\protect\corollaryname}

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to