Fix tex2lyx import of \LaTeXe

Previously, it did generate an invalid SpecialChar inset.
This commit is contained in:
Georg Baum 2015-03-22 17:56:07 +01:00
parent c2f785bdcc
commit 19297a891c
2 changed files with 2 additions and 2 deletions

View 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

View 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};
/*!