X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex2lyx%2Ftest%2Ftest-modules.lyx.lyx;h=35f583759b10368f049bea733f5f5f54253bf58f;hb=9960709fc25756cce248d39ba9c99f1089d3e020;hp=537bb512baa9e9ac821cec46a008c0d9fffda4a1;hpb=9c55af4a223ce4db29d643251109e245665344bd;p=lyx.git diff --git a/src/tex2lyx/test/test-modules.lyx.lyx b/src/tex2lyx/test/test-modules.lyx.lyx index 537bb512ba..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.2 -\lyxformat 480 +\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