]> 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 caa0d309ade7d6227999a8eacd62df650c52c473..35f583759b10368f049bea733f5f5f54253bf58f 100644 (file)
@@ -1,11 +1,20 @@
-#LyX file created by tex2lyx 2.1.0dev
-\lyxformat 446
+#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
@@ -74,51 +86,33 @@ theorems-ams
 \begin_body
 
 \begin_layout Standard
-
 This is a dummy file
 \end_layout
 
 \begin_layout Standard
-
 It has a theorem, a lemma and a proof.
 \end_layout
 
 \begin_layout Standard
-
 The theorem is recognized is a style provided by the module theorems-ams, since the preamble code matches.
 \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
 
 \begin_layout Standard
-
 The proof is recognized as a builtin style provided by the text class.
 \end_layout
 
 \begin_layout Standard
 
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 begin{lem}
@@ -130,8 +124,7 @@ begin{lem}
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 end{lem}
@@ -143,12 +136,10 @@ end{lem}
 \end_layout
 
 \begin_layout Theorem
-
 this is the theorem
 \end_layout
 
 \begin_layout Proof
-
 this is the proof 
 \end_layout