From c7ae6a7bc8f061f2819fa99f2de12868b65aaf6f Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Mon, 1 Aug 2005 20:36:52 +0000 Subject: [PATCH] fix importing of grave accents git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10381 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/tex2lyx/ChangeLog | 4 ++++ src/tex2lyx/text.C | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/tex2lyx/ChangeLog b/src/tex2lyx/ChangeLog index cce1e4dcb0..c9d6adc7fb 100644 --- a/src/tex2lyx/ChangeLog +++ b/src/tex2lyx/ChangeLog @@ -1,3 +1,7 @@ +2005-07-30 Jean-Marc Lasgouttes + + * text.C (parse_text): add forgotten \` accent. + 2005-07-26 Georg Baum * context.[Ch] (~Context): new, warn about ignored extra stuff diff --git a/src/tex2lyx/text.C b/src/tex2lyx/text.C index 421fa701b0..fef1470114 100644 --- a/src/tex2lyx/text.C +++ b/src/tex2lyx/text.C @@ -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() << "{"