mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
parent
c1e38c4f6c
commit
5ed01cd616
@ -509,9 +509,12 @@ void InsetMathScript::write(TeXMathStream & os) const
|
||||
{
|
||||
MathEnsurer ensurer(os);
|
||||
|
||||
if (!nuc().empty())
|
||||
if (!nuc().empty()) {
|
||||
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");
|
||||
else
|
||||
os << "{}";
|
||||
|
Loading…
Reference in New Issue
Block a user