]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/lyxmacros.inc
Make continuous spellcheck the default.
[lyx.git] / lib / layouts / lyxmacros.inc
index ee1eb8c5835ef54e848363e750e9e7e5d9a81a96..08b18e30a8f6d68349b912e2000a7e2096bd57f8 100644 (file)
@@ -8,8 +8,9 @@
 # be removed later.
 
 
-Format 5
+Format 93
 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
@@ -37,10 +38,14 @@ Style LyX-Code
        Font
          Family              Typewriter
        EndFont
+       DocBookTag            programlisting
+    DocBookTagType        paragraph
+       DocBookAttr                       language='lyx'
 End
 
 
 Style Address
+       Category              FrontMatter
        Margin                Static
        LatexType             Command
        LatexName             lyxaddress
@@ -57,10 +62,13 @@ Style Address
                        \noindent\par}
                }
        EndPreamble
+       DocBookTag            address
+       DocBookTagType        paragraph
 End
 
 
 Style Right_Address
+       Category              FrontMatter
        Margin                Right_Address_Box
        LatexType             Command
        LatexName             lyxrightaddress
@@ -77,4 +85,7 @@ Style Right_Address
                        \par}
                }
        EndPreamble
+       DocBookTag            address
+       DocBookTagType        paragraph
+       DocBookAttr           role='right-address'
 End