mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-08 18:19:42 +00:00
Fix tex2lyx import of \LaTeXe
Previously, it did generate an invalid SpecialChar inset.
This commit is contained in:
parent
c2f785bdcc
commit
19297a891c
@ -6766,7 +6766,7 @@ status collapsed
|
|||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
LyX translates the phrases LyX, TeX, LaTeX2e and LaTeX to the commands \SpecialChar \LyX
|
LyX translates the phrases LyX, TeX, LaTeX2e and LaTeX to the commands \SpecialChar \LyX
|
||||||
, \SpecialChar \TeX
|
, \SpecialChar \TeX
|
||||||
, \SpecialChar \LaTeXe
|
, \SpecialChar \LaTeX2e
|
||||||
and \SpecialChar \LaTeX
|
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.
|
. If these phrases occur as part of other words (like 1LyX or aTeX or LaTeX3) they should not be put into ERT.
|
||||||
\end_layout
|
\end_layout
|
||||||
|
@ -261,7 +261,7 @@ char const * const known_special_protect_chars[] = {"LyX", "TeX",
|
|||||||
char const * const known_coded_special_chars[] = {"\\SpecialChar \\ldots{}\n",
|
char const * const known_coded_special_chars[] = {"\\SpecialChar \\ldots{}\n",
|
||||||
"\\SpecialChar \\menuseparator\n", "\\SpecialChar \\textcompwordmark{}\n",
|
"\\SpecialChar \\menuseparator\n", "\\SpecialChar \\textcompwordmark{}\n",
|
||||||
"\\SpecialChar \\slash{}\n", "~", "^", "\n\\backslash\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};
|
"\\SpecialChar \\LaTeX\n", 0};
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
Loading…
Reference in New Issue
Block a user