]> git.lyx.org Git - features.git/blobdiff - lib/layouts/lyxmacros.inc
DocBook: implement other letter classes (frletter, standard letter, KOMA-Script).
[features.git] / lib / layouts / lyxmacros.inc
index 6376006a117bfc058b5cb1fe0fbd4f5bb525e2bc..3f5729e975793e710fde04c44fc5585fd53c8817 100644 (file)
@@ -8,7 +8,7 @@
 # be removed later.
 
 
-Format 7
+Format 85
 Style LyX-Code
        Category              MainText
        Margin                Static
@@ -25,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
@@ -38,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
@@ -62,6 +66,7 @@ End
 
 
 Style Right_Address
+       Category              FrontMatter
        Margin                Right_Address_Box
        LatexType             Command
        LatexName             lyxrightaddress