Uwe Stöhr wrote: > Am 16.05.2015 um 11:17 schrieb Georg Baum: > >> tex2lyx produces broken documents now. Running the tests gives lots of >> >> Lexer.cpp (936): Missing 'framecolor'-tag in InsetBoxParams::read. Got >> status instead. Line: 4026 >> Lexer.cpp (936): Missing 'backgroundcolor'-tag in InsetBoxParams::read. >> Got open instead. Line: 4027 >> Lexer.cpp (936): Missing 'status'-tag in InsetCollapsable::read. Got >> \begin_layout instead. Line: 4029 >> Text.cpp (1857): Handling unknown body token: `Standard' >> Text.cpp (1857): Handling unknown body token: `three' >> Text.cpp (1857): Handling unknown body token: `\end_layout' > > How can I reproduce that?
By running tex2lyx on the corresponding test case and then loading the result in LyX, or by running the tests using ctest. > Attached is a LyX 2.1.x file (hello.lyx) and > when I open that with LyX 2.2 or use > python lyx2lyx -t 492 hello.lyx > I get not error messages and the attached file hello2.lyx. We are talking about tex2lyx tests, not lyx2lyx. The reason for the failure is not difficult to find: You added new parameters to the box inset, but forgot to output these parameters in tex2lyx. The problem is not to forget something. The problem is to submit file format changes without running tex2lyx tests. Georg