]> git.lyx.org Git - features.git/commit
tex2lyx/Preamble.cpp: fix bug #9561
authorUwe Stöhr <uwestoehr@lyx.org>
Sun, 24 May 2015 15:03:13 +0000 (17:03 +0200)
committerUwe Stöhr <uwestoehr@lyx.org>
Sun, 24 May 2015 15:03:13 +0000 (17:03 +0200)
commit041a3add6c044132ef42e2f7be77dc63214159ef
tree62b20d20d7f7da41dcc4989a8c8d07c5d4edb7c7
parent259400325edb905fd31d558c922b88d6849ae2bd
tex2lyx/Preamble.cpp: fix bug #9561

there were 2 issues:
- the body was not output to the Preamble
- the theorem module already defines a theorem. It must not be output to the preamble to avoid a redefinition error of LaTeX

update the test files accordingly
src/tex2lyx/Preamble.cpp
src/tex2lyx/test/test-modules.lyx.lyx
src/tex2lyx/test/test-modules.tex