######################################################################## ## INFO INFO INFO INFO INFO INFO INFO INFO INFO INFO INFO ## ######################################################################## PACKAGE: mupad.el [based on maple.el] CONTENTS: A MuPAD programming mode for emacs MAINTAINER: Winfried Trümper INSTALLED: 27.03.1998 Purpose of this package ----------------------- If you want to do more than computing single statements with MuPAD, e.g. writing whole programs for it, then mupad.el is for you. The package is a plugin for the notorious texteditor emacs. It makes writing MuPAD-programs more comfortable by providing - keyboard-shortcuts for most used MuPAD-constructs (it is easy to extend them) - different windows for writing (input) and running (output) the program - standard editing-features of emacs, including such important features like auto-save and highlighting of matching parenthesis mupad.el was originally converted from maple.el and modified with the help of Paul Zimmermann and Olivier Ramare. Installation ------------ Please set the path to the help files for MuPAD first. By default, it is set to "/usr/local/MuPAD/share/lib" but this will probably not reflect your setup. The line you must modify comes after the comments at the beginning. ----- 8< ----- cut here ----- 8< ----- ;; The following variable decides where "help" is to be found. (defvar mupad-lib-directory "/usr/local/MuPAD/share/lib") ----- 8< ----- cut here ----- 8< ----- The file 'mupad.el' has then to be copied in a directory, where "emacs" is aware of it (ask your sys-admin for that); an appreciate place could be /usr/local/lib/emacs/site-lisp/ or /etc/site-lisp/ After that, insert the following lines in one the files ~/.emacs (personal configuration) or /usr/lib/emacs/site-lisp/site-start.el (global configuration): ----- 8< ----- cut here ----- 8< ----- (autoload 'mupad-mode "mupad" "MuPAD editing mode" t) (setq auto-mode-alist (cons '("\\.mu\\'" . mupad-mode) auto-mode-alist)) ----- 8< ----- cut here ----- 8< ----- As a result, all files ending with .mu are recognized as MuPAD-files and emacs will automagically switch into MuPAD-mode. Usage ----- The version of emacs for X11 has a menu entry, which lists most of the features of the new mode. * All control constructs of MuPAD can be reached by typing Control-C followed by the first character of the construct. * Use C-c C-r to run MuPAD on the current region, C-c C-b does it with the whole buffer. * C-c RET runs mint on the buffer. Control-c f for Control-c e else Control-c i if Control-c l local Control-c w while Control-c p proc Control-c # comment Control-c h help Control-c m modify Control-c t title Control-c ( paired parens Control-c Control-z suspend-emacs Known bugs ---------- On very old system an '^M' apears at the end of the lines printed by MuPAD. ######################################################################## ########################################################################