2014-05-13 19:22 GMT+02:00 Jürgen Spitzmüller:

> The attached fixes the thinko in the lyx2lyx method. However, I do not
> know what this method actually is supposed to convert, so I cannot really
> test if the conversion works. The respective commit (by Uwe) is this:
>
> http://www.lyx.org/trac/changeset/b42604c7aa0551c4761605f1e9131b05522c98b5/lyxgit
>

A closer look reveals that the convert_TeX_brace_to_Argument method itself
must be fixed. This method blindly searches for ERT insets from the
beginning line without considering whether the inset is in the current
paragraph. I suppose this will corrupt documents in many cases.

The conversion of Initial arguments probably fails due to the hard-wired
line-countings this method relies on.

I do not have time to fix any of this, though.

Jürgen

Reply via email to