From: Thibaut Cuvelier Date: Mon, 7 Feb 2022 00:02:19 +0000 (+0100) Subject: DocBook: in ERTs, recognise \oe. X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=cd82b125d1d9b52f16ea13c6d3bc9cae3022cec7;p=features.git DocBook: in ERTs, recognise \oe. --- diff --git a/src/insets/InsetERT.cpp b/src/insets/InsetERT.cpp index 7c231b313e..87abc632b8 100644 --- a/src/insets/InsetERT.cpp +++ b/src/insets/InsetERT.cpp @@ -142,6 +142,10 @@ void InsetERT::docbook(XMLStream & xs, OutputParams const & runparams) const xs << "LaTeX2ε"; } else if (trim(os.str()) == from_ascii("\\LyX") || trim(os.str()) == from_ascii("\\LyX{}")) { xs << "LyX"; + } else if (trim(os.str()) == from_ascii("\\oe") || trim(os.str()) == from_ascii("\\oe{}")) { + xs << "œ"; + } else if (trim(os.str()) == from_ascii("\\OE") || trim(os.str()) == from_ascii("\\OE{}")) { + xs << "Œ"; } else { xs << XMLStream::ESCAPE_NONE << "