mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
parent
c1e38c4f6c
commit
5ed01cd616
@ -509,9 +509,12 @@ void InsetMathScript::write(TeXMathStream & os) const
|
|||||||
{
|
{
|
||||||
MathEnsurer ensurer(os);
|
MathEnsurer ensurer(os);
|
||||||
|
|
||||||
if (!nuc().empty())
|
if (!nuc().empty()) {
|
||||||
os << nuc();
|
os << nuc();
|
||||||
else if (os.firstitem())
|
// Avoid double superscript errors (bug #1633)
|
||||||
|
if (os.latex() && hasUp() && nuc().back()->getChar() == '\'')
|
||||||
|
os << "{}";
|
||||||
|
} else if (os.firstitem())
|
||||||
LYXERR(Debug::MATHED, "suppressing {} when writing");
|
LYXERR(Debug::MATHED, "suppressing {} when writing");
|
||||||
else
|
else
|
||||||
os << "{}";
|
os << "{}";
|
||||||
|
Loading…
Reference in New Issue
Block a user