a2ps-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Add old style sheet for Matlab.


From: Franck Lombardi
Subject: Add old style sheet for Matlab.
Date: Thu, 3 Oct 2002 18:34:05 +0200
User-agent: KMail/1.4.3

I add old style sheet for Matlab.


Index: ChangeLog
from  Franck Lombardi  <address@hidden>

        * sheets/matlab4.ssh: Add old style sheet for Matlab.

Index: sheets/Makefile.am
===================================================================
RCS file: /cvsroot/a2ps/a2ps/sheets/Makefile.am,v
retrieving revision 1.7
diff -u -r1.7 Makefile.am
--- sheets/Makefile.am 25 Sep 2002 15:19:54 -0000 1.7
+++ sheets/Makefile.am 3 Oct 2002 16:30:17 -0000
@@ -22,13 +22,13 @@
 68000.ssh a2psrc.ssh asn1.ssh autoconf.ssh awk.ssh b.ssh bc.ssh                
\
 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    \
-prolog.ssh promela.ssh python.ssh rexx.ssh sather.ssh sdl88.ssh sed.ssh        
\
-small.ssh sml.ssh specc.ssh sql.ssh sql92.ssh tclx.ssh tcsh.ssh tex.ssh        
\
-texinfo.ssh tiger.ssh unity.ssh vba.ssh verilog.ssh vhdl.ssh vrml.ssh  \
-vtcl.ssh yacc.ssh xs.ssh zsh.ssh
+is5rul.ssh js.ssh lace.ssh lex.ssh lout.ssh maple.ssh matlab.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 prolog.ssh promela.ssh python.ssh rexx.ssh sather.ssh sdl88.ssh \
+sed.ssh        small.ssh sml.ssh specc.ssh sql.ssh sql92.ssh tclx.ssh tcsh.ssh 
\
+tex.ssh        texinfo.ssh tiger.ssh unity.ssh vba.ssh verilog.ssh vhdl.ssh    
\
+vrml.ssh vtcl.ssh yacc.ssh xs.ssh zsh.ssh
 
 if EXTENSIONS
 sheets_DATA = sheets.map $(major_sheets) $(minor_sheets)
Index: sheets/matlab4.ssh
===================================================================
RCS file: sheets/matlab4.ssh
diff -N sheets/matlab4.ssh
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ sheets/matlab4.ssh 3 Oct 2002 16:30:17 -0000
@@ -0,0 +1,172 @@
+# Style sheet for MATLAB 4.x (matlab4.ssh)
+# Copyright (c) 1998-1999 Akim Demaille, Miguel Santana, Marco De la Cruz
+# $Id: matlab4.ssh,v 1.1.1.1 2002/03/04 18:46:27 akim Exp $
+#
+
+#
+# This file is part of a2ps.
+#
+# 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 4" is
+
+written by "Marco De la Cruz <address@hidden>"
+version is 1.2
+requires a2ps version 4.9.9
+
+####################################################################
+
+documentation is
+   "Note that comments in the code should have a space after the %."
+end documentation
+
+####################################################################
+
+first alphabet is
+   "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
+second alphabet is
+   "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_0123456789"
+
+case sensitive
+
+keywords in Label_strong are
+   function
+end keywords
+
+keywords in Keyword_strong are
+   eval, feval, global, nargchk, break, else, elseif, "end",
+   error, for, if, return, while, input, keyboard, menu,
+   pause, dbclear, dbcont, dbdown, dbquit, dbstack,
+   dbstatus, dbstep, dbstop, dbtype, dbup, mexdebug
+end keywords
+
+keywords in Keyword are
+   demo, expo, help, info, lasterr, lookfor, path,
+   subscribe, type, ver, "version", what, whatsnew, which,
+   clear, disp, length, load, pack, save, size, who, whos,
+   cd, cedit, delete, diary, dir, getenv, hostid, ls,
+   matlabroot, pwd, tempdir, tempname, terminal, unix,
+   clc, echo, format, home, more, matlabrc, quit, startup,
+   all, any, exist, find, finite, isempty, ishold,
+   isieee, isinf, isletter, isnan, isreal, issparse, isstr,
+   eye, gallery, linspace, logspace, meshgrid, ones, rand,
+   randn, zeros, ans, computer, flops, nargin, nargout,
+   realmax, realmin, clock, cputime, date, etime,
+   tic, toc, diag, fliplr, flipud, isreal, reshape, rot90,
+   tril, triu, compan, hadamard, hankel, hilb, invhilb, magic,
+   pascal, rosser, toeplitz, vander, wilkinson, abs, acos,
+   acosh, acot, acoth, acsc, acsch, angle, asec, asech, asin,
+   asinh, atan, atan2, atanh, ceil, conj, cos, cosh, cot, coth,
+   csc, csch, exp, fix, floor, gcd, imag, lcm, log, log10,
+   real, rem, round, sec, sech, sign, sin, sinh, sqrt, tan,
+   tanh, bessel, besseli, besselj, besselk, bessely, beta,
+   betainc, betaln, ellipj, ellipke, erfcx, erfinv, expint,
+   gamma, gammainc, gammaln, legendre, log2, pow2, rat, erf,
+   erfc, rats, cond, det, norm, null, orth, rcond, rank,
+   rref, subspace, trace, chol, inv, lscov, lu, nnls, pinv,
+   qr, balance, cdf2rdf, eig, hess, poly, qz, rsf2csf, schur,
+   svd, expm, funm, logm, sqrtm, qrdelete, qrinsert, cross,
+   dot, cumprod, cumsum, max, mean, median, min, prod, sort,
+   std, sum, trapz, del2, diff, gradient, corrcoef, cov,
+   conv, conv2, deconv, filter, filter2, abs, angle,
+   cplxpair, fft, fft2, fftshift, ifft, ifft2, nextpow2,
+   unwrap, polyder, polyeig, polyfit, polyval, polyvalm,
+   residue, roots, griddata, interp1, interp2, interpft,
+   fmin, fmins, fplot, fzero, ode23, ode45, quad, quad8,
+   spdiags, speye, sprandn, sprandsym, find, full, sparse,
+   spconvert, issparse, nnz, nonzeros, nzmax, spalloc, spfun,
+   spones, gplot, spy, colperm, dmperm, randperm, colmmd,
+   symmmd, symrcm, condest, normest, sprank, entree,
+   spaugment, spparms, symbfact, fill, loglog, plot,
+   semilogx, semilogy, bar, comet, hist, polar, compass,
+   errorbar, feather, fplot, rose, stairs, stem, grid,
+   gtext, legend, text, title, xlabel, ylabel, cart2pol,
+   pol2cart, zoom, comet3, fill3, plot3, clabel, contour,
+   contour3, contourc, image, imagesc, pcolor, quiver,
+   slice, mesh, meshc, meshz, slice, surf, surfc, surfl,
+   waterfall, axis, caxis, colormap, hidden, shading,
+   view, viewmtx, zlabel, cylinder, sphere, cart2sph,
+   sph2cart, capture, clf, close, figure, gcf, graymon,
+   newplot, refresh, whitebg, axes, cla, gca, hold,
+   ishold, subplot, line, patch, surface, uicontrol,
+   uimenu, drawnow, gco, get, reset, rotate, set,
+   uigetfile, uiputfile, orient, print, printopt,
+   getframe, movie, moviein, ginput, rbbox, bone,
+   contrast, cool, copper, flag, gray, hsv, hot, jet,
+   pink, prism, white, brighten, colorbar, hsv2rgb,
+   rgb2hsv, rgbplot, spinmap, diffuse, specular,
+   surfnorm, saxis, sound, auread, auwrite, lin2mu,
+   mu2lin, wavread, wavwrite, blanks, deblank,
+   findstr, setstr, str2mat, string, strrep, strtok,
+   isletter, lower, strcmp, upper, int2str, num2str,
+   sprintf, sscanf, str2num, dec2hex, hex2dec, hex2num,
+   fclose, fopen, fread, fwrite, fgetl, fgets, fprintf,
+   fscanf, feof, ferror, frewind, fseek, ftell,
+   csvread, csvwrite, wk1read, wk1write, kron, xor,
+   ButtonDownFcn, Clipping, Interruptible, Parent,
+   Userdata, Visible, CaptureRect, CurrentFigure,
+   Diary, DiaryFile, Echo, Format, FormatSpacing,
+   PointerLocation, ScreenDepth, TerminalOneWindow,
+   TerminalProtocol, Units, BackingStore, Color,
+   Colormap, CurrentAxes, CurrentObject,
+   InvertHardcopy, KeyPressFcn, MenuBar,
+   MinColormap, Name, NextPlot, NumberTitle,
+   PaperUnits, PaperOrientation, PaperPosition,
+   PaperType, Pointer, Position, Resize,
+   ShareColors, WindowButtonDownFcn,
+   WindowButtonMotionFcn, WindowButtonUpFcn,
+   AspectRatio, Box, CLim, CLimMode, ColorOrder,
+   DrawMode, FontAngle, FontName, FontSize,
+   FontWeight, GridLineStyle, LineStyleOrder,
+   LineWidth, NextPlot, TickLength, TickDir,
+   Title, View, XColor, XDir, Xform, XGrid,
+   XLabel, XLim, XLimMode, XScale, XTick,
+   XTickLabels, XTickLabelMode, XTickMode,
+   YColor, YDir, YGrid, YLabel, YLim,
+   YLimMode, YScale, YTick, YTickLabels,
+   YTickLabelMode, YTickMode, ZColor, ZDir,
+   ZGrid, ZLabel, ZLim, ZLimMode, ZScale,
+   ZTick, ZTickLabels, ZTickLabelMode,
+   ZTickMode, BackgroundColor, CallBack,
+   ForegroundColor, HorizontalAlignment,
+   Max, Min, "String", Style, Value,
+   Accelerator, Checked, Enable, "Label",
+   Separator, EraseMode, LineStyle,
+   LineWidth, MarkerSize, Xdata, Ydata, Zdata,
+   Rotation, VerticalAlignment, CData,
+   EdgeColor, FaceColor, MeshStyle, XData,
+   YData, ZData
+end keywords
+
+optional operators are
+   ~  \not,
+   |  \vee,
+   &  \wedge,
+   ~= \neq,
+   <= \leq,
+   >= \geq,
+   == \equiv,
+   xor \oplus
+end operators
+
+sequences are
+   "% " Comment,
+   "disp" Keyword Plain "')",
+   "error" Keyword Plain "')",
+   "fprintf" Keyword Plain "',"
+end sequences
+
+end style




reply via email to

[Prev in Thread] Current Thread [Next in Thread]