[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: a2ps/sheets matlab.ssh,NONE,1.1.2.1 Makefile.am,1.1.1.1.2.5,1.1.1.1
From: |
Alix Lourme <address@hidden> |
Subject: |
CVS: a2ps/sheets matlab.ssh,NONE,1.1.2.1 Makefile.am,1.1.1.1.2.5,1.1.1.1.2.6 sheets.map,1.1.1.1.2.4,1.1.1.1.2.5 matlab4.ssh,1.1.1.1,NONE |
Date: |
Wed, 25 Sep 2002 11:18:45 -0400 |
Update of /cvsroot/a2ps/a2ps/sheets
In directory subversions:/tmp/cvs-serv18052/sheets
Modified Files:
Tag: a2ps-4-1x
Makefile.am sheets.map
Added Files:
Tag: a2ps-4-1x
matlab.ssh
Removed Files:
Tag: a2ps-4-1x
matlab4.ssh
Log Message:
sheets/matlab4.ssh: Removing old style sheet for Matlab.
sheets/matlab.ssh: Add new style sheet for Matlab.
>From Joakim Lubeck
--- NEW FILE ---
# Style sheet for Matlab
# Copyright (c) 2002, Joakim Lübeck
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; see the file COPYING. If not, write to
# the Free Software Foundation, 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
#
style "Matlab" is
written by "Joakim Lübeck <address@hidden>"
version is 0.93
requires a2ps 4.13
documentation is
"This style highlights function definitions and a limited"
"number of keywords, mostly control constructs, and is"
"therefore usable for many Matlab versions. Special care"
"have been taken to distinguish string delimiters from the"
"transpose operator (which is the same symbol) and to"
"recognize comments."
end documentation
first alphabet is
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
second alphabet is
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_0123456789"
case sensitive
keywords in Label_strong are
dbclear, dbcont, dbdown, dbmex, dbquit, dbstack, dbstatus,
dbstep, dbstop, dbtype, dbup
end keywords
keywords in Keyword_strong are
break, builtin, "case", catch, else, elseif, "end", error,
eval, evalc, evalin, feval, for, global, if, otherwise,
persistent, return, switch, try, warning, while
end keywords
sequences are
"%" Comment,
' Plain String ' Plain
exceptions are
''
end exceptions
end sequences
operators are
# Transpose
/[A-z0-9_]*[]A-Za-z0-9_.)}']'/,
... \ldots,
# function without output arguments
(/(function)/
/([ \t]+)/
/([a-zA-z][a-zA-Z0-9_]*)/
\1 Keyword_strong, \2 Plain, \3 Label_strong),
# function with output arguments
(/(function)/
/([ \t]+[^=]+=[ \t]*)/
/([a-zA-z][a-zA-Z0-9_]*)/
\1 Keyword_strong, \2 Plain, \3 Label_strong)
end operators
optional keywords in Plain are
Inf \infty,
inf \infty,
pi \pi
end keywords
optional operators are
~ \not,
| \vee,
& \wedge,
~= \neq,
<= \leq,
>= \geq,
== \equiv
end operators
end style
Index: Makefile.am
===================================================================
RCS file: /cvsroot/a2ps/a2ps/sheets/Makefile.am,v
retrieving revision 1.1.1.1.2.5
retrieving revision 1.1.1.1.2.6
diff -C2 -r1.1.1.1.2.5 -r1.1.1.1.2.6
*** Makefile.am 24 Sep 2002 17:26:17 -0000 1.1.1.1.2.5
--- Makefile.am 25 Sep 2002 15:18:43 -0000 1.1.1.1.2.6
***************
*** 23,27 ****
caml.ssh chlog.ssh cidl.ssh claire.ssh coqv.ssh csh.ssh csharp.ssh \
dc_shell.ssh eps.ssh gmake.ssh haskell.ssh html.ssh idl.ssh initora.ssh
\
! is5rul.ssh js.ssh lace.ssh lex.ssh lout.ssh maple.ssh matlab4.ssh \
mib.ssh mly.ssh modula2.ssh modula3.ssh nasm.ssh o2c.ssh oberon.ssh
\
octave.ssh oracle.ssh pic16f84.ssh plsql.ssh pov.ssh ppd.ssh ps.ssh \
--- 23,27 ----
caml.ssh chlog.ssh cidl.ssh claire.ssh coqv.ssh csh.ssh csharp.ssh \
dc_shell.ssh eps.ssh gmake.ssh haskell.ssh html.ssh idl.ssh initora.ssh
\
! is5rul.ssh js.ssh lace.ssh lex.ssh lout.ssh maple.ssh matlab.ssh \
mib.ssh mly.ssh modula2.ssh modula3.ssh nasm.ssh o2c.ssh oberon.ssh
\
octave.ssh oracle.ssh pic16f84.ssh plsql.ssh pov.ssh ppd.ssh ps.ssh \
Index: sheets.map
===================================================================
RCS file: /cvsroot/a2ps/a2ps/sheets/sheets.map,v
retrieving revision 1.1.1.1.2.4
retrieving revision 1.1.1.1.2.5
diff -C2 -r1.1.1.1.2.4 -r1.1.1.1.2.5
*** sheets.map 24 Sep 2002 17:26:17 -0000 1.1.1.1.2.4
--- sheets.map 25 Sep 2002 15:18:43 -0000 1.1.1.1.2.5
***************
*** 312,315 ****
--- 312,318 ----
/*.[im]3/
+ # Matlab file
+ matlab: /*.m/
+
# o2c files
o2c: /*.o2/
***************
*** 321,325 ****
# octave files
octave: /*.octavescript/
- /*.m/
# oracle files
--- 324,327 ----
--- matlab4.ssh DELETED ---
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- CVS: a2ps/sheets matlab.ssh,NONE,1.1.2.1 Makefile.am,1.1.1.1.2.5,1.1.1.1.2.6 sheets.map,1.1.1.1.2.4,1.1.1.1.2.5 matlab4.ssh,1.1.1.1,NONE,
Alix Lourme <address@hidden> <=