The attached patch fixes bug 4795. ALso OK for branch?

regards Uwe
Index: text.cpp
===================================================================
--- text.cpp	(revision 24514)
+++ text.cpp	(working copy)
@@ -1884,6 +1884,11 @@
 			os << "\n\\" << t.cs() << " default\n";
 		}
 
+		else if (t.cs() == "lyxline") {
+			context.check_layout(os);
+			os << "\\lyxline";
+		}
+
 		else if (use_natbib &&
 			 is_known(t.cs(), known_natbib_commands) &&
 			 ((t.cs() != "citefullauthor" &&

Reply via email to