mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
DocBook: amend 34ea4080
@ for sorting is implemented at 34ea4080
, but the user was still shown a warning (now removed).
This commit is contained in:
parent
35a752e6db
commit
f4b0cf9b59
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user