X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex2lyx%2Ftest%2Ftest-modules.lyx.lyx;h=35f583759b10368f049bea733f5f5f54253bf58f;hb=9960709fc25756cce248d39ba9c99f1089d3e020;hp=40bab9519949ea3f1f27515c786f509a590d3509;hpb=c61ef8b205ee0fb6473af0f120c359e7d1ebe83c;p=lyx.git diff --git a/src/tex2lyx/test/test-modules.lyx.lyx b/src/tex2lyx/test/test-modules.lyx.lyx index 40bab95199..35f583759b 100644 --- a/src/tex2lyx/test/test-modules.lyx.lyx +++ b/src/tex2lyx/test/test-modules.lyx.lyx @@ -1,11 +1,20 @@ -#LyX file created by tex2lyx 2.1.0dev -\lyxformat 469 +#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 @@ -47,7 +56,7 @@ theorems-ams \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 @@ -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