make naming a bit saner...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6150 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2003-02-14 14:30:09 +00:00
parent f5cc372223
commit c9e78a825b
52 changed files with 151 additions and 151 deletions

View File

@ -105,9 +105,9 @@ void MathArrayInset::normalize(NormalStream & os) const
}
void MathArrayInset::maplize(MapleStream & os) const
void MathArrayInset::maple(MapleStream & os) const
{
os << "array(";
MathGridInset::maplize(os);
MathGridInset::maple(os);
os << ')';
}

View File

@ -40,7 +40,7 @@ public:
///
void normalize(NormalStream &) const;
///
void maplize(MapleStream &) const;
void maple(MapleStream &) const;
private:
///

View File

@ -62,13 +62,13 @@ void MathBraceInset::normalize(NormalStream & os) const
}
void MathBraceInset::maplize(MapleStream & os) const
void MathBraceInset::maple(MapleStream & os) const
{
os << cell(0);
}
void MathBraceInset::octavize(OctaveStream & os) const
void MathBraceInset::octave(OctaveStream & os) const
{
os << cell(0);
}
@ -80,7 +80,7 @@ void MathBraceInset::mathmlize(MathMLStream & os) const
}
void MathBraceInset::mathematicize(MathematicaStream & os) const
void MathBraceInset::mathematica(MathematicaStream & os) const
{
os << cell(0);
}

View File

@ -30,11 +30,11 @@ public:
/// write normalized content
void normalize(NormalStream & ns) const;
///
void maplize(MapleStream &) const;
void maple(MapleStream &) const;
///
void mathematicize(MathematicaStream &) const;
void mathematica(MathematicaStream &) const;
///
void octavize(OctaveStream &) const;
void octave(OctaveStream &) const;
///
void mathmlize(MathMLStream &) const;
///

View File

@ -53,10 +53,10 @@ void MathCasesInset::normalize(NormalStream & os) const
}
void MathCasesInset::maplize(MapleStream & os) const
void MathCasesInset::maple(MapleStream & os) const
{
os << "cases(";
MathGridInset::maplize(os);
MathGridInset::maple(os);
os << ')';
}

View File

@ -22,7 +22,7 @@ public:
///
void normalize(NormalStream &) const;
///
void maplize(MapleStream &) const;
void maple(MapleStream &) const;
///
void write(WriteStream & os) const;
};

View File

@ -139,7 +139,7 @@ void MathCharInset::normalize(NormalStream & os) const
}
void MathCharInset::octavize(OctaveStream & os) const
void MathCharInset::octave(OctaveStream & os) const
{
os << char_;
}

View File

@ -30,7 +30,7 @@ public:
///
void normalize(NormalStream & ns) const;
///
void octavize(OctaveStream & os) const;
void octave(OctaveStream & os) const;
/// identifies Charinsets
MathCharInset const * asCharInset() const { return this; }
///

View File

@ -59,17 +59,17 @@ void MathCommentInset::write(WriteStream & os) const
}
void MathCommentInset::maplize(MapleStream & os) const
void MathCommentInset::maple(MapleStream & os) const
{
os << '#' << cell(0) << "\n";
}
void MathCommentInset::mathematicize(MathematicaStream &) const
void MathCommentInset::mathematica(MathematicaStream &) const
{}
void MathCommentInset::octavize(OctaveStream &) const
void MathCommentInset::octave(OctaveStream &) const
{}

View File

@ -33,11 +33,11 @@ public:
///
void write(WriteStream & os) const;
///
void maplize(MapleStream &) const;
void maple(MapleStream &) const;
///
void mathematicize(MathematicaStream &) const;
void mathematica(MathematicaStream &) const;
///
void octavize(OctaveStream &) const;
void octave(OctaveStream &) const;
///
void mathmlize(MathMLStream &) const;
///

View File

@ -126,7 +126,7 @@ bool MathDelimInset::isAbs() const
}
void MathDelimInset::maplize(MapleStream & os) const
void MathDelimInset::maple(MapleStream & os) const
{
if (isAbs()) {
if (cell(0).size() == 1 && cell(0).front()->asMatrixInset())
@ -138,7 +138,7 @@ void MathDelimInset::maplize(MapleStream & os) const
os << left_ << cell(0) << right_;
}
void MathDelimInset::maximize(MaximaStream & os) const
void MathDelimInset::maxima(MaximaStream & os) const
{
if (isAbs()) {
if (cell(0).size() == 1 && cell(0).front()->asMatrixInset())
@ -151,7 +151,7 @@ void MathDelimInset::maximize(MaximaStream & os) const
}
void MathDelimInset::mathematicize(MathematicaStream & os) const
void MathDelimInset::mathematica(MathematicaStream & os) const
{
if (isAbs()) {
if (cell(0).size() == 1 && cell(0).front()->asMatrixInset())
@ -171,7 +171,7 @@ void MathDelimInset::mathmlize(MathMLStream & os) const
}
void MathDelimInset::octavize(OctaveStream & os) const
void MathDelimInset::octave(OctaveStream & os) const
{
if (isAbs())
os << "det(" << cell(0) << ')';

View File

@ -40,15 +40,15 @@ public:
/// write normalized content
void normalize(NormalStream &) const;
///
void maplize(MapleStream &) const;
void maple(MapleStream &) const;
///
void maximize(MaximaStream &) const;
void maxima(MaximaStream &) const;
///
void mathematicize(MathematicaStream &) const;
void mathematica(MathematicaStream &) const;
///
void mathmlize(MathMLStream &) const;
///
void octavize(OctaveStream &) const;
void octave(OctaveStream &) const;
///
string left_;
///

View File

@ -44,7 +44,7 @@ void MathDiffInset::draw(MathPainterInfo &, int, int) const
}
void MathDiffInset::maplize(MapleStream & os) const
void MathDiffInset::maple(MapleStream & os) const
{
os << "diff(";
for (idx_type idx = 0; idx < nargs(); ++idx) {
@ -56,7 +56,7 @@ void MathDiffInset::maplize(MapleStream & os) const
}
void MathDiffInset::mathematicize(MathematicaStream & os) const
void MathDiffInset::mathematica(MathematicaStream & os) const
{
os << "Dt[";
for (idx_type idx = 0; idx < nargs(); ++idx) {

View File

@ -24,9 +24,9 @@ public:
///
void normalize(NormalStream &) const;
///
void maplize(MapleStream &) const;
void maple(MapleStream &) const;
///
void mathematicize(MathematicaStream &) const;
void mathematica(MathematicaStream &) const;
///
void mathmlize(MathMLStream &) const;
///

View File

@ -43,7 +43,7 @@ string MathExFuncInset::name() const
}
void MathExFuncInset::maplize(MapleStream & os) const
void MathExFuncInset::maple(MapleStream & os) const
{
if (name_ == "det")
os << "linalg[det](" << cell(0) << ')';
@ -52,7 +52,7 @@ void MathExFuncInset::maplize(MapleStream & os) const
}
void MathExFuncInset::maximize(MaximaStream & os) const
void MathExFuncInset::maxima(MaximaStream & os) const
{
if (name_ == "det")
os << "determinant(" << cell(0) << ')';
@ -83,7 +83,7 @@ string asMathematicaName(string const & name)
}
void MathExFuncInset::mathematicize(MathematicaStream & os) const
void MathExFuncInset::mathematica(MathematicaStream & os) const
{
os << asMathematicaName(name_) << '[' << cell(0) << ']';
}
@ -95,7 +95,7 @@ void MathExFuncInset::mathmlize(MathMLStream & os) const
}
void MathExFuncInset::octavize(OctaveStream & os) const
void MathExFuncInset::octave(OctaveStream & os) const
{
os << name_ << '(' << cell(0) << ')';
}

View File

@ -24,15 +24,15 @@ public:
string name() const;
///
void maplize(MapleStream &) const;
void maple(MapleStream &) const;
///
void maximize(MaximaStream &) const;
void maxima(MaximaStream &) const;
///
void mathematicize(MathematicaStream &) const;
void mathematica(MathematicaStream &) const;
///
void mathmlize(MathMLStream &) const;
///
void octavize(OctaveStream &) const;
void octave(OctaveStream &) const;
private:
///

View File

@ -60,7 +60,7 @@ void MathExIntInset::draw(MathPainterInfo &, int, int) const
}
void MathExIntInset::maplize(MapleStream & os) const
void MathExIntInset::maple(MapleStream & os) const
{
os << symbol_ << '(';
if (cell(0).size())
@ -74,7 +74,7 @@ void MathExIntInset::maplize(MapleStream & os) const
}
void MathExIntInset::maximize(MaximaStream & os) const
void MathExIntInset::maxima(MaximaStream & os) const
{
if ( symbol_ == "int" )
os << "integrate(";
@ -91,7 +91,7 @@ void MathExIntInset::maximize(MaximaStream & os) const
os << cell(1) << ')';
}
void MathExIntInset::mathematicize(MathematicaStream & os) const
void MathExIntInset::mathematica(MathematicaStream & os) const
{
if ( symbol_ == "int" )
os << "Integrate[";

View File

@ -25,11 +25,11 @@ public:
///
void normalize(NormalStream &) const;
///
void maximize(MaximaStream &) const;
void maxima(MaximaStream &) const;
///
void maplize(MapleStream &) const;
void maple(MapleStream &) const;
///
void mathematicize(MathematicaStream &) const;
void mathematica(MathematicaStream &) const;
///
void mathmlize(MathMLStream &) const;
///

View File

@ -820,39 +820,39 @@ void normalize(MathArray const & ar, NormalStream & os)
}
void octavize(MathArray const & dat, OctaveStream & os)
void octave(MathArray const & dat, OctaveStream & os)
{
MathArray ar = dat;
extractStructure(ar);
for (MathArray::const_iterator it = ar.begin(); it != ar.end(); ++it)
(*it)->octavize(os);
(*it)->octave(os);
}
void maplize(MathArray const & dat, MapleStream & os)
void maple(MathArray const & dat, MapleStream & os)
{
MathArray ar = dat;
extractStructure(ar);
for (MathArray::const_iterator it = ar.begin(); it != ar.end(); ++it)
(*it)->maplize(os);
(*it)->maple(os);
}
void maximize(MathArray const & dat, MaximaStream & os)
void maxima(MathArray const & dat, MaximaStream & os)
{
MathArray ar = dat;
extractStructure(ar);
for (MathArray::const_iterator it = ar.begin(); it != ar.end(); ++it)
(*it)->maximize(os);
(*it)->maxima(os);
}
void mathematicize(MathArray const & dat, MathematicaStream & os)
void mathematica(MathArray const & dat, MathematicaStream & os)
{
MathArray ar = dat;
extractStructure(ar);
for (MathArray::const_iterator it = ar.begin(); it != ar.end(); ++it)
(*it)->mathematicize(os);
(*it)->mathematica(os);
}

View File

@ -15,11 +15,11 @@ class MathArray;
void write(MathArray const &, WriteStream &);
void normalize(MathArray const &, NormalStream &);
void maplize(MathArray const &, MapleStream &);
void maximize(MathArray const &, MaximaStream &);
void mathematicize(MathArray const &, MathematicaStream &);
void maple(MathArray const &, MapleStream &);
void maxima(MathArray const &, MaximaStream &);
void mathematica(MathArray const &, MathematicaStream &);
void mathmlize(MathArray const &, MathMLStream &);
void octavize(MathArray const &, OctaveStream &);
void octave(MathArray const &, OctaveStream &);
bool extractNumber(MathArray const & ar, int & i);
bool extractNumber(MathArray const & ar, double & i);

View File

@ -89,19 +89,19 @@ string MathFracInset::name() const
}
void MathFracInset::maplize(MapleStream & os) const
void MathFracInset::maple(MapleStream & os) const
{
os << '(' << cell(0) << ")/(" << cell(1) << ')';
}
void MathFracInset::mathematicize(MathematicaStream & os) const
void MathFracInset::mathematica(MathematicaStream & os) const
{
os << '(' << cell(0) << ")/(" << cell(1) << ')';
}
void MathFracInset::octavize(OctaveStream & os) const
void MathFracInset::octave(OctaveStream & os) const
{
os << '(' << cell(0) << ")/(" << cell(1) << ')';
}

View File

@ -34,11 +34,11 @@ public:
///
void write(WriteStream & os) const;
///
void maplize(MapleStream &) const;
void maple(MapleStream &) const;
///
void mathematicize(MathematicaStream &) const;
void mathematica(MathematicaStream &) const;
///
void octavize(OctaveStream &) const;
void octave(OctaveStream &) const;
///
void mathmlize(MathMLStream &) const;
public:

View File

@ -203,11 +203,11 @@ public:
///
void normalize(NormalStream &) const;
///
//void maplize(MapleStream &) const;
//void maple(MapleStream &) const;
///
void mathmlize(MathMLStream &) const;
///
//void octavize(OctaveStream &) const;
//void octave(OctaveStream &) const;
protected:
/// returns x offset of cell compared to inset

View File

@ -207,28 +207,28 @@ void MathInset::normalize(NormalStream & os) const
}
void MathInset::octavize(OctaveStream & os) const
void MathInset::octave(OctaveStream & os) const
{
NormalStream ns(os.os());
normalize(ns);
}
void MathInset::maplize(MapleStream & os) const
void MathInset::maple(MapleStream & os) const
{
NormalStream ns(os.os());
normalize(ns);
}
void MathInset::maximize(MaximaStream & os) const
void MathInset::maxima(MaximaStream & os) const
{
MapleStream ns(os.os());
maplize(ns);
maple(ns);
}
void MathInset::mathematicize(MathematicaStream & os) const
void MathInset::mathematica(MathematicaStream & os) const
{
NormalStream ns(os.os());
normalize(ns);

View File

@ -270,15 +270,15 @@ public:
/// write normalized content
virtual void normalize(NormalStream &) const;
/// write content as something readable by Maple
virtual void maplize(MapleStream &) const;
virtual void maple(MapleStream &) const;
/// write content as something readable by Maxima
virtual void maximize(MaximaStream &) const;
virtual void maxima(MaximaStream &) const;
/// write content as something readable by Mathematica
virtual void mathematicize(MathematicaStream &) const;
virtual void mathematica(MathematicaStream &) const;
/// write content as something resembling MathML
virtual void mathmlize(MathMLStream &) const;
/// write content as something readable by Octave
virtual void octavize(OctaveStream &) const;
virtual void octave(OctaveStream &) const;
/// describe content if cursor inside
virtual void infoize(std::ostream &) const {}
/// describe content if cursor behind

View File

@ -40,13 +40,13 @@ void MathLimInset::draw(MathPainterInfo &, int, int) const
}
void MathLimInset::maplize(MapleStream & os) const
void MathLimInset::maple(MapleStream & os) const
{
os << "limit(" << cell(0) << ',' << cell(1) << '=' << cell(2) << ')';
}
void MathLimInset::mathematicize(MathematicaStream & os) const
void MathLimInset::mathematica(MathematicaStream & os) const
{
os << "Lim[" << cell(0) << ',' << cell(1) << ',' << cell(2) << ']';
}

View File

@ -22,9 +22,9 @@ public:
///
void normalize(NormalStream &) const;
///
void maplize(MapleStream &) const;
void maple(MapleStream &) const;
///
void mathematicize(MathematicaStream &) const;
void mathematica(MathematicaStream &) const;
///
void mathmlize(MathMLStream &) const;
///

View File

@ -194,10 +194,10 @@ void MathMacro::validate(LaTeXFeatures & features) const
}
void MathMacro::maplize(MapleStream & os) const
void MathMacro::maple(MapleStream & os) const
{
updateExpansion();
::maplize(expanded_, os);
::maple(expanded_, os);
}
@ -208,10 +208,10 @@ void MathMacro::mathmlize(MathMLStream & os) const
}
void MathMacro::octavize(OctaveStream & os) const
void MathMacro::octave(OctaveStream & os) const
{
updateExpansion();
::octavize(expanded_, os);
::octave(expanded_, os);
}

View File

@ -62,11 +62,11 @@ public:
bool match(MathAtom const &) const { return false; }
///
void maplize(MapleStream &) const;
void maple(MapleStream &) const;
///
void mathmlize(MathMLStream &) const;
///
void octavize(OctaveStream &) const;
void octave(OctaveStream &) const;
///
void infoize(std::ostream &) const;
///

View File

@ -175,14 +175,14 @@ void MathMLStream::cr()
MapleStream & operator<<(MapleStream & ms, MathAtom const & at)
{
at->maplize(ms);
at->maple(ms);
return ms;
}
MapleStream & operator<<(MapleStream & ms, MathArray const & ar)
{
maplize(ar, ms);
maple(ar, ms);
return ms;
}
@ -213,14 +213,14 @@ MapleStream & operator<<(MapleStream & ms, int i)
MaximaStream & operator<<(MaximaStream & ms, MathAtom const & at)
{
at->maximize(ms);
at->maxima(ms);
return ms;
}
MaximaStream & operator<<(MaximaStream & ms, MathArray const & ar)
{
maximize(ar, ms);
maxima(ar, ms);
return ms;
}
@ -251,14 +251,14 @@ MaximaStream & operator<<(MaximaStream & ms, int i)
MathematicaStream & operator<<(MathematicaStream & ms, MathAtom const & at)
{
at->mathematicize(ms);
at->mathematica(ms);
return ms;
}
MathematicaStream & operator<<(MathematicaStream & ms, MathArray const & ar)
{
mathematicize(ar, ms);
mathematica(ar, ms);
return ms;
}
@ -290,14 +290,14 @@ MathematicaStream & operator<<(MathematicaStream & ms, int i)
OctaveStream & operator<<(OctaveStream & ns, MathAtom const & at)
{
at->octavize(ns);
at->octave(ns);
return ns;
}
OctaveStream & operator<<(OctaveStream & ns, MathArray const & ar)
{
octavize(ar, ns);
octave(ar, ns);
return ns;
}

View File

@ -28,7 +28,7 @@ void MathMatrixInset::normalize(NormalStream & os) const
}
void MathMatrixInset::maplize(MapleStream & os) const
void MathMatrixInset::maple(MapleStream & os) const
{
os << "matrix(" << int(nrows()) << ',' << int(ncols()) << ",[";
for (idx_type idx = 0; idx < nargs(); ++idx) {
@ -40,7 +40,7 @@ void MathMatrixInset::maplize(MapleStream & os) const
}
void MathMatrixInset::maximize(MaximaStream & os) const
void MathMatrixInset::maxima(MaximaStream & os) const
{
os << "matrix(";
for (row_type row = 0; row < nrows(); ++row) {
@ -64,7 +64,7 @@ void MathMatrixInset::mathmlize(MathMLStream & os) const
}
void MathMatrixInset::octavize(OctaveStream & os) const
void MathMatrixInset::octave(OctaveStream & os) const
{
os << '[';
for (row_type row = 0; row < nrows(); ++row) {

View File

@ -25,13 +25,13 @@ public:
///
void normalize(NormalStream &) const;
///
void maplize(MapleStream &) const;
void maple(MapleStream &) const;
///
void maximize(MaximaStream &) const;
void maxima(MaximaStream &) const;
///
void mathmlize(MathMLStream &) const;
///
void octavize(OctaveStream &) const;
void octave(OctaveStream &) const;
};
#endif

View File

@ -38,13 +38,13 @@ void MathNumberInset::normalize(NormalStream & os) const
}
void MathNumberInset::maplize(MapleStream & os) const
void MathNumberInset::maple(MapleStream & os) const
{
os << str_;
}
void MathNumberInset::octavize(OctaveStream & os) const
void MathNumberInset::octave(OctaveStream & os) const
{
os << str_;
}

View File

@ -30,9 +30,9 @@ public:
///
void normalize(NormalStream &) const;
///
void octavize(OctaveStream &) const;
void octave(OctaveStream &) const;
///
void maplize(MapleStream &) const;
void maple(MapleStream &) const;
///
void mathmlize(MathMLStream &) const;
///

View File

@ -86,13 +86,13 @@ bool MathRootInset::idxUpDown(idx_type & idx, pos_type & pos, bool up, int) cons
}
void MathRootInset::maplize(MapleStream & os) const
void MathRootInset::maple(MapleStream & os) const
{
os << '(' << cell(1) << ")^(1/(" << cell(0) <<"))";
}
void MathRootInset::octavize(OctaveStream & os) const
void MathRootInset::octave(OctaveStream & os) const
{
os << "root(" << cell(1) << ',' << cell(0) << ')';
}

View File

@ -44,9 +44,9 @@ public:
///
void mathmlize(MathMLStream &) const;
///
void maplize(MapleStream &) const;
void maple(MapleStream &) const;
///
void octavize(OctaveStream &) const;
void octave(OctaveStream &) const;
};
#endif

View File

@ -399,7 +399,7 @@ void MathScriptInset::normalize(NormalStream & os) const
}
void MathScriptInset::maplize(MapleStream & os) const
void MathScriptInset::maple(MapleStream & os) const
{
if (nuc().size())
os << nuc();
@ -410,7 +410,7 @@ void MathScriptInset::maplize(MapleStream & os) const
}
void MathScriptInset::mathematicize(MathematicaStream & os) const
void MathScriptInset::mathematica(MathematicaStream & os) const
{
bool d = hasDown() && down().size();
bool u = hasUp() && up().size();
@ -457,7 +457,7 @@ void MathScriptInset::mathmlize( MathMLStream & os) const
}
void MathScriptInset::octavize(OctaveStream & os) const
void MathScriptInset::octave(OctaveStream & os) const
{
if (nuc().size())
os << nuc();

View File

@ -35,13 +35,13 @@ public:
/// write normalized content
void normalize(NormalStream &) const;
/// write content as something readable by Maple
void maplize(MapleStream &) const;
void maple(MapleStream &) const;
/// write content as something readable by Mathematica
void mathematicize(MathematicaStream &) const;
void mathematica(MathematicaStream &) const;
/// write content as something resembling MathML
void mathmlize(MathMLStream &) const;
/// write content as something readable by Octave
void octavize(OctaveStream &) const;
void octave(OctaveStream &) const;
/// move cursor left
bool idxLeft(idx_type &, pos_type &) const;
/// move cursor right

View File

@ -93,18 +93,18 @@ void MathSpaceInset::validate(LaTeXFeatures & features) const
}
void MathSpaceInset::maplize(MapleStream & os) const
void MathSpaceInset::maple(MapleStream & os) const
{
os << ' ';
}
void MathSpaceInset::mathematicize(MathematicaStream & os) const
void MathSpaceInset::mathematica(MathematicaStream & os) const
{
os << ' ';
}
void MathSpaceInset::octavize(OctaveStream & os) const
void MathSpaceInset::octave(OctaveStream & os) const
{
os << ' ';
}

View File

@ -30,11 +30,11 @@ public:
///
void validate(LaTeXFeatures & features) const;
///
void maplize(MapleStream &) const;
void maple(MapleStream &) const;
///
void mathematicize(MathematicaStream &) const;
void mathematica(MathematicaStream &) const;
///
void octavize(OctaveStream &) const;
void octave(OctaveStream &) const;
///
void write(WriteStream & os) const;
private:

View File

@ -72,18 +72,18 @@ void MathSqrtInset::normalize(NormalStream & os) const
os << "[sqrt " << cell(0) << ']';
}
void MathSqrtInset::maplize(MapleStream & os) const
void MathSqrtInset::maple(MapleStream & os) const
{
os << "sqrt(" << cell(0) << ')';
}
void MathSqrtInset::mathematicize(MathematicaStream & os) const
void MathSqrtInset::mathematica(MathematicaStream & os) const
{
os << "Sqrt[" << cell(0) << ']';
}
void MathSqrtInset::octavize(OctaveStream & os) const
void MathSqrtInset::octave(OctaveStream & os) const
{
os << "sqrt(" << cell(0) << ')';
}

View File

@ -30,11 +30,11 @@ public:
///
void normalize(NormalStream &) const;
///
void maplize(MapleStream &) const;
void maple(MapleStream &) const;
///
void mathematicize(MathematicaStream &) const;
void mathematica(MathematicaStream &) const;
///
void octavize(OctaveStream &) const;
void octave(OctaveStream &) const;
///
void mathmlize(MathMLStream &) const;
};

View File

@ -38,7 +38,7 @@ void MathStringInset::normalize(NormalStream & os) const
}
void MathStringInset::maplize(MapleStream & os) const
void MathStringInset::maple(MapleStream & os) const
{
if (/*code_ != LM_TC_VAR ||*/ str_.size() <= 1) {
os << ' ' << str_ << ' ';
@ -52,13 +52,13 @@ void MathStringInset::maplize(MapleStream & os) const
}
void MathStringInset::mathematicize(MathematicaStream & os) const
void MathStringInset::mathematica(MathematicaStream & os) const
{
os << ' ' << str_ << ' ';
}
void MathStringInset::octavize(OctaveStream & os) const
void MathStringInset::octave(OctaveStream & os) const
{
if (/*code_ != LM_TC_VAR ||*/ str_.size() <= 1) {
os << ' ' << str_ << ' ';

View File

@ -30,11 +30,11 @@ public:
///
void normalize(NormalStream &) const;
///
void octavize(OctaveStream &) const;
void octave(OctaveStream &) const;
///
void maplize(MapleStream &) const;
void maple(MapleStream &) const;
///
void mathematicize(MathematicaStream &) const;
void mathematica(MathematicaStream &) const;
///
void mathmlize(MathMLStream &) const;
///

View File

@ -44,9 +44,9 @@ void MathSubstackInset::normalize(NormalStream & os) const
}
void MathSubstackInset::maplize(MapleStream & os) const
void MathSubstackInset::maple(MapleStream & os) const
{
os << "substack(";
MathGridInset::maplize(os);
MathGridInset::maple(os);
os << ')';
}

View File

@ -24,7 +24,7 @@ public:
///
void normalize(NormalStream &) const;
///
void maplize(MapleStream &) const;
void maple(MapleStream &) const;
};
#endif

View File

@ -117,7 +117,7 @@ void MathSymbolInset::normalize(NormalStream & os) const
}
void MathSymbolInset::maplize(MapleStream & os) const
void MathSymbolInset::maple(MapleStream & os) const
{
if (name() == "cdot")
os << '*';
@ -127,7 +127,7 @@ void MathSymbolInset::maplize(MapleStream & os) const
os << name();
}
void MathSymbolInset::maximize(MaximaStream & os) const
void MathSymbolInset::maxima(MaximaStream & os) const
{
if (name() == "cdot")
os << '*';
@ -138,7 +138,7 @@ void MathSymbolInset::maximize(MaximaStream & os) const
}
void MathSymbolInset::mathematicize(MathematicaStream & os) const
void MathSymbolInset::mathematica(MathematicaStream & os) const
{
if ( name() == "pi") { os << "Pi"; return;}
if ( name() == "infty") { os << "Infinity"; return;}
@ -173,7 +173,7 @@ void MathSymbolInset::mathmlize(MathMLStream & os) const
}
void MathSymbolInset::octavize(OctaveStream & os) const
void MathSymbolInset::octave(OctaveStream & os) const
{
if (name() == "cdot")
os << '*';

View File

@ -42,15 +42,15 @@ public:
///
void normalize(NormalStream &) const;
///
void maplize(MapleStream &) const;
void maple(MapleStream &) const;
///
void maximize(MaximaStream &) const;
void maxima(MaximaStream &) const;
///
void mathematicize(MathematicaStream &) const;
void mathematica(MathematicaStream &) const;
///
void mathmlize(MathMLStream &) const;
///
void octavize(OctaveStream &) const;
void octave(OctaveStream &) const;
///
void write(WriteStream & os) const;
///

View File

@ -70,12 +70,12 @@ bool MathUnknownInset::final() const
}
void MathUnknownInset::maplize(MapleStream & os) const
void MathUnknownInset::maple(MapleStream & os) const
{
os << name_;
}
void MathUnknownInset::mathematicize(MathematicaStream & os) const
void MathUnknownInset::mathematica(MathematicaStream & os) const
{
os << name_;
}
@ -87,7 +87,7 @@ void MathUnknownInset::mathmlize(MathMLStream & os) const
}
void MathUnknownInset::octavize(OctaveStream & os) const
void MathUnknownInset::octave(OctaveStream & os) const
{
os << name_;
}

View File

@ -33,13 +33,13 @@ public:
///
void normalize(NormalStream &) const;
///
void maplize(MapleStream &) const;
void maple(MapleStream &) const;
///
void mathematicize(MathematicaStream &) const;
void mathematica(MathematicaStream &) const;
///
void mathmlize(MathMLStream &) const;
///
void octavize(OctaveStream &) const;
void octave(OctaveStream &) const;
///
void finalize();
///

View File

@ -54,9 +54,9 @@ void MathXYMatrixInset::normalize(NormalStream & os) const
}
void MathXYMatrixInset::maplize(MapleStream & os) const
void MathXYMatrixInset::maple(MapleStream & os) const
{
os << "xymatrix(";
MathGridInset::maplize(os);
MathGridInset::maple(os);
os << ')';
}

View File

@ -28,7 +28,7 @@ public:
///
void normalize(NormalStream &) const;
///
void maplize(MapleStream &) const;
void maple(MapleStream &) const;
};
#endif