]> git.lyx.org Git - lyx.git/commit
Encodings::fromLaTeXCommand: if the command directly maps an entry of unicodesymbols...
authorThibaut Cuvelier <tcuvelier@lyx.org>
Sat, 19 Feb 2022 01:23:52 +0000 (02:23 +0100)
committerThibaut Cuvelier <tcuvelier@lyx.org>
Mon, 21 Feb 2022 17:24:26 +0000 (18:24 +0100)
commit4cab1a77d20d3db8769862da5afe12879a9f8bb3
tree68f16c2455fb6a60f471e2a7498777b23b64e272
parent0cde3dce12cd2be875f700ae3c1a175db595a2b7
Encodings::fromLaTeXCommand: if the command directly maps an entry of unicodesymbols, use it and bypass most of the logic.

This is important for commands like !`, that are equivalent to \textexclamdown. However, ! is matched earlier, because the logic works with prefixes, hence the output doesn't make sense.
autotests/export/docbook/ert_convert.xml
src/Encoding.cpp