commit f4b0cf9b599c0994c0e8c60390a65d57d5f7262a
Author: Thibaut Cuvelier <tcuvel...@lyx.org>
Date:   Thu Sep 1 01:13:47 2022 +0200

    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 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/src/insets/InsetIndex.cpp b/src/insets/InsetIndex.cpp
index 848d530..f463b19 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("<!-- Output Error: 
") + error + 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) {
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to