mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 13:04:58 +00:00
Get math within text working for XHTML export.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38193 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
17f1b1d04a
commit
707d369d72
@ -72,7 +72,19 @@ void InsetMathEnsureMath::write(WriteStream & os) const
|
|||||||
|
|
||||||
void InsetMathEnsureMath::mathmlize(MathStream & os) const
|
void InsetMathEnsureMath::mathmlize(MathStream & os) const
|
||||||
{
|
{
|
||||||
|
os << "[EM]";
|
||||||
|
SetMode mathmode(os, false);
|
||||||
os << cell(0);
|
os << cell(0);
|
||||||
|
os << "[/EM]";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void InsetMathEnsureMath::htmlize(HtmlStream & os) const
|
||||||
|
{
|
||||||
|
os << "[EM]";
|
||||||
|
SetHTMLMode mathmode(os, false);
|
||||||
|
os << cell(0);
|
||||||
|
os << "[/EM]";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -38,6 +38,8 @@ public:
|
|||||||
///
|
///
|
||||||
void mathmlize(MathStream &) const;
|
void mathmlize(MathStream &) const;
|
||||||
///
|
///
|
||||||
|
void htmlize(HtmlStream &) const;
|
||||||
|
///
|
||||||
void infoize(odocstream & os) const;
|
void infoize(odocstream & os) const;
|
||||||
///
|
///
|
||||||
InsetCode lyxCode() const { return MATH_ENSUREMATH_CODE; }
|
InsetCode lyxCode() const { return MATH_ENSUREMATH_CODE; }
|
||||||
|
Loading…
Reference in New Issue
Block a user