Enrico Forestieri wrote:
Try loading in 1.6 the LyX-example file attached to bug 3034:
http://bugzilla.lyx.org/attachment.cgi?id=1352&action=view
Conversion takes forever. Seems to be a lyx2lyx problem.
Fixed. There was a thinko in the convert_macro_global code that Uwe
added at r26964.
Uwe, this code looks fragile to me. Are we absolutely sure that the
"global" line would always be exactly six lines before the macro
definition, etc? I'd think there ought to be at least one other check,
say, for the ERT line. Another way to do this would be to look for ERT
that contained \global, then see if the next inset following it is a
FormulaMacro.
rh