mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +00:00
DocBook: simplify building an error message.
This commit is contained in:
parent
c71f703914
commit
5dd36404f2
@ -450,7 +450,7 @@ void InsetIndex::docbook(XMLStream & xs, OutputParams const & runparams) const
|
||||
// TODO: Could handle formatting as significance="preferred"?
|
||||
if (!command.empty()) {
|
||||
docstring error = from_utf8("Unsupported feature: an index entry contains a | with an unsupported command, ")
|
||||
+ command + from_utf8(". ") + from_utf8("Complete entry: \"") + latexString + from_utf8("\"");
|
||||
+ command + from_utf8(". Complete entry: \"") + latexString + from_utf8("\"");
|
||||
LYXERR0(error);
|
||||
xs << XMLStream::ESCAPE_NONE << (from_utf8("<!-- Output Error: ") + error + from_utf8(" -->\n"));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user