annotate runtime/syntax/maple.vim @ 4354:c80838526eeb v7.3.926

updated for version 7.3.926 Problem: Autocommands are triggered by setwinvar() et al. Missing BufEnter on :tabclose. Duplicate WinEnter on :tabclose. Wrong order of events for :tablose and :tabnew. Solution: Fix these autocommand events. (Zyx)
author Bram Moolenaar <bram@vim.org>
date Mon, 06 May 2013 04:50:35 +0200
parents b9e314fe473f
children b3bc99b909c3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim syntax file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Language: Maple V (based on release 4)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: Dr. Charles E. Campbell, Jr. <NdrOchipS@PcampbellAfamily.Mbiz>
2152
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1121
diff changeset
4 " Last Change: Jan 05, 2010
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1121
diff changeset
5 " Version: 10
507
a1059cda45f2 updated for version 7.0142
vimboss
parents: 36
diff changeset
6 " URL: http://mysite.verizon.net/astronaut/vim/index.html#vimlinks_syntax
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 " Package Function Selection: {{{1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 " Because there are a lot of packages, and because of the potential for namespace
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 " clashes, this version of <maple.vim> needs the user to select which, if any,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 " package functions should be highlighted. Select your packages and put into your
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 " <.vimrc> none or more of the lines following let ...=1 lines:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 " if exists("mvpkg_all")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 " ...
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 " endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 " *OR* let mvpkg_all=1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19
22
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
20 " This syntax file contains all the keywords and top-level packages of Maple 9.5
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
21 " but only the contents of packages of Maple V Release 4, and the top-level
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
22 " routines of Release 4. <Jacques Carette - carette@mcmaster.ca>
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 " For version 5.x: Clear all syntax items
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 " For version 6.x: Quit when a syntax file was already loaded
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 if version < 600
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 syntax clear
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 elseif exists("b:current_syntax")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 " Iskeyword Effects: {{{1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 if version < 600
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 set iskeyword=$,48-57,_,a-z,@-Z
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 setlocal iskeyword=$,48-57,_,a-z,@-Z
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 " Package Selection: {{{1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 " allow user to simply select all packages for highlighting
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 if exists("mvpkg_all")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 let mv_DEtools = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 let mv_Galois = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 let mv_GaussInt = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 let mv_LREtools = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 let mv_combinat = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 let mv_combstruct = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 let mv_difforms = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 let mv_finance = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 let mv_genfunc = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 let mv_geometry = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 let mv_grobner = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 let mv_group = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 let mv_inttrans = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 let mv_liesymm = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 let mv_linalg = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 let mv_logic = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 let mv_networks = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 let mv_numapprox = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 let mv_numtheory = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 let mv_orthopoly = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 let mv_padic = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 let mv_plots = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 let mv_plottools = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 let mv_powseries = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 let mv_process = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 let mv_simplex = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 let mv_stats = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 let mv_student = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 let mv_sumtools = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 let mv_tensor = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 let mv_totorder = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 " Parenthesis/curly/brace sanity checker: {{{1
22
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
76 syn case match
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
77
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
78 " parenthesis/curly/brace sanity checker
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 syn region mvZone matchgroup=Delimiter start="(" matchgroup=Delimiter end=")" transparent contains=ALLBUT,mvError,mvBraceError,mvCurlyError
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 syn region mvZone matchgroup=Delimiter start="{" matchgroup=Delimiter end="}" transparent contains=ALLBUT,mvError,mvBraceError,mvParenError
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 syn region mvZone matchgroup=Delimiter start="\[" matchgroup=Delimiter end="]" transparent contains=ALLBUT,mvError,mvCurlyError,mvParenError
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 syn match mvError "[)\]}]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 syn match mvBraceError "[)}]" contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 syn match mvCurlyError "[)\]]" contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 syn match mvParenError "[\]}]" contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 syn match mvComma "[,;:]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 syn match mvSemiError "[;:]" contained
22
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
88 syn match mvDcolon "::"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89
22
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
90 " Maple Packages, updated for Maple 9.5
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
91 syn keyword mvPackage algcurves ArrayTools Cache codegen
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
92 syn keyword mvPackage CodeGeneration CodeTools combinat combstruct
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
93 syn keyword mvPackage ContextMenu CurveFitting DEtools diffalg
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
94 syn keyword mvPackage difforms DiscreteTransforms Domains ExternalCalling
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
95 syn keyword mvPackage FileTools finance GaussInt genfunc
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
96 syn keyword mvPackage geom3d geometry gfun Groebner
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
97 syn keyword mvPackage group hashmset IntegerRelations inttrans
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
98 syn keyword mvPackage LargeExpressions LibraryTools liesymm linalg
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
99 syn keyword mvPackage LinearAlgebra LinearFunctionalSystems LinearOperators
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
100 syn keyword mvPackage ListTools Logic LREtools Maplets
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
101 syn keyword mvPackage MathematicalFunctions MathML Matlab
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
102 syn keyword mvPackage MatrixPolynomialAlgebra MmaTranslator networks
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
103 syn keyword mvPackage numapprox numtheory Optimization OreTools
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
104 syn keyword mvPackage Ore_algebra OrthogonalSeries orthopoly padic
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
105 syn keyword mvPackage PDEtools plots plottools PolynomialIdeals
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
106 syn keyword mvPackage PolynomialTools powseries process QDifferenceEquations
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
107 syn keyword mvPackage RandomTools RationalNormalForms RealDomain RootFinding
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
108 syn keyword mvPackage ScientificConstants ScientificErrorAnalysis simplex
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
109 syn keyword mvPackage Slode SNAP Sockets SoftwareMetrics
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
110 syn keyword mvPackage SolveTools Spread stats StringTools
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
111 syn keyword mvPackage Student student sumtools SumTools
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
112 syn keyword mvPackage tensor TypeTools Units VariationalCalculus
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
113 syn keyword mvPackage VectorCalculus Worksheet XMLTools
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115 " Language Support: {{{1
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 507
diff changeset
116 syn keyword mvTodo contained COMBAK FIXME TODO XXX
22
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
117 if exists("g:mapleversion") && g:mapleversion < 9
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 827
diff changeset
118 syn region mvString start=+`+ skip=+``+ end=+`+ keepend contains=mvTodo,@Spell
e63691e7c504 updated for version 7.1a
vimboss
parents: 827
diff changeset
119 syn region mvString start=+"+ skip=+""+ end=+"+ keepend contains=@Spell
22
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
120 syn region mvDelayEval start=+'+ end=+'+ keepend contains=ALLBUT,mvError,mvBraceError,mvCurlyError,mvParenError,mvSemiError
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
121 syn match mvVarAssign "[a-zA-Z_][a-zA-Z_0-9]*[ \t]*:=" contains=mvAssign
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
122 syn match mvAssign ":=" contained
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
123 else
36
125e80798a85 updated for version 7.0021
vimboss
parents: 22
diff changeset
124 syn region mvName start=+`+ skip=+``+ end=+`+ keepend contains=mvTodo
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 827
diff changeset
125 syn region mvString start=+"+ skip=+""+ end=+"+ keepend contains=@Spell
22
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
126 syn region mvDelayEval start=+'+ end=+'+ keepend contains=ALLBUT,mvError,mvBraceError,mvCurlyError,mvParenError
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
127 syn match mvDelim "[;:]" display
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
128 syn match mvAssign ":="
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
129 endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 " Lower-Priority Operators: {{{1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 syn match mvOper "\."
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 " Number handling: {{{1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 syn match mvNumber "\<\d\+" " integer
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136 syn match mvNumber "[-+]\=\.\d\+" " . integer
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 syn match mvNumber "\<\d\+\.\d\+" " integer . integer
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 syn match mvNumber "\<\d\+\." " integer .
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 syn match mvNumber "\<\d\+\.\." contains=mvRange " integer ..
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 syn match mvNumber "\<\d\+e[-+]\=\d\+" " integer e [-+] integer
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142 syn match mvNumber "[-+]\=\.\d\+e[-+]\=\d\+" " . integer e [-+] integer
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 syn match mvNumber "\<\d\+\.\d*e[-+]\=\d\+" " integer . [integer] e [-+] integer
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145 syn match mvNumber "[-+]\d\+" " integer
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 syn match mvNumber "[-+]\d\+\.\d\+" " integer . integer
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 syn match mvNumber "[-+]\d\+\." " integer .
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148 syn match mvNumber "[-+]\d\+\.\." contains=mvRange " integer ..
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 syn match mvNumber "[-+]\d\+e[-+]\=\d\+" " integer e [-+] integer
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 syn match mvNumber "[-+]\d\+\.\d*e[-+]\=\d\+" " integer . [integer] e [-+] integer
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 syn match mvRange "\.\."
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155 " Operators: {{{1
22
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
156 syn keyword mvOper and not or xor implies union intersect subset minus mod
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157 syn match mvOper "<>\|[<>]=\|[<>]\|="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158 syn match mvOper "&+\|&-\|&\*\|&\/\|&"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159 syn match mvError "\.\.\."
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
161 " MapleV Statements: ? statement {{{1
22
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
162
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
163 " MapleV Statements: ? statement
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164 " Split into booleans, conditionals, operators, repeat-logic, etc
22
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
165 syn keyword mvBool true false FAIL
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166 syn keyword mvCond elif else fi if then
2152
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1121
diff changeset
167 syn match mvCond "end\s\+if"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169 syn keyword mvRepeat by for in to
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170 syn keyword mvRepeat do from od while
2152
b9e314fe473f Updated runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1121
diff changeset
171 syn match mvRepeat "end\s\+do"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173 syn keyword mvSpecial NULL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174 syn match mvSpecial "\[\]\|{}"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175
22
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
176 if exists("g:mapleversion") && g:mapleversion < 9
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
177 syn keyword mvStatement Order fail options read save
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
178 syn keyword mvStatement break local point remember stop
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
179 syn keyword mvStatement done mod proc restart with
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
180 syn keyword mvStatement end mods quit return
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
181 syn keyword mvStatement error next
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
182 else
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
183 syn keyword mvStatement option options read save
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
184 syn keyword mvStatement break local remember stop
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
185 syn keyword mvStatement done mod proc restart
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
186 syn keyword mvStatement end mods quit return
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
187 syn keyword mvStatement error next try catch
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
188 syn keyword mvStatement finally assuming global export
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
189 syn keyword mvStatement module description use
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
190 endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
192 " Builtin Constants: ? constants {{{1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
193 syn keyword mvConstant Catalan I gamma infinity
22
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
194 syn keyword mvConstant Pi
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
195
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
196 " Comments: DEBUG, if in a comment, is specially highlighted. {{{1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197 syn keyword mvDebug contained DEBUG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
198 syn cluster mvCommentGroup contains=mvTodo,mvDebug,@Spell
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
199 syn match mvComment "#.*$" contains=@mvCommentGroup
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
200
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
201 " Basic Library Functions: ? index[function]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
202 syn keyword mvLibrary $ @ @@ ERROR
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
203 syn keyword mvLibrary AFactor KelvinHer arctan factor log rhs
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
204 syn keyword mvLibrary AFactors KelvinKei arctanh factors log10 root
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
205 syn keyword mvLibrary AiryAi KelvinKer argument fclose lprint roots
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
206 syn keyword mvLibrary AiryBi LambertW array feof map round
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
207 syn keyword mvLibrary AngerJ Lcm assign fflush map2 rsolve
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
208 syn keyword mvLibrary Berlekamp LegendreE assigned filepos match savelib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
209 syn keyword mvLibrary BesselI LegendreEc asspar fixdiv matrix scanf
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
210 syn keyword mvLibrary BesselJ LegendreEc1 assume float max searchtext
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
211 syn keyword mvLibrary BesselK LegendreF asubs floor maximize sec
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
212 syn keyword mvLibrary BesselY LegendreKc asympt fnormal maxnorm sech
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
213 syn keyword mvLibrary Beta LegendreKc1 attribute fopen maxorder select
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
214 syn keyword mvLibrary C LegendrePi bernstein forget member seq
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
215 syn keyword mvLibrary Chi LegendrePic branches fortran min series
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
216 syn keyword mvLibrary Ci LegendrePic1 bspline fprintf minimize setattribute
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
217 syn keyword mvLibrary CompSeq Li cat frac minpoly shake
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
218 syn keyword mvLibrary Content Linsolve ceil freeze modp showprofile
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
219 syn keyword mvLibrary D MOLS chrem fremove modp1 showtime
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
220 syn keyword mvLibrary DESol Maple_floats close frontend modp2 sign
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
221 syn keyword mvLibrary Det MeijerG close fscanf modpol signum
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
222 syn keyword mvLibrary Diff Norm coeff fsolve mods simplify
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
223 syn keyword mvLibrary Dirac Normal coeffs galois msolve sin
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
224 syn keyword mvLibrary DistDeg Nullspace coeftayl gc mtaylor singular
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
225 syn keyword mvLibrary Divide Power collect gcd mul sinh
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
226 syn keyword mvLibrary Ei Powmod combine gcdex nextprime sinterp
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
227 syn keyword mvLibrary Eigenvals Prem commutat genpoly nops solve
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
228 syn keyword mvLibrary EllipticCE Primfield comparray harmonic norm sort
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
229 syn keyword mvLibrary EllipticCK Primitive compoly has normal sparse
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
230 syn keyword mvLibrary EllipticCPi Primpart conjugate hasfun numboccur spline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
231 syn keyword mvLibrary EllipticE ProbSplit content hasoption numer split
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
232 syn keyword mvLibrary EllipticF Product convergs hastype op splits
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
233 syn keyword mvLibrary EllipticK Psi convert heap open sprem
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
234 syn keyword mvLibrary EllipticModulus Quo coords history optimize sprintf
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
235 syn keyword mvLibrary EllipticNome RESol copy hypergeom order sqrfree
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
236 syn keyword mvLibrary EllipticPi Randpoly cos iFFT parse sqrt
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
237 syn keyword mvLibrary Eval Randprime cosh icontent pclose sscanf
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
238 syn keyword mvLibrary Expand Ratrecon cost identity pclose ssystem
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
239 syn keyword mvLibrary FFT Re cot igcd pdesolve stack
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
240 syn keyword mvLibrary Factor Rem coth igcdex piecewise sturm
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
241 syn keyword mvLibrary Factors Resultant csc ilcm plot sturmseq
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
242 syn keyword mvLibrary FresnelC RootOf csch ilog plot3d subs
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
243 syn keyword mvLibrary FresnelS Roots csgn ilog10 plotsetup subsop
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
244 syn keyword mvLibrary Fresnelf SPrem dawson implicitdiff pochhammer substring
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
245 syn keyword mvLibrary Fresnelg Searchtext define indets pointto sum
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
246 syn keyword mvLibrary Frobenius Shi degree index poisson surd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
247 syn keyword mvLibrary GAMMA Si denom indexed polar symmdiff
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
248 syn keyword mvLibrary GaussAGM Smith depends indices polylog symmetric
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
249 syn keyword mvLibrary Gaussejord Sqrfree diagonal inifcn polynom system
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
250 syn keyword mvLibrary Gausselim Ssi diff ininame powmod table
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
251 syn keyword mvLibrary Gcd StruveH dilog initialize prem tan
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
252 syn keyword mvLibrary Gcdex StruveL dinterp insert prevprime tanh
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
253 syn keyword mvLibrary HankelH1 Sum disassemble int primpart testeq
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
254 syn keyword mvLibrary HankelH2 Svd discont interface print testfloat
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
255 syn keyword mvLibrary Heaviside TEXT discrim interp printf thaw
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
256 syn keyword mvLibrary Hermite Trace dismantle invfunc procbody thiele
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
257 syn keyword mvLibrary Im WeberE divide invztrans procmake time
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
258 syn keyword mvLibrary Indep WeierstrassP dsolve iostatus product translate
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
259 syn keyword mvLibrary Interp WeierstrassPPrime eliminate iperfpow proot traperror
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
260 syn keyword mvLibrary Inverse WeierstrassSigma ellipsoid iquo property trigsubs
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
261 syn keyword mvLibrary Irreduc WeierstrassZeta entries iratrecon protect trunc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
262 syn keyword mvLibrary Issimilar Zeta eqn irem psqrt type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
263 syn keyword mvLibrary JacobiAM abs erf iroot quo typematch
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
264 syn keyword mvLibrary JacobiCD add erfc irreduc radnormal unames
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
265 syn keyword mvLibrary JacobiCN addcoords eulermac iscont radsimp unapply
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
266 syn keyword mvLibrary JacobiCS addressof eval isdifferentiable rand unassign
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
267 syn keyword mvLibrary JacobiDC algebraic evala isolate randomize unload
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
268 syn keyword mvLibrary JacobiDN algsubs evalapply ispoly randpoly unprotect
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
269 syn keyword mvLibrary JacobiDS alias evalb isqrfree range updatesR4
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
270 syn keyword mvLibrary JacobiNC allvalues evalc isqrt rationalize userinfo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
271 syn keyword mvLibrary JacobiND anames evalf issqr ratrecon value
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
272 syn keyword mvLibrary JacobiNS antisymm evalfint latex readbytes vector
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
273 syn keyword mvLibrary JacobiSC applyop evalgf lattice readdata verify
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
274 syn keyword mvLibrary JacobiSD arccos evalhf lcm readlib whattype
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
275 syn keyword mvLibrary JacobiSN arccosh evalm lcoeff readline with
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
276 syn keyword mvLibrary JacobiTheta1 arccot evaln leadterm readstat writebytes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
277 syn keyword mvLibrary JacobiTheta2 arccoth evalr length realroot writedata
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
278 syn keyword mvLibrary JacobiTheta3 arccsc exp lexorder recipoly writeline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
279 syn keyword mvLibrary JacobiTheta4 arccsch expand lhs rem writestat
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
280 syn keyword mvLibrary JacobiZeta arcsec expandoff limit remove writeto
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
281 syn keyword mvLibrary KelvinBei arcsech expandon ln residue zip
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
282 syn keyword mvLibrary KelvinBer arcsin extract lnGAMMA resultant ztrans
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
283 syn keyword mvLibrary KelvinHei arcsinh
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
284
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
285
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
286 " == PACKAGES ======================================================= {{{1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
287 " Note: highlighting of package functions is now user-selectable by package.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
288
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
289 " Package: DEtools differential equations tools {{{2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
290 if exists("mv_DEtools")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
291 syn keyword mvPkg_DEtools DEnormal Dchangevar autonomous dfieldplot reduceOrder untranslate
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
292 syn keyword mvPkg_DEtools DEplot PDEchangecoords convertAlg indicialeq regularsp varparam
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
293 syn keyword mvPkg_DEtools DEplot3d PDEplot convertsys phaseportrait translate
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
294 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
295
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
296 " Package: Domains: create domains of computation {{{2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
297 if exists("mv_Domains")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
298 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
299
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
300 " Package: GF: Galois Fields {{{2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
301 if exists("mv_GF")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
302 syn keyword mvPkg_Galois galois
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
303 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
304
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
305 " Package: GaussInt: Gaussian Integers {{{2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
306 if exists("mv_GaussInt")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
307 syn keyword mvPkg_GaussInt GIbasis GIfactor GIissqr GInorm GIquadres GIsmith
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
308 syn keyword mvPkg_GaussInt GIchrem GIfactors GIlcm GInormal GIquo GIsqrfree
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
309 syn keyword mvPkg_GaussInt GIdivisor GIgcd GImcmbine GIorder GIrem GIsqrt
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
310 syn keyword mvPkg_GaussInt GIfacpoly GIgcdex GInearest GIphi GIroots GIunitnormal
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
311 syn keyword mvPkg_GaussInt GIfacset GIhermite GInodiv GIprime GIsieve
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
312 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
313
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
314 " Package: LREtools: manipulate linear recurrence relations {{{2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
315 if exists("mv_LREtools")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
316 syn keyword mvPkg_LREtools REcontent REprimpart REtodelta delta hypergeomsols ratpolysols
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
317 syn keyword mvPkg_LREtools REcreate REreduceorder REtoproc dispersion polysols shift
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
318 syn keyword mvPkg_LREtools REplot REtoDE constcoeffsol
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
319 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
320
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
321 " Package: combinat: combinatorial functions {{{2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
322 if exists("mv_combinat")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
323 syn keyword mvPkg_combinat Chi composition graycode numbcomb permute randperm
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
324 syn keyword mvPkg_combinat bell conjpart inttovec numbcomp powerset stirling1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
325 syn keyword mvPkg_combinat binomial decodepart lastpart numbpart prevpart stirling2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
326 syn keyword mvPkg_combinat cartprod encodepart multinomial numbperm randcomb subsets
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
327 syn keyword mvPkg_combinat character fibonacci nextpart partition randpart vectoint
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
328 syn keyword mvPkg_combinat choose firstpart
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
329 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
330
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
331 " Package: combstruct: combinatorial structures {{{2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
332 if exists("mv_combstruct")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
333 syn keyword mvPkg_combstruct allstructs draw iterstructs options specification structures
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
334 syn keyword mvPkg_combstruct count finished nextstruct
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
335 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
336
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
337 " Package: difforms: differential forms {{{2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
338 if exists("mv_difforms")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
339 syn keyword mvPkg_difforms const defform formpart parity scalarpart wdegree
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
340 syn keyword mvPkg_difforms d form mixpar scalar simpform wedge
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
341 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
342
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
343 " Package: finance: financial mathematics {{{2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
344 if exists("mv_finance")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
345 syn keyword mvPkg_finance amortization cashflows futurevalue growingperpetuity mv_finance presentvalue
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
346 syn keyword mvPkg_finance annuity effectiverate growingannuity levelcoupon perpetuity yieldtomaturity
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
347 syn keyword mvPkg_finance blackscholes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
348 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
349
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
350 " Package: genfunc: rational generating functions {{{2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
351 if exists("mv_genfunc")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
352 syn keyword mvPkg_genfunc rgf_charseq rgf_expand rgf_hybrid rgf_pfrac rgf_sequence rgf_term
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
353 syn keyword mvPkg_genfunc rgf_encode rgf_findrecur rgf_norm rgf_relate rgf_simp termscale
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
354 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
355
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
356 " Package: geometry: Euclidean geometry {{{2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
357 if exists("mv_geometry")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
358 syn keyword mvPkg_geometry circle dsegment hyperbola parabola segment triangle
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
359 syn keyword mvPkg_geometry conic ellipse line point square
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
360 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
361
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
362 " Package: grobner: Grobner bases {{{2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
363 if exists("mv_grobner")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
364 syn keyword mvPkg_grobner finduni gbasis leadmon normalf solvable spoly
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
365 syn keyword mvPkg_grobner finite gsolve
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
366 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
367
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
368 " Package: group: permutation and finitely-presented groups {{{2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
369 if exists("mv_group")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
370 syn keyword mvPkg_group DerivedS areconjugate cosets grouporder issubgroup permrep
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
371 syn keyword mvPkg_group LCS center cosrep inter mulperms pres
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
372 syn keyword mvPkg_group NormalClosure centralizer derived invperm normalizer subgrel
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
373 syn keyword mvPkg_group RandElement convert grelgroup isabelian orbit type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
374 syn keyword mvPkg_group Sylow core groupmember isnormal permgroup
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
375 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
376
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
377 " Package: inttrans: integral transforms {{{2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
378 if exists("mv_inttrans")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
379 syn keyword mvPkg_inttrans addtable fouriercos hankel invfourier invlaplace mellin
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
380 syn keyword mvPkg_inttrans fourier fouriersin hilbert invhilbert laplace
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
381 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
382
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
383 " Package: liesymm: Lie symmetries {{{2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
384 if exists("mv_liesymm")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
385 syn keyword mvPkg_liesymm &^ TD depvars getform mixpar vfix
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
386 syn keyword mvPkg_liesymm &mod annul determine hasclosure prolong wcollect
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
387 syn keyword mvPkg_liesymm Eta autosimp dvalue hook reduce wdegree
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
388 syn keyword mvPkg_liesymm Lie close extvars indepvars setup wedgeset
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
389 syn keyword mvPkg_liesymm Lrank d getcoeff makeforms translate wsubs
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
390 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
391
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
392 " Package: linalg: Linear algebra {{{2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
393 if exists("mv_linalg")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
394 syn keyword mvPkg_linalg GramSchmidt coldim equal indexfunc mulcol singval
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
395 syn keyword mvPkg_linalg JordanBlock colspace exponential innerprod multiply smith
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
396 syn keyword mvPkg_linalg LUdecomp colspan extend intbasis norm stack
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
397 syn keyword mvPkg_linalg QRdecomp companion ffgausselim inverse normalize submatrix
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
398 syn keyword mvPkg_linalg addcol cond fibonacci ismith orthog subvector
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
399 syn keyword mvPkg_linalg addrow copyinto forwardsub issimilar permanent sumbasis
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
400 syn keyword mvPkg_linalg adjoint crossprod frobenius iszero pivot swapcol
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
401 syn keyword mvPkg_linalg angle curl gausselim jacobian potential swaprow
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
402 syn keyword mvPkg_linalg augment definite gaussjord jordan randmatrix sylvester
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
403 syn keyword mvPkg_linalg backsub delcols geneqns kernel randvector toeplitz
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
404 syn keyword mvPkg_linalg band delrows genmatrix laplacian rank trace
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
405 syn keyword mvPkg_linalg basis det grad leastsqrs references transpose
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
406 syn keyword mvPkg_linalg bezout diag hadamard linsolve row vandermonde
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
407 syn keyword mvPkg_linalg blockmatrix diverge hermite matadd rowdim vecpotent
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
408 syn keyword mvPkg_linalg charmat dotprod hessian matrix rowspace vectdim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
409 syn keyword mvPkg_linalg charpoly eigenval hilbert minor rowspan vector
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
410 syn keyword mvPkg_linalg cholesky eigenvect htranspose minpoly scalarmul wronskian
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
411 syn keyword mvPkg_linalg col entermatrix ihermite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
412 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
413
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
414 " Package: logic: Boolean logic {{{2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
415 if exists("mv_logic")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
416 syn keyword mvPkg_logic MOD2 bsimp distrib environ randbool tautology
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
417 syn keyword mvPkg_logic bequal canon dual frominert satisfy toinert
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
418 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
419
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
420 " Package: networks: graph networks {{{2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
421 if exists("mv_networks")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
422 syn keyword mvPkg_networks acycpoly connect dinic graph mincut show
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
423 syn keyword mvPkg_networks addedge connectivity djspantree graphical mindegree shrink
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
424 syn keyword mvPkg_networks addvertex contract dodecahedron gsimp neighbors span
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
425 syn keyword mvPkg_networks adjacency countcuts draw gunion new spanpoly
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
426 syn keyword mvPkg_networks allpairs counttrees duplicate head octahedron spantree
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
427 syn keyword mvPkg_networks ancestor cube edges icosahedron outdegree tail
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
428 syn keyword mvPkg_networks arrivals cycle ends incidence path tetrahedron
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
429 syn keyword mvPkg_networks bicomponents cyclebase eweight incident petersen tuttepoly
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
430 syn keyword mvPkg_networks charpoly daughter flow indegree random vdegree
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
431 syn keyword mvPkg_networks chrompoly degreeseq flowpoly induce rank vertices
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
432 syn keyword mvPkg_networks complement delete fundcyc isplanar rankpoly void
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
433 syn keyword mvPkg_networks complete departures getlabel maxdegree shortpathtree vweight
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
434 syn keyword mvPkg_networks components diameter girth
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
435 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
436
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
437 " Package: numapprox: numerical approximation {{{2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
438 if exists("mv_numapprox")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
439 syn keyword mvPkg_numapprox chebdeg chebsort fnorm laurent minimax remez
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
440 syn keyword mvPkg_numapprox chebmult chebyshev hornerform laurent pade taylor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
441 syn keyword mvPkg_numapprox chebpade confracform infnorm minimax
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
442 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
443
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
444 " Package: numtheory: number theory {{{2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
445 if exists("mv_numtheory")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
446 syn keyword mvPkg_numtheory B cyclotomic invcfrac mcombine nthconver primroot
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
447 syn keyword mvPkg_numtheory F divisors invphi mersenne nthdenom quadres
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
448 syn keyword mvPkg_numtheory GIgcd euler isolve minkowski nthnumer rootsunity
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
449 syn keyword mvPkg_numtheory J factorEQ isprime mipolys nthpow safeprime
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
450 syn keyword mvPkg_numtheory L factorset issqrfree mlog order sigma
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
451 syn keyword mvPkg_numtheory M fermat ithprime mobius pdexpand sq2factor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
452 syn keyword mvPkg_numtheory bernoulli ifactor jacobi mroot phi sum2sqr
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
453 syn keyword mvPkg_numtheory bigomega ifactors kronecker msqrt pprimroot tau
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
454 syn keyword mvPkg_numtheory cfrac imagunit lambda nearestp prevprime thue
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
455 syn keyword mvPkg_numtheory cfracpol index legendre nextprime
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
456 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
457
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
458 " Package: orthopoly: orthogonal polynomials {{{2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
459 if exists("mv_orthopoly")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
460 syn keyword mvPkg_orthopoly G H L P T U
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
461 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
462
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
463 " Package: padic: p-adic numbers {{{2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
464 if exists("mv_padic")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
465 syn keyword mvPkg_padic evalp function orderp ratvaluep rootp valuep
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
466 syn keyword mvPkg_padic expansion lcoeffp ordp
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
467 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
468
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
469 " Package: plots: graphics package {{{2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
470 if exists("mv_plots")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
471 syn keyword mvPkg_plots animate coordplot3d gradplot3d listplot3d polarplot setoptions3d
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
472 syn keyword mvPkg_plots animate3d cylinderplot implicitplot loglogplot polygonplot spacecurve
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
473 syn keyword mvPkg_plots changecoords densityplot implicitplot3d logplot polygonplot3d sparsematrixplot
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
474 syn keyword mvPkg_plots complexplot display inequal matrixplot polyhedraplot sphereplot
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
475 syn keyword mvPkg_plots complexplot3d display3d listcontplot odeplot replot surfdata
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
476 syn keyword mvPkg_plots conformal fieldplot listcontplot3d pareto rootlocus textplot
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
477 syn keyword mvPkg_plots contourplot fieldplot3d listdensityplot pointplot semilogplot textplot3d
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
478 syn keyword mvPkg_plots contourplot3d gradplot listplot pointplot3d setoptions tubeplot
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
479 syn keyword mvPkg_plots coordplot
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
480 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
481
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
482 " Package: plottools: basic graphical objects {{{2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
483 if exists("mv_plottools")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
484 syn keyword mvPkg_plottools arc curve dodecahedron hyperbola pieslice semitorus
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
485 syn keyword mvPkg_plottools arrow cutin ellipse icosahedron point sphere
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
486 syn keyword mvPkg_plottools circle cutout ellipticArc line polygon tetrahedron
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
487 syn keyword mvPkg_plottools cone cylinder hemisphere octahedron rectangle torus
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
488 syn keyword mvPkg_plottools cuboid disk hexahedron
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
489 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
490
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
491 " Package: powseries: formal power series {{{2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
492 if exists("mv_powseries")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
493 syn keyword mvPkg_powseries compose multiply powcreate powlog powsolve reversion
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
494 syn keyword mvPkg_powseries evalpow negative powdiff powpoly powsqrt subtract
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
495 syn keyword mvPkg_powseries inverse powadd powexp powseries quotient tpsform
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
496 syn keyword mvPkg_powseries multconst powcos powint powsin
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
497 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
498
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
499 " Package: process: (Unix)-multi-processing {{{2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
500 if exists("mv_process")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
501 syn keyword mvPkg_process block fork pclose pipe popen wait
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
502 syn keyword mvPkg_process exec kill
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
503 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
504
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
505 " Package: simplex: linear optimization {{{2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
506 if exists("mv_simplex")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
507 syn keyword mvPkg_simplex NONNEGATIVE cterm dual maximize pivoteqn setup
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
508 syn keyword mvPkg_simplex basis define_zero equality minimize pivotvar standardize
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
509 syn keyword mvPkg_simplex convexhull display feasible pivot ratio
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
510 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
511
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
512 " Package: stats: statistics {{{2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
513 if exists("mv_stats")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
514 syn keyword mvPkg_stats anova describe fit random statevalf statplots
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
515 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
516
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
517 " Package: student: student calculus {{{2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
518 if exists("mv_student")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
519 syn keyword mvPkg_student D Product distance isolate middlesum rightsum
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
520 syn keyword mvPkg_student Diff Sum equate leftbox midpoint showtangent
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
521 syn keyword mvPkg_student Doubleint Tripleint extrema leftsum minimize simpson
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
522 syn keyword mvPkg_student Int changevar integrand makeproc minimize slope
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
523 syn keyword mvPkg_student Limit combine intercept maximize powsubs trapezoid
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
524 syn keyword mvPkg_student Lineint completesquare intparts middlebox rightbox value
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
525 syn keyword mvPkg_student Point
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
526 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
527
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
528 " Package: sumtools: indefinite and definite sums {{{2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
529 if exists("mv_sumtools")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
530 syn keyword mvPkg_sumtools Hypersum extended_gosper hyperrecursion hyperterm sumrecursion sumtohyper
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
531 syn keyword mvPkg_sumtools Sumtohyper gosper hypersum simpcomb
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
532 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
533
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
534 " Package: tensor: tensor computations and General Relativity {{{2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
535 if exists("mv_tensor")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
536 syn keyword mvPkg_tensor Christoffel1 Riemann connexF display_allGR get_compts partial_diff
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
537 syn keyword mvPkg_tensor Christoffel2 RiemannF contract dual get_rank permute_indices
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
538 syn keyword mvPkg_tensor Einstein Weyl convertNP entermetric invars petrov
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
539 syn keyword mvPkg_tensor Jacobian act cov_diff exterior_diff invert prod
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
540 syn keyword mvPkg_tensor Killing_eqns antisymmetrize create exterior_prod lin_com raise
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
541 syn keyword mvPkg_tensor Levi_Civita change_basis d1metric frame lower symmetrize
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
542 syn keyword mvPkg_tensor Lie_diff commutator d2metric geodesic_eqns npcurve tensorsGR
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
543 syn keyword mvPkg_tensor Ricci compare directional_diff get_char npspin transform
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
544 syn keyword mvPkg_tensor Ricciscalar conj displayGR
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
545 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
546
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
547 " Package: totorder: total orders on names {{{2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
548 if exists("mv_totorder")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
549 syn keyword mvPkg_totorder forget init ordering tassume tis
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
550 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
551 " =====================================================================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
552
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
553 " Highlighting: Define the default highlighting. {{{1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
554 " For version 5.7 and earlier: only when not done already
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
555 " For version 5.8 and later: only when an item doesn't have highlighting yet
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
556 if version >= 508 || !exists("did_maplev_syntax_inits")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
557 if version < 508
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
558 let did_maplev_syntax_inits = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
559 command -nargs=+ HiLink hi link <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
560 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
561 command -nargs=+ HiLink hi def link <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
562 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
563
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
564 " Maple->Maple Links {{{2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
565 HiLink mvBraceError mvError
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
566 HiLink mvCurlyError mvError
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
567 HiLink mvDebug mvTodo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
568 HiLink mvParenError mvError
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
569 HiLink mvPkg_DEtools mvPkgFunc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
570 HiLink mvPkg_Galois mvPkgFunc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
571 HiLink mvPkg_GaussInt mvPkgFunc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
572 HiLink mvPkg_LREtools mvPkgFunc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
573 HiLink mvPkg_combinat mvPkgFunc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
574 HiLink mvPkg_combstruct mvPkgFunc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
575 HiLink mvPkg_difforms mvPkgFunc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
576 HiLink mvPkg_finance mvPkgFunc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
577 HiLink mvPkg_genfunc mvPkgFunc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
578 HiLink mvPkg_geometry mvPkgFunc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
579 HiLink mvPkg_grobner mvPkgFunc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
580 HiLink mvPkg_group mvPkgFunc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
581 HiLink mvPkg_inttrans mvPkgFunc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
582 HiLink mvPkg_liesymm mvPkgFunc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
583 HiLink mvPkg_linalg mvPkgFunc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
584 HiLink mvPkg_logic mvPkgFunc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
585 HiLink mvPkg_networks mvPkgFunc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
586 HiLink mvPkg_numapprox mvPkgFunc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
587 HiLink mvPkg_numtheory mvPkgFunc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
588 HiLink mvPkg_orthopoly mvPkgFunc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
589 HiLink mvPkg_padic mvPkgFunc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
590 HiLink mvPkg_plots mvPkgFunc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
591 HiLink mvPkg_plottools mvPkgFunc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
592 HiLink mvPkg_powseries mvPkgFunc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
593 HiLink mvPkg_process mvPkgFunc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
594 HiLink mvPkg_simplex mvPkgFunc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
595 HiLink mvPkg_stats mvPkgFunc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
596 HiLink mvPkg_student mvPkgFunc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
597 HiLink mvPkg_sumtools mvPkgFunc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
598 HiLink mvPkg_tensor mvPkgFunc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
599 HiLink mvPkg_totorder mvPkgFunc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
600 HiLink mvRange mvOper
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
601 HiLink mvSemiError mvError
22
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
602 HiLink mvDelim Delimiter
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
603
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
604 " Maple->Standard Links {{{2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
605 HiLink mvAssign Delimiter
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
606 HiLink mvBool Boolean
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
607 HiLink mvComma Delimiter
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
608 HiLink mvComment Comment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
609 HiLink mvCond Conditional
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
610 HiLink mvConstant Number
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
611 HiLink mvDelayEval Label
22
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
612 HiLink mvDcolon Delimiter
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
613 HiLink mvError Error
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
614 HiLink mvLibrary Statement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
615 HiLink mvNumber Number
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
616 HiLink mvOper Operator
22
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
617 HiLink mvAssign Delimiter
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
618 HiLink mvPackage Type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
619 HiLink mvPkgFunc Function
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
620 HiLink mvPktOption Special
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
621 HiLink mvRepeat Repeat
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
622 HiLink mvSpecial Special
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
623 HiLink mvStatement Statement
22
cc049b00ee70 updated for version 7.0014
vimboss
parents: 7
diff changeset
624 HiLink mvName String
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
625 HiLink mvString String
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
626 HiLink mvTodo Todo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
627
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
628 delcommand HiLink
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
629 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
630
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
631 " Current Syntax: {{{1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
632 let b:current_syntax = "maple"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
633 " vim: ts=20 fdm=marker