]> git.lyx.org Git - lyx.git/commitdiff
make 'det' partially work for math-extern
authorAndré Pönitz <poenitz@gmx.net>
Tue, 25 Jun 2002 13:49:29 +0000 (13:49 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Tue, 25 Jun 2002 13:49:29 +0000 (13:49 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4475 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/math_exfuncinset.C

index 0238540a821183d8212424758035a9b11a644928..7e0b0fd91b903b9a941fff72698d158e94b23a9e 100644 (file)
@@ -44,7 +44,10 @@ void MathExFuncInset::normalize(NormalStream & os) const
 
 void MathExFuncInset::maplize(MapleStream & os) const
 {
-       os << name_ << '(' << cell(0) << ')';
+       if (name_ == "det")
+               os << "linalg[det](" << cell(0) << ')';
+       else
+               os << name_ << '(' << cell(0) << ')';
 }