From f4b0cf9b599c0994c0e8c60390a65d57d5f7262a Mon Sep 17 00:00:00 2001 From: Thibaut Cuvelier Date: Thu, 1 Sep 2022 01:13:47 +0200 Subject: [PATCH] DocBook: amend 34ea4080 @ for sorting is implemented at 34ea4080, but the user was still shown a warning (now removed). --- src/insets/InsetIndex.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/insets/InsetIndex.cpp b/src/insets/InsetIndex.cpp index 848d53026e..f463b19149 100644 --- a/src/insets/InsetIndex.cpp +++ b/src/insets/InsetIndex.cpp @@ -320,14 +320,6 @@ void InsetIndex::docbook(XMLStream & xs, OutputParams const & runparams) const InsetText::latex(ots, runparams); docstring latexString = trim(odss.str()); - // Check whether there are unsupported things. @ is supported, but only for sorting, without specific formatting. - if (latexString.find(from_utf8("@\\")) != lyx::docstring::npos) { - docstring error = from_utf8("Unsupported feature: an index entry contains an @\\. " - "Complete entry: \"") + latexString + from_utf8("\""); - LYXERR0(error); - xs << XMLStream::ESCAPE_NONE << (from_utf8("\n")); - } - // Handle several indices (indicated in the inset instead of the raw latexString). docstring indexType = from_utf8(""); if (buffer().masterBuffer()->params().use_indices) { -- 2.39.5