This one fixes the layout of wrap floats, which currently do not find their 
InsetLayout (and thus have this ugly red background).

Jürgen
Index: src/insets/InsetWrap.cpp
===================================================================
--- src/insets/InsetWrap.cpp	(Revision 27887)
+++ src/insets/InsetWrap.cpp	(Arbeitskopie)
@@ -62,7 +62,7 @@
 
 docstring InsetWrap::name() const
 {
-	return from_utf8(params_.type);
+	return "Wrap:" + from_utf8(params_.type);
 }
 
 
Index: lib/layouts/stdinsets.inc
===================================================================
--- lib/layouts/stdinsets.inc	(Revision 27887)
+++ lib/layouts/stdinsets.inc	(Arbeitskopie)
@@ -236,6 +236,14 @@
 	MultiPar              true
 End
 
+InsetLayout Wrap
+	LabelFont
+	  Color               collapsable
+	  Size                Small
+	EndFont
+	MultiPar              true
+End
+
 InsetLayout URL
 	LyXType               standard
 	LatexName             url

Reply via email to