Jürgen Spitzmüller wrote:
> Which turned out to be another critical bug :-(
> http://bugzilla.lyx.org/show_bug.cgi?id=4046

Here's the fix. José, this was introduced with your latest cleanup.

Jürgen
Index: lib/lyx2lyx/lyx_1_5.py
===================================================================
--- lib/lyx2lyx/lyx_1_5.py	(Revision 19151)
+++ lib/lyx2lyx/lyx_1_5.py	(Arbeitskopie)
@@ -1900,7 +1900,7 @@
     spec_chars = read_unicodesymbols()
 
     # Define strings to start and end ERT and math insets
-    ert_intro='\n\n\\begin_inset ERT\nstatus collapsed\n\\begin_layout %s\n\\backslash' % document.default_layout
+    ert_intro='\n\n\\begin_inset ERT\nstatus collapsed\n\\begin_layout %s\n\\backslash\n' % document.default_layout
     ert_outro='\n\\end_layout\n\n\\end_inset\n'
     math_intro='\n\\begin_inset Formula $'
     math_outro='$\n\\end_inset'

Reply via email to