Dear LyX developers,

The following patch to scrclass.inc improves the compatibility between scr
(koma) and standard classes.

The koma environment "labeling" is virtually equivalent to the lyxlist, so
both should mapt to the same paragraph style "List".

The patch also obsoletes the file scrmacros.inc, that could be
removed.

Günter

--- /usr/src/lyx-cvs/devel/lib/layouts/scrclass.inc     2005-05-23 
11:04:10.000000000 +0200
+++ /home/milde/.lyx/layouts/scrclass.inc       2005-06-09 13:05:41.000000000 
+0200
@@ -3,6 +3,8 @@
 # Bernd Rellermeyer <[EMAIL PROTECTED]>, 1998/7/23.
 # Update for Koma Script Release >=2.8q
 # Juergen Spitzmueller <[EMAIL PROTECTED]>, 2003/2/08.
+# Mapped Labeling to List
+# Guenter Milde <g.milde web.de>
 
 
 SecNumDepth             2
@@ -20,30 +22,23 @@
 Input stdcounters.inc
 Input stdfloats.inc
 
-NoStyle List
-
 Style Description
        LabelFont
          Family              Sans
        EndFont
 End
 
-Style Labeling
-       Margin                Manual
-       LatexType             List_Environment
-       LatexName             labeling
-       NextNoindent          1
-       LabelSep              xxx
-       ParSkip               0.4
-       TopSep                0.7
-       BottomSep             0.7
-       ParSep                0.5
-       Align                 Block
-       AlignPossible         Block, Left
-       LabelType             Manual
-       LabelString           00.00.0000
+# Use the labeling environment for (lyx)lists
+Style List
+  LatexName             labeling
+  # overwrite the preamble code definition
+  Preamble
+  EndPreamble
 End
 
+Style Labeling
+  Obsoletedby List
+End
 
 Input stdsections.inc
 
@@ -260,5 +255,4 @@
 End
 
 Input lyxmacros.inc
-Input scrmacros.inc
 



-- 
G.Milde web.de

Reply via email to