Partial fix for bug 2420

* 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
This commit is contained in:
Georg Baum 2006-07-22 20:20:51 +00:00
parent 9769d01183
commit 6a4f2b40db

View 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();
}