]> git.lyx.org Git - lyx.git/commitdiff
make naming a bit saner...
authorAndré Pönitz <poenitz@gmx.net>
Fri, 14 Feb 2003 14:30:09 +0000 (14:30 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Fri, 14 Feb 2003 14:30:09 +0000 (14:30 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6150 a592a061-630c-0410-9148-cb99ea01b6c8

52 files changed:
src/mathed/math_arrayinset.C
src/mathed/math_arrayinset.h
src/mathed/math_braceinset.C
src/mathed/math_braceinset.h
src/mathed/math_casesinset.C
src/mathed/math_casesinset.h
src/mathed/math_charinset.C
src/mathed/math_charinset.h
src/mathed/math_commentinset.C
src/mathed/math_commentinset.h
src/mathed/math_deliminset.C
src/mathed/math_deliminset.h
src/mathed/math_diffinset.C
src/mathed/math_diffinset.h
src/mathed/math_exfuncinset.C
src/mathed/math_exfuncinset.h
src/mathed/math_exintinset.C
src/mathed/math_exintinset.h
src/mathed/math_extern.C
src/mathed/math_extern.h
src/mathed/math_fracinset.C
src/mathed/math_fracinset.h
src/mathed/math_gridinset.h
src/mathed/math_inset.C
src/mathed/math_inset.h
src/mathed/math_liminset.C
src/mathed/math_liminset.h
src/mathed/math_macro.C
src/mathed/math_macro.h
src/mathed/math_mathmlstream.C
src/mathed/math_matrixinset.C
src/mathed/math_matrixinset.h
src/mathed/math_numberinset.C
src/mathed/math_numberinset.h
src/mathed/math_rootinset.C
src/mathed/math_rootinset.h
src/mathed/math_scriptinset.C
src/mathed/math_scriptinset.h
src/mathed/math_spaceinset.C
src/mathed/math_spaceinset.h
src/mathed/math_sqrtinset.C
src/mathed/math_sqrtinset.h
src/mathed/math_stringinset.C
src/mathed/math_stringinset.h
src/mathed/math_substackinset.C
src/mathed/math_substackinset.h
src/mathed/math_symbolinset.C
src/mathed/math_symbolinset.h
src/mathed/math_unknowninset.C
src/mathed/math_unknowninset.h
src/mathed/math_xymatrixinset.C
src/mathed/math_xymatrixinset.h

index d1761a326fa7686e2726def6dc799d55338f4673..83e756a574863d9bd53de32f31d1bce4877c95aa 100644 (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 << ')';
 }
index a39c120d7a67e78b238b714b89b9e6a20d52df27..10fe6146c504d353decdbeb433e7a6558d0ba78c 100644 (file)
@@ -40,7 +40,7 @@ public:
        ///
        void normalize(NormalStream &) const;
        ///
-       void maplize(MapleStream &) const;
+       void maple(MapleStream &) const;
 
 private:
        ///
index 10387173366ffdba330d9bc7fcf1c44f70867bb6..0bb24a6e05a512a0f90cf078ce277ab4072cd4d6 100644 (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);
 }
index 7cad01f07da726fcb129670f4e0c3471feeaeabd..133ee5e8a05b69454e7c40e77e18529337eb5086 100644 (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;
        ///
index 78b7b11ddcc4f01bacd4ece2e21b95f309e6930d..5d992788c1a8a0253fa2a37b99e7b22e71425d4f 100644 (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 << ')';
 }
 
index d8ff0b47104acfc017fc451985baf01971514167..ebd27bf31b8162180a92fe532647bed0160e3e0f 100644 (file)
@@ -22,7 +22,7 @@ public:
        ///
        void normalize(NormalStream &) const;
        ///
-       void maplize(MapleStream &) const;
+       void maple(MapleStream &) const;
        ///
        void write(WriteStream & os) const;
 };
index 20261403873808ea85ad0f5e5c03d5324b2761c8..b7e49f6c73eece644e15441dd037c409173cec9a 100644 (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_;
 }
index 8c07f3020747cb7646342eef7b7ebd2c40a008fd..3673ba15c58cf67d9583a0257ff08c5a9184a8e1 100644 (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; }
        ///
index e554fae3b1e1a8ef312a24c395fdcd0debb34e66..929b544e57cbaa3d71d5b395584fc6e7519ec1bc 100644 (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
 {}
 
 
index b2806600ac98c83221c49448ecfc2706ed338825..e4827c89e10219c29cbb3628a23771a65f687560 100644 (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;
        ///
index 9cb757079870e11317c2ec6009fc214e5f3ec491..bb7dbce5e994a1ed044588e52ceb93f50eddd44b 100644 (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) << ')';
index d662896b4e1583dedae00101ce82c63932e0be0f..8c1feef1ed299638eefc9b7dd8e86deed81b39fd 100644 (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_;
        ///
index c6bfc89990752225b67c5a0515b008a67504bcca..d872157586ccfba699b108a4b0b81cb28445946e 100644 (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) {
index d51d3a271e3aac25eb7153a69f9a5fbecebedc7c..651a60d67b173099271f22f6c5910d5a904e9888 100644 (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;
        ///
index 7e8e70eed36d7c65e8ff358e32919904582ec68a..e0b6e1c049908d2af01910e2ad8b8a6aa26a8c53 100644 (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) << ')';
 }
index 400a29b9841ce060833e1e6b9e64ff9347edabae..1e0b04d9c66b5ae5b4e9171d97dc115583cdc89a 100644 (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:
        ///
index 9a0da76e7c29154591ee522ee70e1c41f9cd8d32..4cdf247e419da196c23029ce777075e574dfa9c9 100644 (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[";
index f2fd46568f4084c5fa31d6edc0be6a595f3743ef..71aefb460780ae9460b3a16fe4de1fc78962b586 100644 (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;
        ///
index c7c62c2b46f239fb918ae479b0e8d790ffbb1239..c1227166786befddc14c50ace904315543b3a482 100644 (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);
 }
 
 
index 7517d73c6be457218b0b5d3ffafd7a5875d3126b..94406652d05f18ddcd407ad6e05e4206e301ef3f 100644 (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);
index b036d12c5bf45590dd14c4e1a89171bb08aa99cf..ec0517161dd6e7e58234f469e4d0fb9a645736a9 100644 (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) << ')';
 }
index 42f9588b76b64907249ac0547723931718e30e95..53ec035ca6be4e946f0f654ff4b6c09a8d3ce59b 100644 (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:
index c4de2a27ea7545a330851f9ffeaee78b7aef3e90..29e8c9afc72ed7c9415929c5b8c01e6f2ca1ab10 100644 (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
index d3a34b39d0649d30a30db8d2f27ccda9ed135ccc..47a1c3d82c6b52f15ec7250d2c7618498c3e662f 100644 (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);
index faae6e2ce2a3e8a16c3c252ab6f7ec45153068f1..0ca35c6107e8f99f3a8ca45c8e601ffc6920e816 100644 (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
index 252c99a32b6ef4f1c90e979a50283b0747b66d0e..6330df80bba4584c44a72a32cc127c7e61d95d77 100644 (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) << ']';
 }
index 18dc36d6d6c6b4bde22413620d2c259680a03685..2016e6effa47e6c06cdc67ebe3f98d45c3df4c51 100644 (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;
        ///
index a1c8b6c337b7cdcaf63e1b548bacc851cee3deed..faaa7011587f785fa69768e91f792b2960a62197 100644 (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);
 }
 
 
index 1e0923026d00c3c2fe71431376bd8feaafc2f225..ac9f3c497c6d1aa1675d112c7041a4f9db481cdd 100644 (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;
        ///
index a412a217c12f7d8dc5ae766d1f0a7e71ec6b12c7..8a226ac17f1f550153e4ac44a84e41facebe4353 100644 (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;
 }
 
index ca615efc336555aad9b8c952490019df5443cea4..37db699ed6aef57bdc8c23ebd4a8defab5be2f13 100644 (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) {
index b61b2ab66067fcc0e18201f188945116a3aba55b..8d8386bf6806870d131a57f87b780fff5f5b6f8e 100644 (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
index d7b35f2b048816862de3095094785f479c941089..87bc4b05bc2344d502f657b782da41907c0db5ba 100644 (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_;
 }
index 610dd2be65d83bb0bde71551d8d3e75a5ce97734..b0a64fa24e23862980e823de08cb4b9f848813d8 100644 (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;
        ///
index 6fe31a619135272406d19b7c10232b16847e6776..4e22bdbd2dca111276c36f96226c1b537a56458d 100644 (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) << ')';
 }
index cae421d4137ea2f9b8cb7866c68a62bb7878fbe4..d4debe2821d6694b75e37f605a75d23548eb1ff6 100644 (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
index 5b55d7d6ad06437d2bf5eb8fd57a504bf785a500..201916eabf9f7063065e6eda64580c7ba11b796a 100644 (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();
index fad32bf22e243e971873a71665e3e28dd4bed5f2..6b7688d4b82e53c939deb4dd9c84c6de16f4ef12 100644 (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
index 074e2558b05667784b458fba60bd73405923100d..168234db7d790f7d3b802a2b8e5b38b04a755555 100644 (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 << ' ';
 }
index 2cb4ab9609161e4a717d208b2d0759f64d51fbd9..d48ff330d416f68f5d0ed4d86d5fe9e70efac388 100644 (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:
index 3482f44d0a20bc011bdb701a348fe101ece9a15a..960ccc2ab6afb246847885ddcbb1249d07c8d5ed 100644 (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) << ')';
 }
index 0d1bbc0f74e55e12a69e7528108d15ef3a526e06..942d9d5eda1d0743868f6d7f1dd5f8b28a4cb097 100644 (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;
 };
index 164dc272a4cab42c19600e0681294c14074adc32..005eecf4e96c87ef52ea331007eac19a9aa1a7dd 100644 (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_ << ' ';
index 3bcf74d22303c3f452aea3bd159327ecc9fc0c10..d38a7cddf9d3ac04b2fe9a38098058c2b24e119e 100644 (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;
        ///
index 669389611ce2b92c98cc807d190112ade3268fc2..801a45f62df864a6ad4785f9cf8d64894a69d6e1 100644 (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 << ')';
 }
index d6535fc49e61603872b45d18edcfe192ad3650c8..428d4ede49d03c4b466a315bc91427bace2d6f97 100644 (file)
@@ -24,7 +24,7 @@ public:
        ///
        void normalize(NormalStream &) const;
        ///
-       void maplize(MapleStream &) const;
+       void maple(MapleStream &) const;
 };
 
 #endif
index 42874bc578fb0730cf01838d93a1dc400201c2fc..272c38861dd09be9e9e0bddbf1a1e9f6c2dcc78c 100644 (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 << '*';
index 062eb6d32cc4de9fd5577060caef91f747e482b2..7aa6ac1a13582c71f8cc195d1a52d697f63d5d9b 100644 (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;
        ///
index 32c311523ed769fe3cc3ed020c53ac09cc026019..b562092460f27afb9c8c826862e0bf522a7dc34b 100644 (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_;
 }
index aae7c74f744ce53ec03fe5c1b65e39b82aeedd85..d18ddb3fea46f2979ec9c69f9bc9b99905c4556d 100644 (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();
        ///
index f0b988b6e8d90e7dab09c616bb26b69f8d4fa6c3..37781b7f8d8f9dcffc9cbc358c5e0ccf7d3f4427 100644 (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 << ')';
 }
index e90d8d37db3934f06589303a7e2695c1691e34a1..32f16f9f37a0edfc472aacfc31e18aef2e468cce 100644 (file)
@@ -28,7 +28,7 @@ public:
        ///
        void normalize(NormalStream &) const;
        ///
-       void maplize(MapleStream &) const;
+       void maple(MapleStream &) const;
 };
 
 #endif