mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 05:33:33 +00:00
octavize & mathmlize for math macros
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3035 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b0a9053e7f
commit
7348a42d8f
@ -202,6 +202,22 @@ void MathMacro::maplize(MapleStream & os) const
|
||||
}
|
||||
|
||||
|
||||
void MathMacro::mathmlize(MathMLStream & os) const
|
||||
{
|
||||
expanded_ = tmplate_->xcell(0);
|
||||
expanded_.data_.substitute(*this);
|
||||
::mathmlize(expanded_.data_, os);
|
||||
}
|
||||
|
||||
|
||||
void MathMacro::octavize(OctaveStream & os) const
|
||||
{
|
||||
expanded_ = tmplate_->xcell(0);
|
||||
expanded_.data_.substitute(*this);
|
||||
::octavize(expanded_.data_, os);
|
||||
}
|
||||
|
||||
|
||||
void MathMacro::normalize(NormalStream & os) const
|
||||
{
|
||||
os << "[macro " << name() << " ";
|
||||
|
@ -69,6 +69,10 @@ public:
|
||||
///
|
||||
void maplize(MapleStream &) const;
|
||||
///
|
||||
void mathmlize(MathMLStream &) const;
|
||||
///
|
||||
void octavize(OctaveStream &) const;
|
||||
///
|
||||
void write(WriteStream & os) const;
|
||||
|
||||
private:
|
||||
|
Loading…
Reference in New Issue
Block a user