fix importing of grave accents

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10381 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2005-08-01 20:36:52 +00:00
parent a9ec2ab3df
commit c7ae6a7bc8
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* text.C (parse_text): add forgotten \` accent.
2005-07-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* context.[Ch] (~Context): new, warn about ignored extra stuff

View File

@ -1965,8 +1965,9 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
else if (t.cs() == "=" && (flags & FLAG_TABBING))
handle_ert(os, t.asInput(), context);
else if (t.cs() == "H" || t.cs() == "c" || t.cs() == "^" || t.cs() == "'"
|| t.cs() == "~" || t.cs() == "." || t.cs() == "=") {
else if (t.cs() == "H" || t.cs() == "c" || t.cs() == "^"
|| t.cs() == "'" || t.cs() == "`"
|| t.cs() == "~" || t.cs() == "." || t.cs() == "=") {
// we need the trim as the LyX parser chokes on such spaces
context.check_layout(os);
os << "\n\\i \\" << t.cs() << "{"