comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » IDL style sheet for a2ps
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
IDL style sheet for a2ps [message #10231] Thu, 06 November 1997 00:00 Go to next message
Karsten Rodenacker is currently offline  Karsten Rodenacker
Messages: 98
Registered: July 1997
Member
Hi,
is there anyone on the list who has written an IDL style sheet for a2ps.
I am using xemacs as IDL dev environment, but printout could be
improved.

Regards
Re: IDL style sheet for a2ps [message #10307 is a reply to message #10231] Fri, 07 November 1997 00:00 Go to previous message
mallors is currently offline  mallors
Messages: 76
Registered: November 1997
Member
In article <3461781A.DFF8E541@gsf.de>,
Karsten Rodenacker <rodena@gsf.de> writes:
> Hi,
> is there anyone on the list who has written an IDL style sheet for a2ps.
> I am using xemacs as IDL dev environment, but printout could be
> improved.
>
> Regards

Here is an IDL style sheet for a2ps version 4.9.8
I have not had a chance to test it much, so I would
appreciate it if you could report any errors you find
to me.

By the way, for anyone not familiar with a2ps, it is
a great printing utility for unix. It is great for
printing code and email. See

http://www-inf.enst.fr/~demaille/a2ps/


-bob


----- start idl.ssh -----

############################################################ ###################
#
# idl.ssh --- Sheet definitions for IDL (Interactive Data Language)
#
# Author : Robert S. Mallozzi <Robert.Mallozzi@msfc.nasa.gov>
# Created : October, 1997
#
############################################################ ###################

style idl is

written by "Robert S. Mallozzi <Robert.Mallozzi@msfc.nasa.gov>"
version is 0.9
requires a2ps version 4.9.8

documentation is
"Style sheet for IDL (Interactive Data Language)."
"http://www.rsinc.com"
end documentation

alphabets are
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_."

case insensitive

keywords in Keyword_strong are
"if", "then", "else", "endif", "for", "do", "endfor", "while", "endwhile",
"repeat", "until", "endrep", "case", "of", "endcase", "goto", "begin",
"end", "common", "return", "retall", "pro", "function", "forward_function",
"mod", "not", "or", "and", "ge", "gt", "lt", "le", "eq", "ne", "xor",
">", "<", "stop",
"bindgen", "bytarr", "cindgen", "complexarr", "dblarr", "dindgen",
"dcindgen", "dcomplexarr", "dindgen", "findgen", "fltarr", "indgen",
"intarr", "lindgen", "lonarr", "objarr", "ptrarr", "sindgen", "strarr",
"on_error", "on_ioerror", "breakpoint", "print"
end keywords

optional operators are
NOT \not,
OR \vee,
XOR,
AND \wedge,
GE \geq,
GT >,
LT <,
LE \leq,
EQ \equiv,
NE \neq,
<,
>,
\#
end operators

sequences are
; Comment

end sequences

end style

----- end idl.ssh -----



--
Dr. Robert S. Mallozzi
University of Alabama in Huntsville
http://cspar.uah.edu/~mallozzir/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Memory linits for Unix IDL
Next Topic: Sort

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:22:26 PDT 2025

Total time taken to generate the page: 0.01056 seconds