From: Uwe Stöhr Date: Wed, 26 Oct 2011 13:37:32 +0000 (+0000) Subject: tex2lyx/text.cpp: fix 2 typos X-Git-Tag: 2.1.0beta1~2475 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=dc7a53aeb46b6f3f3d76b183c7036860312a9021;p=features.git tex2lyx/text.cpp: fix 2 typos git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40012 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/tex2lyx/test/test-insets.tex b/src/tex2lyx/test/test-insets.tex index 0aa90c45e9..f6b09391cc 100644 --- a/src/tex2lyx/test/test-insets.tex +++ b/src/tex2lyx/test/test-insets.tex @@ -323,9 +323,9 @@ test test\phantom{Wow}test -test\phantom{\textcolor{green}{W}\textbf{ow}\textsuperscript{Wow}}test +test\hphantom{\textcolor{green}{W}\textbf{ow}\textsuperscript{Wow}}test -test\phantom{Wow\textbackslash{}\&\%}test +test\vphantom{Wow\textbackslash{}\&\%}test $test\hphantom{Wow}test$ diff --git a/src/tex2lyx/text.cpp b/src/tex2lyx/text.cpp index db91970fb5..7ca373d9cd 100644 --- a/src/tex2lyx/text.cpp +++ b/src/tex2lyx/text.cpp @@ -2471,9 +2471,9 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer, if (t.cs() == "phantom") begin_inset(os, "Phantom Phantom\n"); if (t.cs() == "hphantom") - begin_inset(os, "Phantom Hhantom\n"); + begin_inset(os, "Phantom HPhantom\n"); if (t.cs() == "vphantom") - begin_inset(os, "Phantom Vhantom\n"); + begin_inset(os, "Phantom VPhantom\n"); os << "status open\n"; parse_text_in_inset(p, os, FLAG_ITEM, outer, context); end_inset(os);