Post by Scott KostyshakIndeed, examples/beamer.lyx roundtrip is broken for me. After the
roundtrip conversion I get the "Buffer... ended unexpectedly, which
means that it is probably corrupted" error. This was working a day or
two ago.
Try again. The file should at least open again now (I tried with the
complex beamerlyxexample1, which failed for me before).
The reason why it does not convert to a file that compiles without LaTeX
errors is that the frame arguments in the reverted documents use ERT for
the delimiters only (not for the arguments themselves), and we do not
support this in conversion (see FIXME in the convert_beamerframeargs
routine). I have started to work on this, but it is extremely complex.
Attached is a patch that sort of works _except_ for the case where
arguments are separated in two different ERTS, that is -- () means: in ERT:
(<)arg(>[)arg(])
works now, while
(<)arg(>)([)arg(])
does not yet. See attached patch. The crucial missing bit is the
ertcontdivline thing, which would need to take the above into account. But
I am running out of time.
JÃŒrgen