This is not needed, since LyX supports comments in math. Data loss with math
comments containing a backslash in LyX has been fixed as well.
The test case was found in bug #8104.
Token const & t = getToken();
if (t.cat() == catNewline)
break;
- s += t.asString();
+ s += t.asInput();
}
cell->push_back(MathAtom(new InsetMathComment(buf, s)));
skipSpaces();
else if (t.cat() == catComment) {
if (!t.cs().empty())
- cerr << "Ignoring comment: " << t.asInput();
+ os << t.asInput();
else
// "%\n" combination
p.skip_spaces();
A sub\textsubscript{sc\emph{ript}} and super\textsuperscript{script
with $a^2+b^2=c^2$ math}.
+\section{Mathematics\index{Mathematics}}
+
+Let $f:\left[ a,b\right] \rightarrow%
+%TCIMACRO{\U{211d} }%
+%BeginExpansion
+\mathbb{R}
+%EndExpansion
+$.
+
\printindex{}
\printnomenclature hello