X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Finsets%2FInsetSpecialChar.cpp;h=617c7f5331522e268954583207dbee2947da4c3b;hb=d8df5397ca45c7a979268e471cd732213c4a251c;hp=462620532b463b800befefa39e466719f07c5466;hpb=7f6f56f40ab4aab138621361ce90953b5f0ccbe4;p=lyx.git diff --git a/src/insets/InsetSpecialChar.cpp b/src/insets/InsetSpecialChar.cpp index 462620532b..617c7f5331 100644 --- a/src/insets/InsetSpecialChar.cpp +++ b/src/insets/InsetSpecialChar.cpp @@ -369,22 +369,23 @@ void InsetSpecialChar::latex(otexstream & os, os << "\\-"; break; case LIGATURE_BREAK: - os << "\\textcompwordmark{}"; + os << "\\textcompwordmark" << termcmd; break; case END_OF_SENTENCE: os << "\\@."; break; case LDOTS: - os << "\\ldots{}"; + os << "\\ldots" << termcmd; break; case MENU_SEPARATOR: if (rp.local_font->isRightToLeft()) - os << "\\lyxarrow*{}"; + os << "\\lyxarrow*"; else - os << "\\lyxarrow{}"; + os << "\\lyxarrow"; + os << termcmd; break; case SLASH: - os << "\\slash{}"; + os << "\\slash" << termcmd; break; case NOBREAKDASH: if (rp.moving_arg) @@ -394,22 +395,22 @@ void InsetSpecialChar::latex(otexstream & os, case PHRASE_LYX: if (rp.moving_arg) os << "\\protect"; - os << "\\LyX{}"; + os << "\\LyX" << termcmd; break; case PHRASE_TEX: if (rp.moving_arg) os << "\\protect"; - os << "\\TeX{}"; + os << "\\TeX" << termcmd; break; case PHRASE_LATEX2E: if (rp.moving_arg) os << "\\protect"; - os << "\\LaTeXe{}"; + os << "\\LaTeXe" << termcmd; break; case PHRASE_LATEX: if (rp.moving_arg) os << "\\protect"; - os << "\\LaTeX{}"; + os << "\\LaTeX" << termcmd; break; } }