diff --git a/src/BufferParams.cpp b/src/BufferParams.cpp index 6882883999..f89f0b4bd7 100644 --- a/src/BufferParams.cpp +++ b/src/BufferParams.cpp @@ -1745,14 +1745,15 @@ bool BufferParams::writeLaTeX(otexstream & os, LaTeXFeatures & features, IndicesList::const_iterator iend = indiceslist().end(); for (; iit != iend; ++iit) { pair indexname_latex = - features.runparams().encoding->latexString(iit->index(), features.runparams().dryrun); + features.runparams().encoding->latexString(iit->index(), + features.runparams().dryrun); if (!indexname_latex.second.empty()) { // issue a warning about omitted characters // FIXME: should be passed to the error dialog frontend::Alert::warning(_("Uncodable characters"), bformat(_("The following characters that are used in an index name are not\n" - "representable in the current encoding and therefore have been omitted:\n%1$s."), - indexname_latex.second)); + "representable in the current encoding and therefore have been omitted:\n%1$s."), + indexname_latex.second)); } lyxpreamble += "\\newindex["; lyxpreamble += indexname_latex.first; diff --git a/src/insets/InsetIndex.cpp b/src/insets/InsetIndex.cpp index 72f18feef8..4bb2d4dfa6 100644 --- a/src/insets/InsetIndex.cpp +++ b/src/insets/InsetIndex.cpp @@ -65,7 +65,7 @@ void InsetIndex::latex(otexstream & os, OutputParams const & runparams_in) const if (buffer().masterBuffer()->params().use_indices && !params_.index.empty() && params_.index != "idx") { os << "\\sindex["; - os << escape(params_.index); + os << escape(params_.index); os << "]{"; } else { os << "\\index";