6c6
<  Authors: Søren Hauberg, Muthiah Annamalai
---
>  Authors: Søren Hauberg, Muthiah Annamalai, Carnë Draug
8a9
>  Copyright (C) 2010 Carnë Draug <carandraug+dev@gmail.com>
29c30
<     <property name="line-comment-start">%</property>
---
>     <property name="line-comment-start">#</property>
33,41c34,48
<     <style id="comment" _name="Comment" map-to="def:comment"/>
<     <style id="floating-point" _name="Floating Point" map-to="def:floating-point"/>
<     <style id="string" _name="String" map-to="def:string"/>
<     <style id="keyword" _name="Keyword" map-to="def:keyword"/>
<     <style id="base-n-integer" _name="Base-N Integer" map-to="def:base-n-integer"/>
<     <style id="function" _name="Function" map-to="def:function"/>
<     <style id="decimal" _name="Decimal" map-to="def:decimal"/>
<     <style id="boolean" _name="Boolean" map-to="def:boolean"/>
<     <style id="reserved-constant" _name="Reserved Constant" map-to="def:special-constant"/>
---
>     <style id="base-n-integer"    _name="Base-N Integer"      map-to="def:base-n-integer"/>
>     <style id="boolean"           _name="Boolean"             map-to="def:boolean"/>
>     <style id="builtin"           _name="Builtin"             map-to="def:builtin"/>
>     <style id="comment"           _name="Comment"             map-to="def:comment"/>
>     <style id="data-type"         _name="Data type"           map-to="def:type"/>
>     <style id="decimal"           _name="Decimal"             map-to="def:decimal"/>
>     <style id="escape"            _name="Escaped Characters"  map-to="def:special-char"/>
>     <style id="floating-point"    _name="Floating Point"      map-to="def:floating-point"/>
>     <style id="keyword"           _name="Keyword"             map-to="def:keyword"/>
>     <style id="operator"          _name="Operator"            map-to="def:operator"/>
>     <style id="package-manager"   _name="Package Manager"     map-to="def:preprocessor"/>
>     <style id="printf-format"     _name="Printf Format"       map-to="def:special-char"/>
>     <style id="reserved-constant" _name="Reserved Constant"   map-to="def:special-constant"/>
>     <style id="string"            _name="String"              map-to="def:string"/>
>     <style id="variable"          _name="variables"           map-to="def:identifiers"/>
46,52c53,55
<     <!--
<       this is not yet supported by octave, but it's supported
<       by matlab - http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_prog/f0-41244.html#f0-45380
<     -->
<     <context id="multiline-comment" style-ref="comment" class="comment" class-disabled="no-spell-check">
<       <start>^\s*%{\s*$</start>
<       <end>^\s*%}\s*$</end>
---
>     <context id="block-comment" style-ref="comment" class="comment" class-disabled="no-spell-check">
>       <start>^\s*(#|%){\s*$</start>
>       <end>^\s*(#|%)}\s*$</end>
53a57
>         <context ref="block-comment"/>
64a69,103
>     <!-- Different from the line continue in the defaults.-->
>     <!-- Continuation line can be ... or \ optionally followed by whitespace
>          and comments after # or %-->
>     <context id="line-continue" style-ref="comment" class="comment" class-disabled="no-spell-check">
>       <start>\.\.\.(\s)*$|\.\.\.(\s)*(#|%)+|\\(\s)*$|\\(\s)*(#|%)+</start>
>       <end>^</end>
>       <include>
>         <context ref="def:in-comment"/>
>       </include>
>     </context>
> 
>     <!-- Shamelessly copied from c.lang-->
>     <context id="printf-format" style-ref="printf-format" extend-parent="false">
>       <match extended="true">
>         \%\%|\%
>         (?:[1-9][0-9]*\$)?        # argument
>         [#0\-\ \+\'I]*            # flags
>         (?:[1-9][0-9]*|\*)?       # width
>         (?:\.\-?(?:[0-9]+|\*))?   # precision
>         (?:hh|ll|[hlLqjzt])?      # length modifier
>         [diouxXeEfFgGaAcsCSpnm]   # conversion specifier
>       </match>
>     </context>
> 
>     <!-- Shamelessly copied from c.lang-->
>     <context id="escape" style-ref="escape">
>       <match extended="true">
>         \\(                     # leading backslash
>         [\\\"\'nrbtfav\?] |     # escaped character
>         [0-7]{1,3} |            # one, two, or three octal digits
>         x[0-9A-Fa-f]+           # 'x' followed by hex digits
>         )
>       </match>
>     </context>
> 
69,70c108,110
<         <context ref="def:escape"/>
<         <context ref="def:line-continue"/>
---
>         <context ref="printf-format"/>
>         <context ref="escape"/>
>         <context ref="line-continue"/>
73a114,115
>     <!-- Unlike double quoted string, in octave single quote strings do not
>         allow continuation lines.-->
86d127
<         <context ref="def:line-continue"/>
90c131,163
<     <context id="boolean" style-ref="boolean">
---
>     <!--To see the list of operators, use the function __operators__-->
>     <context id="operator" style-ref="operator">
>       <match extended="true">
>         (\.)?\+{1,2}?(?!\+) |   # arithmetic operators
>         (\.)?\-{1,2}?(?!\-) |   # already counting
>         (\.)?\*{1,2}?(?!\*) |   # with auto increment,
>         (\.)?\/(?!\^) |         # element by element,
>         (\.)?\\(?!\^) |         # left division
>         (\.)?\^(?!\^) |         # and both exp
>         (?&lt;=[0-9a-zA-Z_)\]}])(\.)?' |                  # transpose operator
>         &lt;=? | &gt;=? | != | ~= | == | &lt;&gt; |       # comparison operators
>         &amp;{1,2}?(?!&amp;) | \|{1,2}?(?!\|) | ! | ~ |   # boolean operators
>         = |                                               # assignment operator
>         : |                                               # range operator
>       </match>
>     </context>
> 
>     <context id="data-type" style-ref="data-type" class="type">
>       <keyword>cell(str)?</keyword>
>       <keyword>char</keyword>
>       <keyword>double</keyword>
>       <keyword>(u)?int(8|16|32|64)</keyword>
>       <keyword>logical</keyword>
>       <keyword>single</keyword>
>       <keyword>struct</keyword>
>     </context>
> 
>     <context id="function-handle" style-ref="data-type" class="type">
>       <match>@([A-Za-z_][A-Za-z1-9_]*)?</match>
>     </context>
> 
>     <context id="boolean" style-ref="boolean" class="boolean">
>       <suffix>\b(?!(\s)*\()</suffix>
94a168,187
>     <context id="decimal" style-ref="decimal">
>       <match>\b([1-9][0-9]*|0)([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b</match>
>     </context>
> 
>     <context id="floating-point-number" style-ref="floating-point">
>       <match>\b([0-9]+[Ee][-]?[0-9]+|([0-9]*\.[0-9]+|[0-9]+\.)([Ee][-]?[0-9]+)?)[fFlL]?</match>
>     </context>
> 
>     <context id="octal-number" style-ref="base-n-integer">
>       <match>\b0[0-7]+([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b</match>
>     </context>
> 
>     <context id="hex-number" style-ref="base-n-integer">
>       <match>\b0[xX][0-9a-fA-F]+([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b</match>
>     </context>
> 
>     <context id="variables" style-ref="variable">
>       <keyword>ans</keyword>
>     </context>
> 
96c189,190
<       <keyword>pi</keyword>
---
>       <suffix>\b(?!(\s)*\()</suffix>
>       <keyword>e</keyword>
98,101c192,194
<       <keyword>Inf</keyword>
<       <keyword>inf</keyword>
<       <keyword>NaN</keyword>
<       <keyword>nan</keyword>
---
>       <keyword>(J|j|I|i)</keyword>
>       <keyword>(Inf|inf)</keyword>
>       <keyword>(NaN|nan)</keyword>
102a196,207
>       <keyword>ones</keyword>
>       <keyword>pi</keyword>
>       <keyword>rand</keyword>
>       <keyword>randn</keyword>
>       <keyword>zeros</keyword>
>     </context>
> 
>     <context id="package-manager" style-ref="package-manager">
>       <match extended="true">
>         (\b)pkg(?!(\s)*\()(\s)+
>         (((un)?install|(un)?load|list|(global|local)_list|describe|prefix|(re)?build)(\b))?
>       </match>
104a210
>     <!--To see the list of keywords, use the function __keywords__-->
106d211
<       <keyword>assert</keyword>
112,121c217,218
<       <keyword>elseif</keyword>
<       <keyword>else</keyword>
<       <keyword>endfor</keyword>
<       <keyword>endfunction</keyword>
<       <keyword>endif</keyword>
<       <keyword>end</keyword>
<       <keyword>endswitch</keyword>
<       <keyword>end_try_catch</keyword>
<       <keyword>end_unwind_protect</keyword>
<       <keyword>endwhile</keyword>
---
>       <keyword>else(if)?</keyword>
>       <keyword>end(_try_catch|_unwind_protect|for|function|if|switch|while)?</keyword>
126,127d222
<       <keyword>nargin</keyword>
<       <keyword>nargout</keyword>
128a224
>       <keyword>persistent</keyword>
129a226
>       <keyword>static</keyword>
133,134c230,231
<       <keyword>unwind_protect_cleanup</keyword>
<       <keyword>unwind_protect</keyword>
---
>       <keyword>unwind_protect(_cleanup)?</keyword>
>       <keyword>vararg(in|out)</keyword>
138,154c235,367
<     <context id="decimal" style-ref="decimal">
<       <match>\b([1-9][0-9]*|0)([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b</match>
<     </context>
< 
<     <context id="floating-point-number" style-ref="floating-point">
<       <match>\b([0-9]+[Ee][-]?[0-9]+|([0-9]*\.[0-9]+|[0-9]+\.)([Ee][-]?[0-9]+)?)[fFlL]?</match>
<     </context>
< 
<     <context id="octal-number" style-ref="base-n-integer">
<       <match>\b0[0-7]+([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b</match>
<     </context>
< 
<     <context id="hex-number" style-ref="base-n-integer">
<       <match>\b0[xX][0-9a-fA-F]+([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b</match>
<     </context>
< 
<     <context id="function" style-ref="function">
---
>     <define-regex id="is-type-functions" extended="true">
>       a | method | object |
>       cell(str)? | char | field | float | integer | logical | numeric | real |
>       dir |
>       empty |
>       equal(withequalnans)? |
>       finite | inf | letter | member | na(n)? | prime | space |
>       global |
>       (hg)?handle |
>       hold |
>       keyword |
>       mac | pc | unix |
>       scalar | sparse | vector |
>       sorted |
>       str(prop|uct)? |
>       varname
>     </define-regex>
> 
>     <!--While there are many more builtin functions in octave, only some
>     are listed here. This is to avoid maintenance problems specially in the
>     case of functions that may later be removed. Extra functions can easily
>      be added manually. Function __list_functions__ lists them all -->
>     <context id="builtin" style-ref="builtin">
>       <prefix>(?&lt;!\.)\%[</prefix>
>       <suffix>\%](?!\.)</suffix>
>       
>       <keyword>(and|or|xor|lt|gt|le|ge|eq|ne|not)</keyword>
>       <keyword>bar(h)?</keyword>
>       <keyword>bessel(h|i|j|k|y)</keyword>
>       <keyword>(beta|gamma)(inc|ln)?</keyword>
>       <keyword>bit(and|cmp|or|xor)</keyword>
>       <keyword>bit(get|max|set|shift)</keyword>
>       <keyword>(horz|vert)?cat</keyword>
>       <keyword>cart2(pol|sph)</keyword>
>       <keyword>cell2(mat|struct)</keyword>
>       <keyword>close(req)?</keyword>
>       <keyword>col(amd|perm)</keyword>
>       <keyword>cond(est)?</keyword>
>       <keyword>contour(3|c|f)?</keyword>
>       <keyword>conv(2|hull(n)?|n)?</keyword>
>       <keyword>(a)?cos(d|h)?</keyword>
>       <keyword>(a)?cot(d|h)?</keyword>
>       <keyword>(a)?csc(d|h)?</keyword>
>       <keyword>(m)?(r|l)divide</keyword>
>       <keyword>csv(read|write)</keyword>
>       <keyword>(cum)?(max|min|prod|sum|trapz)</keyword>
>       <keyword>date(num|str|tick|vec)?</keyword>
>       <keyword>db(clear|stack|status|stop|type|where)</keyword>
>       <keyword>db(cont|down|next|quit|step|up)</keyword>
>       <keyword>dec2(base|bin|hex)</keyword>
>       <keyword>delaunay(3|n)?</keyword>
>       <keyword>dlm(read|write)</keyword>
>       <keyword>eig(s)?</keyword>
>       <keyword>erf(c|cx|cinv|inv)?</keyword>
>       <keyword>eval(in)?</keyword>
>       <keyword>exp(int|m|m1)?</keyword>
>       <keyword>ez(contour(f)?|mesh(c)?|plot(3)?|polar|surf(c)?)</keyword>
>       <keyword>(i)?fft(2|n|shift)?</keyword>
>       <keyword>f(close|open|read|seek|tell|write)</keyword>
>       <keyword>fget(l|s)</keyword>
>       <keyword>file(attrib|marker|parts|sep)</keyword>
>       <keyword>filter(2)?</keyword>
>       <keyword>flip(dim|lr|ud)</keyword>
>       <keyword>gcb(f|o)</keyword>
>       <keyword>grid(data|data3|datan)?</keyword>
>       <keyword>hex2(dec|num)</keyword>
>       <keyword>hist(c)?</keyword>
>       <keyword>(I|i|J|j)</keyword>
>       <keyword>image(sc)?</keyword>
>       <keyword>im(finfo|read|show|write)</keyword>
>       <keyword>ind2(rgb|sub)</keyword>
>       <keyword>(g)?input</keyword>
>       <keyword>(Inf|inf)</keyword>
>       <keyword>int(min|max)</keyword>
>       <keyword>interp(1|1q|2|3|ft|n)</keyword>
>       <keyword>inv(erse)?</keyword>
>       <keyword>is\%{is-type-functions}</keyword>
>       <keyword>iso(colors|normals|surface)</keyword>
>       <keyword>(x|y|z)label</keyword>
>       <keyword>last(err|error|warn)</keyword>
>       <keyword>(x|y|z)lim</keyword>
>       <keyword>load(obj)?</keyword>
>       <keyword>log(10|1p|2|space|m)?</keyword>
>       <keyword>lu(inc)?</keyword>
>       <keyword>mat2(cell|str)</keyword>
>       <keyword>mesh(grid|c|z)?</keyword>
>       <keyword>mkoctfile</keyword>
>       <keyword>(NaN|nan)</keyword>
>       <keyword>narg(in|out)</keyword>
>       <keyword>narg(out)?chk</keyword>
>       <keyword>num2(cell|hex|str)</keyword>
>       <keyword>optim(get|set)</keyword>
>       <keyword>(i)?permute</keyword>
>       <keyword>((g|tree)(?=plot)|etree)(plot)?</keyword>
>       <keyword>(new|sub)?plot</keyword>
>       <keyword>(f(?=plot\b))?plot(3|matrix|yy)?</keyword>
>       <keyword>poly(der(inv)?|fit|int|val|valm)?</keyword>
>       <keyword>(f|s(?=printf))?print(f)?</keyword>
>       <keyword>qr(delete|insert|update)?</keyword>
>       <keyword>((db|triple)?quad)|(quad(gk|l|v)?)</keyword>
>       <keyword>quiver(3)?</keyword>
>       <keyword>rand(n|perm)?</keyword>
>       <keyword>rat(s)?</keyword>
>       <keyword>real(log|max|min|pow|sqrt)?</keyword>
>       <keyword>regexp(i|rep|translate)?</keyword>
>       <keyword>rgb2(hsv|ind)</keyword>
>       <keyword>save(obj|path)?</keyword>
>       <keyword>(f|s)?scanf</keyword>
>       <keyword>scatter(3)?</keyword>
>       <keyword>(d|t)search(n)?</keyword>
>       <keyword>(a)?sec(d|h)?</keyword>
>       <keyword>semilog(x|y)</keyword>
>       <keyword>(a)?sin(d|h)?</keyword>
>       <keyword>sprand(n|sym)?</keyword>
>       <keyword>sqrt(m)?</keyword>
>       <keyword>stem(3)?</keyword>
>       <keyword>str2(double|func|mat|num)</keyword>
>       <keyword>str(cat|(n)?cmp(i)?|find|just|match|rep|tok|trim)</keyword>
>       <keyword>surf(ace|c|l|norm)?</keyword>
>       <keyword>(a)?tan(d|h)?</keyword>
>       <keyword>(un)?tar</keyword>
>       <keyword>temp(dir|name)</keyword>
>       <keyword>t(i|o)c</keyword>
>       <keyword>(m)?times</keyword>
>       <keyword>(inferior|superior)to</keyword>
>       <keyword>(c)?transpose</keyword>
>       <keyword>tri(mesh|plot|surf)</keyword>
>       <keyword>url(read|write)</keyword>
>       <keyword>voronoi(n)?</keyword>
>       <keyword>who(s)?</keyword>
>       <keyword>wav(read|write)</keyword>
>       <keyword>(g|gun|un)?zip</keyword>
>       <keyword>(b|bun)zip2</keyword>
156,157c369,384
<       <keyword>acos</keyword>
<       <keyword>asin</keyword>
---
>       <keyword>accumarray</keyword>
>       <keyword>addlistener</keyword>
>       <keyword>addpath</keyword>
>       <keyword>addproperty</keyword>
>       <keyword>addtodate</keyword>
>       <keyword>airy</keyword>
>       <keyword>all</keyword>
>       <keyword>allchild</keyword>
>       <keyword>amd</keyword>
>       <keyword>ancestor</keyword>
>       <keyword>angle</keyword>
>       <keyword>any</keyword>
>       <keyword>area</keyword>
>       <keyword>arrayfun</keyword>
>       <keyword>assert</keyword>
>       <keyword>assignin</keyword>
159c386,402
<       <keyword>atan</keyword>
---
>       <keyword>axes</keyword>
>       <keyword>axis</keyword>
>       <keyword>balance</keyword>
>       <keyword>base2dec</keyword>
>       <keyword>beep</keyword>
>       <keyword>bicgstab</keyword>
>       <keyword>bin2dec</keyword>
>       <keyword>blanks</keyword>
>       <keyword>blkdiag</keyword>
>       <keyword>box</keyword>
>       <keyword>brighten</keyword>
>       <keyword>bsxfun</keyword>
>       <keyword>builtin</keyword>
>       <keyword>calendar</keyword>
>       <keyword>cast</keyword>
>       <keyword>caxis</keyword>
>       <keyword>cd</keyword>
160a404,419
>       <keyword>celldisp</keyword>
>       <keyword>cellfun</keyword>
>       <keyword>cgs</keyword>
>       <keyword>char</keyword>
>       <keyword>chol</keyword>
>       <keyword>cholupdate</keyword>
>       <keyword>circshift</keyword>
>       <keyword>cla</keyword>
>       <keyword>clabel</keyword>
>       <keyword>class</keyword>
>       <keyword>clc</keyword>
>       <keyword>clear</keyword>
>       <keyword>clf</keyword>
>       <keyword>clock</keyword>
>       <keyword>colorbar</keyword>
>       <keyword>colormap</keyword>
162,166c421,459
<       <keyword>conv</keyword>
<       <keyword>cosh</keyword>
<       <keyword>cos</keyword>
<       <keyword>cumprod</keyword>
<       <keyword>dims</keyword>
---
>       <keyword>comet</keyword>
>       <keyword>compan</keyword>
>       <keyword>compass</keyword>
>       <keyword>complex</keyword>
>       <keyword>computer</keyword>
>       <keyword>conj</keyword>
>       <keyword>contrast</keyword>
>       <keyword>copyfile</keyword>
>       <keyword>corrcoef</keyword>
>       <keyword>cov</keyword>
>       <keyword>cplxpair</keyword>
>       <keyword>cputime</keyword>
>       <keyword>cross</keyword>
>       <keyword>cylinder</keyword>
>       <keyword>deal</keyword>
>       <keyword>deblank</keyword>
>       <keyword>deconv</keyword>
>       <keyword>del2</keyword>
>       <keyword>demo</keyword>
>       <keyword>det</keyword>
>       <keyword>detrend</keyword>
>       <keyword>diag</keyword>
>       <keyword>diary</keyword>
>       <keyword>diff</keyword>
>       <keyword>diffuse</keyword>
>       <keyword>dir</keyword>
>       <keyword>disp</keyword>
>       <keyword>display</keyword>
>       <keyword>dmperm</keyword>
>       <keyword>doc</keyword>
>       <keyword>dos</keyword>
>       <keyword>dot</keyword>
>       <keyword>double</keyword>
>       <keyword>drawnow</keyword>
>       <keyword>echo</keyword>
>       <keyword>edit</keyword>
>       <keyword>ellipsoid</keyword>
>       <keyword>eomday</keyword>
>       <keyword>eps</keyword>
168c461,481
<       <keyword>fclose</keyword>
---
>       <keyword>errorbar</keyword>
>       <keyword>etime</keyword>
>       <keyword>exist</keyword>
>       <keyword>exit</keyword>
>       <keyword>eye</keyword>
>       <keyword>factor</keyword>
>       <keyword>factorial</keyword>
>       <keyword>false</keyword>
>       <keyword>feather</keyword>
>       <keyword>feof</keyword>
>       <keyword>ferror</keyword>
>       <keyword>feval</keyword>
>       <keyword>fftw</keyword>
>       <keyword>fieldnames</keyword>
>       <keyword>figure</keyword>
>       <keyword>fill</keyword>
>       <keyword>find</keyword>
>       <keyword>findall</keyword>
>       <keyword>findobj</keyword>
>       <keyword>findstr</keyword>
>       <keyword>fix</keyword>
170,172c483,484
<       <keyword>fopen</keyword>
<       <keyword>fprintf</keyword>
<       <keyword>fread</keyword>
---
>       <keyword>format</keyword>
>       <keyword>frewind</keyword>
174,184c486,527
<       <keyword>imag</keyword>
<       <keyword>isempty</keyword>
<       <keyword>isinf</keyword>
<       <keyword>islogical</keyword>
<       <keyword>ismatrix</keyword>
<       <keyword>isnan</keyword>
<       <keyword>isna</keyword>
<       <keyword>isnumeric</keyword>
<       <keyword>isscalar</keyword>
<       <keyword>isstr</keyword>
<       <keyword>isvector</keyword>
---
>       <keyword>full</keyword>
>       <keyword>fullfile</keyword>
>       <keyword>func2str</keyword>
>       <keyword>functions</keyword>
>       <keyword>fzero</keyword>
>       <keyword>gca</keyword>
>       <keyword>gcd</keyword>
>       <keyword>gcf</keyword>
>       <keyword>genpath</keyword>
>       <keyword>genvarname</keyword>
>       <keyword>get</keyword>
>       <keyword>getenv</keyword>
>       <keyword>getfield</keyword>
>       <keyword>gradient</keyword>
>       <keyword>gtext</keyword>
>       <keyword>hadamard</keyword>
>       <keyword>hankel</keyword>
>       <keyword>help</keyword>
>       <keyword>hess</keyword>
>       <keyword>hggroup</keyword>
>       <keyword>hidden</keyword>
>       <keyword>hilb</keyword>
>       <keyword>hold</keyword>
>       <keyword>home</keyword>
>       <keyword>hsv2rgb</keyword>
>       <keyword>hypot</keyword>
>       <keyword>idivide</keyword>
>       <keyword>info</keyword>
>       <keyword>inline</keyword>
>       <keyword>inpolygon</keyword>
>       <keyword>inputname</keyword>
>       <keyword>int2str</keyword>
>       <keyword>intersect</keyword>
>       <keyword>intwarning</keyword>
>       <keyword>invhilb</keyword>
>       <keyword>iqr</keyword>
>       <keyword>jet</keyword>
>       <keyword>keyboard</keyword>
>       <keyword>kron</keyword>
>       <keyword>lcm</keyword>
>       <keyword>legend</keyword>
>       <keyword>legendre</keyword>
185a529,532
>       <keyword>license</keyword>
>       <keyword>lin2mu</keyword>
>       <keyword>line</keyword>
>       <keyword>linkprop</keyword>
187,191c534,574
<       <keyword>log10</keyword>
<       <keyword>log2</keyword>
<       <keyword>log</keyword>
<       <keyword>max</keyword>
<       <keyword>min</keyword>
---
>       <keyword>list</keyword>
>       <keyword>loglog</keyword>
>       <keyword>lookfor</keyword>
>       <keyword>lower</keyword>
>       <keyword>ls</keyword>
>       <keyword>lsqnonneg</keyword>
>       <keyword>magic</keyword>
>       <keyword>matlabroot</keyword>
>       <keyword>mean</keyword>
>       <keyword>median</keyword>
>       <keyword>menu</keyword>
>       <keyword>methods</keyword>
>       <keyword>mex</keyword>
>       <keyword>mexext</keyword>
>       <keyword>mfilename</keyword>
>       <keyword>minus</keyword>
>       <keyword>mislocked</keyword>
>       <keyword>mkdir</keyword>
>       <keyword>mkpp</keyword>
>       <keyword>mlock</keyword>
>       <keyword>mod</keyword>
>       <keyword>mode</keyword>
>       <keyword>more</keyword>
>       <keyword>movefile</keyword>
>       <keyword>mu2lin</keyword>
>       <keyword>munlock</keyword>
>       <keyword>NA</keyword>
>       <keyword>namelengthmax</keyword>
>       <keyword>nchoosek</keyword>
>       <keyword>ndgrid</keyword>
>       <keyword>ndims</keyword>
>       <keyword>nextpow2</keyword>
>       <keyword>nnz</keyword>
>       <keyword>nonzeros</keyword>
>       <keyword>norm</keyword>
>       <keyword>normest</keyword>
>       <keyword>now</keyword>
>       <keyword>nthroot</keyword>
>       <keyword>null</keyword>
>       <keyword>numel</keyword>
>       <keyword>nzmax</keyword>
193,195c576,615
<       <keyword>printf</keyword>
<       <keyword>prod</keyword>
<       <keyword>real</keyword>
---
>       <keyword>orderfields</keyword>
>       <keyword>orient</keyword>
>       <keyword>orth</keyword>
>       <keyword>pack</keyword>
>       <keyword>pareto</keyword>
>       <keyword>pascal</keyword>
>       <keyword>patch</keyword>
>       <keyword>path</keyword>
>       <keyword>pathsep</keyword>
>       <keyword>pause</keyword>
>       <keyword>pcg</keyword>
>       <keyword>pchip</keyword>
>       <keyword>pcolor</keyword>
>       <keyword>peaks</keyword>
>       <keyword>perl</keyword>
>       <keyword>perms</keyword>
>       <keyword>pi</keyword>
>       <keyword>pie</keyword>
>       <keyword>pinv</keyword>
>       <keyword>pkg</keyword>
>       <keyword>planerot</keyword>
>       <keyword>pol2cart</keyword>
>       <keyword>polar</keyword>
>       <keyword>polyarea</keyword>
>       <keyword>pow2</keyword>
>       <keyword>power</keyword>
>       <keyword>ppval</keyword>
>       <keyword>primes</keyword>
>       <keyword>print_usage</keyword>
>       <keyword>psi</keyword>
>       <keyword>pwd</keyword>
>       <keyword>quit</keyword>
>       <keyword>qz</keyword>
>       <keyword>rank</keyword>
>       <keyword>rcond</keyword>
>       <keyword>record</keyword>
>       <keyword>rectint</keyword>
>       <keyword>refresh</keyword>
>       <keyword>refreshdata</keyword>
>       <keyword>rehash</keyword>
196a617
>       <keyword>rename</keyword>
198a620,629
>       <keyword>residue</keyword>
>       <keyword>restoredefaultpath</keyword>
>       <keyword>ribbon</keyword>
>       <keyword>rmdir</keyword>
>       <keyword>rmfield</keyword>
>       <keyword>rmpath</keyword>
>       <keyword>roots</keyword>
>       <keyword>rose</keyword>
>       <keyword>rosser</keyword>
>       <keyword>rot90</keyword>
200a632,638
>       <keyword>rref</keyword>
>       <keyword>run</keyword>
>       <keyword>schur</keyword>
>       <keyword>set</keyword>
>       <keyword>setdiff</keyword>
>       <keyword>setenv</keyword>
>       <keyword>setfield</keyword>
202,203c640,644
<       <keyword>sinh</keyword>
<       <keyword>sin</keyword>
---
>       <keyword>setxor</keyword>
>       <keyword>shading</keyword>
>       <keyword>shg</keyword>
>       <keyword>shiftdim</keyword>
>       <keyword>sign</keyword>
204a646
>       <keyword>slice</keyword>
206,210c648,684
<       <keyword>sprintf</keyword>
<       <keyword>sqrt</keyword>
<       <keyword>strcat</keyword>
<       <keyword>strcmp</keyword>
<       <keyword>sum</keyword>
---
>       <keyword>sortrows</keyword>
>       <keyword>spalloc</keyword>
>       <keyword>sparse</keyword>
>       <keyword>spaugment</keyword>
>       <keyword>spconvert</keyword>
>       <keyword>spdiags</keyword>
>       <keyword>specular</keyword>
>       <keyword>speye</keyword>
>       <keyword>spfun</keyword>
>       <keyword>sph2cart</keyword>
>       <keyword>sphere</keyword>
>       <keyword>spinmap</keyword>
>       <keyword>spline</keyword>
>       <keyword>spones</keyword>
>       <keyword>spparms</keyword>
>       <keyword>sprank</keyword>
>       <keyword>spy</keyword>
>       <keyword>squeeze</keyword>
>       <keyword>stairs</keyword>
>       <keyword>std</keyword>
>       <keyword>struct</keyword>
>       <keyword>struct2cell</keyword>
>       <keyword>structfun</keyword>
>       <keyword>strvcat</keyword>
>       <keyword>sub2ind</keyword>
>       <keyword>subsasgn</keyword>
>       <keyword>subsindex</keyword>
>       <keyword>subspace</keyword>
>       <keyword>subsref</keyword>
>       <keyword>substruct</keyword>
>       <keyword>svd</keyword>
>       <keyword>svds</keyword>
>       <keyword>swapbytes</keyword>
>       <keyword>symamd</keyword>
>       <keyword>symbfact</keyword>
>       <keyword>symrcm</keyword>
>       <keyword>symvar</keyword>
212,217c686,711
<       <keyword>tanh</keyword>
<       <keyword>tan</keyword>
<       <keyword>unlink</keyword>
<       <keyword>usage</keyword>
<       <keyword>varargin</keyword>
<       <keyword>varargout</keyword>
---
>       <keyword>text</keyword>
>       <keyword>time</keyword>
>       <keyword>title</keyword>
>       <keyword>toeplitz</keyword>
>       <keyword>trace</keyword>
>       <keyword>treelayout</keyword>
>       <keyword>tril</keyword>
>       <keyword>triu</keyword>
>       <keyword>true</keyword>
>       <keyword>type</keyword>
>       <keyword>typecast</keyword>
>       <keyword>union</keyword>
>       <keyword>unique</keyword>
>       <keyword>unix</keyword>
>       <keyword>unmkpp</keyword>
>       <keyword>unwrap</keyword>
>       <keyword>upper</keyword>
>       <keyword>validatestring</keyword>
>       <keyword>values</keyword>
>       <keyword>vander</keyword>
>       <keyword>var</keyword>
>       <keyword>vectorize</keyword>
>       <keyword>ver</keyword>
>       <keyword>version</keyword>
>       <keyword>view</keyword>
>       <keyword>waitforbuttonpress</keyword>
218a713,715
>       <keyword>weekday</keyword>
>       <keyword>what</keyword>
>       <keyword>wilkinson</keyword>
224c721,722
<         <context ref="multiline-comment"/>
---
>         <context ref="def:shebang"/>
>         <context ref="block-comment"/>
225a724,726
>         <context ref="line-continue"/>
>         <context ref="printf-format"/>
>         <context ref="escape"/>
227a729,731
>         <context ref="operator"/>
>         <context ref="data-type"/>
>         <context ref="function-handle"/>
229,230d732
<         <context ref="reserved-constant"/>
<         <context ref="keyword"/>
235c737,741
<         <context ref="function"/>
---
>         <context ref="variables"/>
>         <context ref="reserved-constant"/>
>         <context ref="package-manager"/>
>         <context ref="keyword"/>
>         <context ref="builtin"/>
