]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/lyxmacros.inc
Fix a bug involving module conflicts. We need to check not only that we
[lyx.git] / lib / layouts / lyxmacros.inc
index 2f4d1590949aeda5603448ae557f3cccda8bdf4d..f96f1ce5f14abb3b5346904c2e7592995f33a0ce 100644 (file)
@@ -8,8 +8,9 @@
 # be removed later.
 
 
-Format 6
+Format 10
 Style LyX-Code
+       Category              MainText
        Margin                Static
        LatexType             Environment
        LatexName             lyxcode
@@ -24,7 +25,7 @@ Style LyX-Code
        FreeSpacing           1
        Preamble
                \newenvironment{lyxcode}
-                       {\begin{list}{}{
+                       {\par\begin{list}{}{
                                \setlength{\rightmargin}{\leftmargin}
                                \setlength{\listparindent}{0pt}% needed for AMS classes
                                \raggedright