]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/scrclass.inc
Fix #8201: our translation mechanism chokes on the character "
[lyx.git] / lib / layouts / scrclass.inc
index a0c77e1ca3b1d7fc97c7d844208911d13c4d7afc..bd3040b8a659ad526391be40edb78f0942b34918 100644 (file)
@@ -4,10 +4,11 @@
 # Update for Koma Script Release >=2.8q
 # Juergen Spitzmueller <j.spitzmueller@gmx.de>, 2003/2/08.
 # Mapped List to Labeling
-# Guenter Milde <g.milde web.de>
+# Guenter Milde <milde users.berlios.de>, 2009-02-02
+# Labeling is now used also in non-KOMA classes
 
 
-Format 30
+Format 36
 SecNumDepth             2
 TocDepth                2
 DefaultStyle            Standard
@@ -39,17 +40,12 @@ Style Description
 End
 
 Style Labeling
-       CopyStyle             List
        LatexName             labeling
        # overwrite the preamble code definition
        Preamble
        EndPreamble
 End
 
-Style List
-       Obsoletedby           Labeling
-End
-
 Input stdsections.inc
 
 Style Part
@@ -114,18 +110,21 @@ Input stdstarsections.inc
 Style Addpart
        CopyStyle             Part*
        LatexName             addpart
+       OptionalArgs          1
 End
 
 
 Style Addchap
        CopyStyle             Chapter*
        LatexName             addchap
+       OptionalArgs          1
 End
 
 
 Style Addsec
        CopyStyle             Section*
        LatexName             addsec
+       OptionalArgs          1
 End
 
 
@@ -142,6 +141,7 @@ End
 
 
 Style Minisec
+       Category              Section
        LatexType             Command
        LatexName             minisec
        NeedProtect           1
@@ -252,6 +252,7 @@ End
 Input stdlayouts.inc
 
 Style Captionabove
+       Category              Captions
        Margin                First_Dynamic
        LatexType             Command
        LatexName             caption
@@ -271,6 +272,7 @@ End
 
 
 Style Captionbelow
+       Category              Captions
        Margin                First_Dynamic
        LatexType             Command
        LatexName             caption
@@ -290,6 +292,7 @@ End
 
 
 Style Dictum
+       Category             MainText
        Margin               Right_Address_Box
        LatexType            Command
        LatexName            dictum