This commit is contained in:
Juergen Spitzmueller 2022-02-17 08:21:36 +01:00
parent 266a5e04d4
commit 755146287c

View File

@ -149,7 +149,7 @@ void InsetIndex::latex(otexstream & ios, OutputParams const & runparams_in) cons
// version of the content to get sorting right, // version of the content to get sorting right,
// e.g. \index{LyX@\LyX}, \index{text@\textbf{text}}. // e.g. \index{LyX@\LyX}, \index{text@\textbf{text}}.
// We do this on all levels. // We do this on all levels.
// We don't do it if the level already contains a '@', thouugh. // We don't do it if the level already contains a '@', though.
if (contains(*it, '\\') && !contains(*it, '@')) { if (contains(*it, '\\') && !contains(*it, '@')) {
// Plaintext might return nothing (e.g. for ERTs). // Plaintext might return nothing (e.g. for ERTs).
// In that case, we use LaTeX. // In that case, we use LaTeX.