mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix bug #11526
Correctly categorize a textmode symbol in mathed.
(cherry picked from commit c2af2cfd94
)
This commit is contained in:
parent
4c53ac82bd
commit
f836783908
@ -306,10 +306,11 @@ bool Encodings::latexMathChar(char_type c, bool mathmode,
|
|||||||
if (!encoding || command.empty()) {
|
if (!encoding || command.empty()) {
|
||||||
command = it->second.textcommand();
|
command = it->second.textcommand();
|
||||||
needsTermination = !it->second.textnotermination();
|
needsTermination = !it->second.textnotermination();
|
||||||
addTextCmd(c);
|
|
||||||
}
|
}
|
||||||
if (mathmode)
|
if (mathmode)
|
||||||
addMathSym(c);
|
addMathSym(c);
|
||||||
|
else
|
||||||
|
addTextCmd(c);
|
||||||
}
|
}
|
||||||
return use_math;
|
return use_math;
|
||||||
}
|
}
|
||||||
|
@ -102,6 +102,9 @@ What's new
|
|||||||
- Correctly add the branch name suffix when the stem of the filename
|
- Correctly add the branch name suffix when the stem of the filename
|
||||||
contains a dot (bug 11490).
|
contains a dot (bug 11490).
|
||||||
|
|
||||||
|
- Load required packages to correctly typeset unicode symbols entered
|
||||||
|
in math mode (bug 11526).
|
||||||
|
|
||||||
|
|
||||||
* USER INTERFACE
|
* USER INTERFACE
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user