The following patch to scrclass.inc provides a better coherence between
KOMA- and non-KOMA classes.

Advantages:

* Uniform GUI names (no need to translate Labeling)

* Prevent hard to find error if a Style in a module uses

    CopyStyle             List

  (with document-class set to one of the KOMA classes, such a style will
  silently dissapear from the selection list and occurences in a document
  will be converted to labeling)

Please consider this for inclusion

Günter


--- /usr/local/src/lyx-devel/lib/layouts/scrclass.inc   2008-10-20 
09:22:58.000000000 +0200
+++ /usr/local/share/lyx16/layouts/scrclass.inc 2008-10-24 12:37:13.000000000 
+0200
@@ -3,11 +3,11 @@
 # Bernd Rellermeyer <[EMAIL PROTECTED]>, 1998/7/23.
 # Update for Koma Script Release >=2.8q
 # Juergen Spitzmueller <[EMAIL PROTECTED]>, 2003/2/08.
-# Mapped List to Labeling
-# Guenter Milde <g.milde web.de>
+# Mapped List to Labeling (Guenter Milde)
+# Mapped Labeling to List for better coherence
+# Guenter Milde <[EMAIL PROTECTED]>,  2008-10-24.
 
-
-Format 10
+Format 8
 SecNumDepth             2
 TocDepth                2
 DefaultStyle            Standard
@@ -30,7 +30,8 @@
        EndFont
 End
 
-Style Labeling
+# KOMA Script provides 'labeling' with the features of 'lyxlist'
+Style List
        CopyStyle             List
        LatexName             labeling
        # overwrite the preamble code definition
@@ -38,8 +39,8 @@
        EndPreamble
 End
 
-Style List
-       Obsoletedby           Labeling
+Style Labeling
+       Obsoletedby           List
 End
 
 Input stdsections.inc

Reply via email to