]> git.lyx.org Git - features.git/commitdiff
Fix bug #6631: tex2lyx doesn't handle \textquotedbl{} nicely.
authorVincent van Ravesteijn <vfr@lyx.org>
Thu, 1 Apr 2010 22:49:52 +0000 (22:49 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Thu, 1 Apr 2010 22:49:52 +0000 (22:49 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34010 a592a061-630c-0410-9148-cb99ea01b6c8

src/tex2lyx/text.cpp

index b70e1e4686b0787906bbf64c94b4e809a252c774..88515f0ac62320b4c8bd41e8e3e229670ba24a60 100644 (file)
@@ -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";