From ba97587b16ab5f0f265cf693a7b4da7636403b38 Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Thu, 1 Apr 2010 22:49:52 +0000 Subject: [PATCH] Fix bug #6631: tex2lyx doesn't handle \textquotedbl{} nicely. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34010 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/tex2lyx/text.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/tex2lyx/text.cpp b/src/tex2lyx/text.cpp index b70e1e4686..88515f0ac6 100644 --- a/src/tex2lyx/text.cpp +++ b/src/tex2lyx/text.cpp @@ -2265,6 +2265,12 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer, skip_braces(p); } + else if (t.cs() == "textquotedbl") { + context.check_layout(os); + os << "\""; + skip_braces(p); + } + else if (t.cs() == "@" && p.next_token().asInput() == ".") { context.check_layout(os); os << "\\SpecialChar \\@.\n";