]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/test/test-modules.lyx.lyx
tex2lyx/Preamble.cpp: handle \LyX
[lyx.git] / src / tex2lyx / test / test-modules.lyx.lyx
index 1674124233e2b1da5b32766c3de5ba02201fc287..35f583759b10368f049bea733f5f5f54253bf58f 100644 (file)
@@ -1,11 +1,20 @@
-#LyX file created by tex2lyx 2.1.0dev
-\lyxformat 452
+#LyX file created by tex2lyx 2.2
+\lyxformat 495
 \begin_document
 \begin_header
+\origin roundtrip
 \textclass amsart
 \begin_preamble
+\numberwithin{equation}{section} %% Comment out for sequentially-numbered
+\numberwithin{figure}{section} %% Comment out for sequentially-numbered
+\providecommand{\theoremname}{Theorem}
+\theoremstyle{plain}
+\newtheorem{lem}[thm]{Lemma}
+
 \usepackage{babel}
 
+
+
 \end_preamble
 \use_default_options false
 \begin_modules
@@ -14,7 +23,7 @@ theorems-ams
 \maintain_unincluded_children false
 \language english
 \language_package default
-\inputencoding latin9
+\inputencoding iso8859-15
 \fontencoding T1
 \font_roman default
 \font_sans default
@@ -38,13 +47,16 @@ theorems-ams
 \use_geometry false
 \use_package amsmath 1
 \use_package amssymb 0
+\use_package cancel 0
 \use_package esint 1
 \use_package mathdots 0
 \use_package mathtools 0
 \use_package mhchem 0
+\use_package stackrel 0
+\use_package stmaryrd 0
 \use_package undertilde 0
 \cite_engine basic
-\cite_engine_type numerical
+\cite_engine_type default
 \biblio_style plain
 \use_bibtopic false
 \use_indices false
@@ -86,17 +98,7 @@ The theorem is recognized is a style provided by the module theorems-ams, since
 \end_layout
 
 \begin_layout Standard
-The lemma is not recognized as a command provided by a module, since the preamble code is from an older version of 
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-LyX
-\end_layout
-
-\end_inset
-
-, and modules are only loaded if the preamble code matches (otherwise you could easily get completely different output for some often used names like 
+The lemma is not recognized as a command provided by a module, since the preamble code is from an older version of LyX, and modules are only loaded if the preamble code matches (otherwise you could easily get completely different output for some often used names like 
 \backslash
 theorem.
 \end_layout
@@ -110,7 +112,7 @@ The proof is recognized as a builtin style provided by the text class.
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 begin{lem}
@@ -122,7 +124,7 @@ begin{lem}
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \backslash
 end{lem}