]> git.lyx.org Git - features.git/commit
Fix bug #8552
authorGeorg Baum <baum@lyx.org>
Fri, 22 Feb 2013 21:21:56 +0000 (22:21 +0100)
committerGeorg Baum <baum@lyx.org>
Fri, 22 Feb 2013 21:21:56 +0000 (22:21 +0100)
commit48c9926d87aa1b6e1b2e9e3f7d9be7a673a27484
tree85a75d57faa4cc6276a53a32a9cad028a92cebc1
parentb59547ebd5cc16c749fe761ff46f0e2c4b45fcbf
Fix bug #8552

tex2lyx skips LyX preamble code only if it thinks that the file was created
by LyX (i.e. special comments are found). I don't like that, but this is
how it works and therefore the special comment neds to be added if the
theorem commands are to be skipped. This header makes also the temporary
setting of in_lyx_preamble obsolete, which caused skipping of user preamble
commands, which were not re-added by LyX.
src/tex2lyx/Preamble.cpp
src/tex2lyx/test/test-insets.lyx.lyx
src/tex2lyx/test/test-refstyle-theorems.lyx.lyx
src/tex2lyx/test/test-refstyle-theorems.tex