]> git.lyx.org Git - features.git/commitdiff
Fix tex2lyx import of \LaTeXe
authorGeorg Baum <baum@lyx.org>
Sun, 22 Mar 2015 16:56:07 +0000 (17:56 +0100)
committerGeorg Baum <baum@lyx.org>
Mon, 23 Mar 2015 19:52:51 +0000 (20:52 +0100)
Previously, it did generate an invalid SpecialChar inset.

src/tex2lyx/test/test-insets.lyx.lyx
src/tex2lyx/text.cpp

index 1fb8cdc696f37fd11f9b5d1e6799be107edb85e9..422775d890e95b41a624ba7c8d3f54df93ba274f 100644 (file)
@@ -6766,7 +6766,7 @@ status collapsed
 \begin_layout Standard
 LyX translates the phrases LyX, TeX, LaTeX2e and LaTeX to the commands \SpecialChar \LyX
 , \SpecialChar \TeX
-, \SpecialChar \LaTeXe
+, \SpecialChar \LaTeX2e
  and \SpecialChar \LaTeX
 . If these phrases occur as part of other words (like 1LyX or aTeX or LaTeX3) they should not be put into ERT.
 \end_layout
index 68f4ec9dd051086b5beec66cee8d68240fef63b0..6a67b58f0be26dac52da06d5ff65e5d4d52937ef 100644 (file)
@@ -261,7 +261,7 @@ char const * const known_special_protect_chars[] = {"LyX", "TeX",
 char const * const known_coded_special_chars[] = {"\\SpecialChar \\ldots{}\n",
 "\\SpecialChar \\menuseparator\n", "\\SpecialChar \\textcompwordmark{}\n",
 "\\SpecialChar \\slash{}\n", "~", "^", "\n\\backslash\n",
-"\\SpecialChar \\LyX\n", "\\SpecialChar \\TeX\n", "\\SpecialChar \\LaTeXe\n",
+"\\SpecialChar \\LyX\n", "\\SpecialChar \\TeX\n", "\\SpecialChar \\LaTeX2e\n",
 "\\SpecialChar \\LaTeX\n", 0};
 
 /*!