]> git.lyx.org Git - lyx.git/commitdiff
Partial fix for bug 2420
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Sat, 22 Jul 2006 20:20:51 +0000 (20:20 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Sat, 22 Jul 2006 20:20:51 +0000 (20:20 +0000)
* src/tex2lyx/preamble.C
(parse_preamble): ignore the definition of the lyxgreyedout
environment

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14495 a592a061-630c-0410-9148-cb99ea01b6c8

src/tex2lyx/preamble.C

index c8d3af3ff7e141a2c8ba548a8e61e96600f4d7dd..a68d279d571988353173f88901d890e8c5411ac5 100644 (file)
@@ -406,7 +406,8 @@ LyXTextClass const parse_preamble(Parser & p, ostream & os, string const & force
                        ss << '{' << p.verbatim_item() << '}';
                        ss << '{' << p.verbatim_item() << '}';
                        if (name != "lyxcode" && name != "lyxlist" &&
-                           name != "lyxrightadress" && name != "lyxaddress")
+                           name != "lyxrightadress" &&
+                           name != "lyxaddress" && name != "lyxgreyedout")
                                h_preamble << ss.str();
                }