]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/memoir.layout
Update tex2lyx test files
[lyx.git] / lib / layouts / memoir.layout
index b9307def58b8dd0b45388cb6d3472ef31c24b6af..af04f6713b9326c431ce32363ab114016cab79cc 100644 (file)
@@ -1,12 +1,13 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[memoir]{book (Memoir)}
+#  \DeclareLaTeXClass[memoir]{Memoir}
+#  \DeclareCategory{Books}
 # Memoir textclass definition file
 # Author: Jürgen Spitzmüller <spitzmueller@gmx.de>
 # Improvements by: Bennett Helm <bennett.helm@fandm.edu>
 # feel free to contribute missing features!
 
 
-Format 26
+Format 40
 Columns            1
 Sides              2
 SecNumDepth        1
@@ -15,6 +16,7 @@ DefaultStyle       Standard
 PageStyle          Headings
 Provides makeidx   1
 Provides framed    1
+Provides subscript 1
 # Memoir has support for line spacing, but uses different names from
 # what setspace.sty does.  
 Provides SetSpace  1
@@ -48,9 +50,16 @@ Input stdstarsections.inc
 Input numreport.inc
 
 
+Style Part
+       OptionalArgs         1
+       TocLevel             -1
+End
+       
+
+
 Style Chapter
        OptionalArgs         2
-       TocLevel 0
+       TocLevel             0
 End
 
 
@@ -108,8 +117,9 @@ Style Chapterprecis
        EndFont
 End
 
-
+#FIXME: this takes two parameters!!!
 Style Epigraph
+       Category              Maintext
        Margin                Right_Address_Box
        LatexType             Command
        LatexName             epigraph
@@ -119,8 +129,10 @@ Style Epigraph
        Align                 Left
 End
 
-
+#FIXME: what is actually documented is \PoemTitle
+#but \poemtitle is defined nevertheless. Weird.
 Style Poemtitle
+       Category              Section
        LatexType             Command
        LatexName             poemtitle
        NeedProtect           1
@@ -139,6 +151,7 @@ End
 
 Style Poemtitle*
        CopyStyle             Poemtitle
+       Category              Unnumbered
        LatexName             poemtitle*
        OptionalArgs          0
 End
@@ -162,6 +175,7 @@ Input lyxmacros.inc
 Input stdlayouts.inc
 
 Style Legend
+       Category            Maintext
        LatexType           Command
        LatexName           legend
        NeedProtect         1