Juergen Spitzmueller wrote:
> I think this one could go straight into BRANCH and HEAD.

the patch.

Jürgen
Index: lib/layouts/scrlettr.layout
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/layouts/scrlettr.layout,v
retrieving revision 1.8
diff -u -r1.8 scrlettr.layout
--- lib/layouts/scrlettr.layout	21 Oct 2005 16:11:34 -0000	1.8
+++ lib/layouts/scrlettr.layout	29 Jan 2006 12:22:13 -0000
@@ -13,8 +13,6 @@
 Input stdlists.inc
 Input stdcounters.inc
 
-NoStyle List
-
 
 Style Description
 	LabelFont
@@ -24,21 +22,16 @@
 
 
 Style Labeling
-	Margin                Manual
-	LatexType             List_Environment
+	CopyStyle             List
 	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"
+	# overwrite the preamble code definition
+	Preamble
+	EndPreamble
 End
 
+Style List
+	Obsoletedby           Labeling
+End
 
 Input stdlayouts.inc
 
Index: lib/layouts/scrlttr2.layout
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/layouts/scrlttr2.layout,v
retrieving revision 1.11
diff -u -r1.11 scrlttr2.layout
--- lib/layouts/scrlttr2.layout	21 Oct 2005 16:11:34 -0000	1.11
+++ lib/layouts/scrlttr2.layout	29 Jan 2006 12:22:13 -0000
@@ -23,22 +23,17 @@
 
 
 Style Labeling
-	Margin                Manual
-	LatexType             List_Environment
+	CopyStyle             List
 	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"
+	# overwrite the preamble code definition
+	Preamble
+	EndPreamble
+End
+
+Style List
+	Obsoletedby           Labeling
 End
 
-NoStyle List
 NoStyle Caption
 
 

Reply via email to