RE: [Aimmath-developers] AIM and Maple 9 not good news
Brought to you by:
gustav_delius,
npstrick
From: Greg G. <gr...@ma...> - 2003-07-24 03:42:37
|
On Wednesday, 23 July 2003 9:18 PM, Jon Breitenbucher wrote: > Well, here is what happens when I try and read Console.mpl and use > LaTeX and latex. It seems as if LaTeX breaks latex? In Make.mpl there are the lines: readlib(latex): unassign('`latex/exp`'): unassign('`latex/ln`'): unassign('`latex/log`'): Then in LaTeX.mpl they are redefined. > > |\^/| Maple 9 (APPLE PPC OSX) > > ._|\| |/|_. Copyright (c) Maplesoft, a division of Waterloo Maple > > Inc. 2003 > > \ MAPLE / All rights reserved. Maple is a trademark of > > <____ ____> Waterloo Maple Inc. > > | Type ? for help. > > > read "Console.mpl"; > > bytes used=4033988, alloc=3276200, time=1.36 > > > latex(int(x^2*sin(x),x=Pi/4..Pi/2)); > > Error, (in latex/latex/+) `LaTeX` does not evaluate to a module This probably explains what's happened. The original way that Maple defined packages was via tables, hence the syntax linalg[det], but then Maple introduced modules (probably in Maple 6) and new packages that were developed after that time were written as modules rather than tables; a module function may use the (preferred) syntax linalg:-det (or for compatibility, the table syntax). I'm guessing then that latex has been rewritten as a module, and so the re-definitions of `latex/exp`, `latex/ln` and `latex/log` need to be re-written in module syntax to work in Maple 9. As an interim measure, `just to get things working', I would comment out the lines unassign('`latex/exp`'): unassign('`latex/ln`'): unassign('`latex/log`'): in Make.mpl and then also comment out the redefinitions of `latex/exp`, `latex/ln` and `latex/log` in LaTeX.mpl. Probably, you will need to comment out all the other `latex/...` command definitions too in LaTeX.mpl, which would leave just `LaTeX/trim` and `LaTeX`. > There also seems to have been no change to latex. I checked all of the > help and documentation files and didn't see anything. Could you check to see whether the documentation (or possibly the manuals that come with Maple 9) make any mention of a rewriting of latex as a module? Without reading in Console.mpl what output do you get with: > interface( verboseproc = 2 ); > eval(`latex/latex/function`); Regards, Greg |