From dc7a53aeb46b6f3f3d76b183c7036860312a9021 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Wed, 26 Oct 2011 13:37:32 +0000 Subject: [PATCH] tex2lyx/text.cpp: fix 2 typos git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40012 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/tex2lyx/test/test-insets.tex | 4 ++-- src/tex2lyx/text.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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); -- 2.39.2