-
Notifications
You must be signed in to change notification settings - Fork 4
/
README
72 lines (45 loc) · 2.33 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
MAPLEV: AN EMACS PACKAGE FOR MAPLE DEVELOPERS
VERSION 3.0.2
MapleV is an Emacs package for developing Maple code. Maple is computer
algebra system sold by Maplesoft. MapleV provides several major modes:
- maplev-mode : edit Maple source files
- maplev-mint : view the output of mint, the Maple syntax checker
- maplev-help : view Maple help pages
- maplev-view : view archived Maple modules and procedures
- maplev-cmaple : interact with a Maple engine
Requirements
- GNU Emacs 25.1+
- Maple 2016+
To interact with the Maple engine, display help pages, and view library
procedures,the _pmaple_ binary executable is required; this is a change from
pre 3.0 versions of MapleV which used cmaple, a part of the Maple
distribution. The pmaple binary can be compiled from source using Maple's
OpenMaple package; pre-compiled executables for Linux and Windows are
available at github.com/JoeRiel.
Installation
Download and unpack the latest zip file.
For convenience, the maplev-built.zip contains a pre-built Maple archive file
(maplev.mla) and documentation: doc/maplev.info, doc/maplev.html, and
doc/maplev.pdf. The doc files contain the same information but in different
formats. The maplev.info is the most useful as it can be accessed from Emacs
if properly installed. These files can be built from the source.
Instructions for installing MapleV are given in its info manual, maplev.info,
of which there is an html version, maplev.html.
On a Linux machine you might be able to do
make install
If needed, assign EMACS on the command line; for example
make install EMACS=/usr/bin/emacs24
Configuration
Add the following lines to the Emacs initialization file, which is given by
the value of user-init-file.
(add-to-list 'load-path (concat user-emacs-directory "maple"))
(autoload 'maplev-mode "maplev" "Maple editing mode" 'interactive)
(add-to-list 'auto-mode-alist '("\\.mpl\\'" . maplev-mode))
Use the Emacs custom group maplev-group to access MapleV's many
customizations.
Usage
Fire up Emacs. If you configured auto-mode-alist, as above, opening a Maple
source file with extension .mpl should cause it to be opened in maplev-mode.
If the maplev.info file was installed where it can be found by Emacs, you can
get help by calling maplev-got-info-node. An html version of the help,
maplev.html, is distributed with the source.