Correctly categorize a textmode symbol in mathed.

(cherry picked from commit c2af2cfd94)
This commit is contained in:
Enrico Forestieri 2019-03-24 17:28:01 +01:00
parent 4c53ac82bd
commit f836783908
2 changed files with 5 additions and 1 deletions

View File

@ -306,10 +306,11 @@ bool Encodings::latexMathChar(char_type c, bool mathmode,
if (!encoding || command.empty()) {
command = it->second.textcommand();
needsTermination = !it->second.textnotermination();
addTextCmd(c);
}
if (mathmode)
addMathSym(c);
else
addTextCmd(c);
}
return use_math;
}

View File

@ -102,6 +102,9 @@ What's new
- Correctly add the branch name suffix when the stem of the filename
contains a dot (bug 11490).
- Load required packages to correctly typeset unicode symbols entered
in math mode (bug 11526).
* USER INTERFACE