Partial fix for bug 2420 (backport of changeset 14495 from G. Baum)

* src/tex2lyx/preamble.C
	(parse_preamble): ignore the definition of the lyxgreyedout
	environment



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14569 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2006-08-08 13:12:07 +00:00
parent 1aea39cb93
commit 41e2e9cea1
3 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-03-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* preamble.C (parse_preamble): ignore the definition of the
lyxgreyedout environment (part of bug 2420)
2006-03-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* math.C (parse_math): Parse \tag and \tag* correctly

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

View File

@ -28,6 +28,9 @@ What's new
- Fix crash when importing LaTeX files with no text (bug 2667)
- Ignore definition of lyxgreyout environment when re-importing a LyX
generated LaTeX file (part of bug 2420)
* User Interface:
- Show an error box when failing to update the TeX Information dalog data.