]> 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 8cd8b65f46c8a6d3f43137b1d99cc1ac0a1b0965..35f583759b10368f049bea733f5f5f54253bf58f 100644 (file)
@@ -1,11 +1,20 @@
-#LyX file created by tex2lyx 2.1.0
-\lyxformat 474
+#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
@@ -89,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 Plain Layout
-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