1# Sheet definitions for IDL (Interactive Data Language)
2# Copyright (c) 1997-2000 Robert S. Mallozzi, Manfred Schwarb, Akim Demaille
3#                         Miguel Santana.
4
5#
6# This file is part of a2ps.
7#
8# This program is free software; you can redistribute it and/or modify
9# it under the terms of the GNU General Public License as published by
10# the Free Software Foundation; either version 2, or (at your option)
11# any later version.
12#
13# This program is distributed in the hope that it will be useful,
14# but WITHOUT ANY WARRANTY; without even the implied warranty of
15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16# GNU General Public License for more details.
17#
18# You should have received a copy of the GNU General Public License
19# along with this program; see the file COPYING.  If not, write to
20# the Free Software Foundation, 59 Temple Place - Suite 330,
21# Boston, MA 02111-1307, USA.
22#
23
24style IDL is
25
26written by "Robert S. Mallozzi <Robert.Mallozzi@msfc.nasa.gov>, Manfred Schwarb <schwarb@geo.umnw.ethz.ch>"
27version is 1.1
28requires a2ps version 4.12
29
30documentation is
31   "Style sheet for IDL 5.2 (Interactive Data Language)."
32   "Obsolete routines are not supported."
33   "http://www.rsinc.com."
34end documentation
35
36alphabets are
37    "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_.01234567889"
38
39case insensitive
40
41keywords in Keyword_strong are
42# statements:
43    "if", "then", "else", "endif", "for", "do", "endfor", "while", "endwhile",
44    "endelse", "repeat", "until", "endrep", "case", "of", "endcase",
45    "goto", "begin", "end", "common", "pro", "function",
46    "forward_function", "procedure_name",
47# operators:
48    "mod", "not", "or", "and", "ge", "gt", "lt", "le", "eq", "ne", "xor",
49    ">", "<",
50# general routines:
51    "a_correlate",
52    "abs",
53    "acos",
54    "alog",
55    "alog10",
56    "amoeba",
57    "annotate",
58    "arg_present",
59    "arrow",
60    "ascii_template",
61    "asin",
62    "assoc",
63    "atan",
64    "axis",
65    "bar_plot",
66    "beseli",
67    "beselj",
68    "besely",
69    "beta",
70    "bilinear",
71    "bin_date",
72    "bindgen",
73    "binomial",
74    "blas_axpy",
75    "blk_con",
76    "box_cursor",
77    "breakpoint",
78    "broyden",
79    "bytarr",
80    "byte",
81    "byteorder",
82    "bytscl",
83    "c_correlate",
84    "caldat",
85    "calendar",
86    "call_external",
87    "call_function",
88    "call_method",
89    "call_procedure",
90    "catch",
91    "cd",
92    "ceil",
93    "chebyshev",
94    "check_math",
95    "chisqr_cvf",
96    "chisqr_pdf",
97    "choldc",
98    "cholsol",
99    "cindgen",
100    "cir_3pnt",
101    "close",
102    "clust_wts",
103    "cluster",
104    "color_convert",
105    "color_quan",
106    "comfit",
107    "complex",
108    "complexarr",
109    "complexround",
110    "compute_mesh_normals",
111    "cond",
112    "congrid",
113    "conj",
114    "constrained_min",
115    "contour",
116    "convert_coord",
117    "convol",
118    "coord2to3",
119    "correlate",
120    "cos",
121    "cosh",
122    "cramer",
123    "create_struct",
124    "create_view",
125    "crossp",
126    "crvlength",
127    "ct_luminance",
128    "cti_test",
129    "cursor",
130    "curvefit",
131    "cv_coord",
132    "cw_animate",
133    "cw_animate_load",
134    "cw_animate_run",
135    "cw_animate_getp",
136    "cw_arcball",
137    "cw_bgroup",
138    "cw_clr_index",
139    "cw_colorsel",
140    "cw_defroi",
141    "cw_dice",
142    "cw_field",
143    "cw_form",
144    "cw_fslider",
145    "cw_orient",
146    "cw_pdmenu",
147    "cw_rgbslider",
148    "cw_tmpl",
149    "cw_zoom",
150    "dblarr",
151    "dcindgen",
152    "dcomplex",
153    "dcomplexarr",
154    "define_key",
155    "defroi",
156    "defsysv",
157    "delvar",
158    "demo_mode",
159    "deriv",
160    "derivsig",
161    "determ",
162    "device",
163    "dfpmin",
164    "dialog_message",
165    "dialog_pickfile",
166    "dialog_printjob",
167    "dialog_printersetup",
168    "digital_filter",
169    "dilate",
170    "dindgen",
171    "dissolve",
172    "dist",
173    "do_apple_script",
174    "doc_library",
175    "double",
176    "efont",
177    "eigenql",
178    "eigenvec",
179    "elmhes",
180    "empty",
181    "eof",
182    "erase",
183    "erode",
184    "errorf",
185    "errplot",
186    "execute",
187    "exit",
188    "exp",
189    "expand",
190    "expand_path",
191    "expint",
192    "extrac",
193    "extract_slice",
194    "f_cvf",
195    "f_pdf",
196    "factorial",
197    "fft",
198    "filepath",
199    "findfile",
200    "findgen",
201    "finite",
202    "fix",
203    "flick",
204    "float",
205    "floor",
206    "flow3",
207    "fltarr",
208    "flush",
209    "format_axis_values",
210    "free_lun",
211    "fstat",
212    "fulstr",
213    "funct",
214    "fv_test",
215    "fx_root",
216    "fz_roots",
217    "gamma",
218    "gamma_ct",
219    "gauss_cvf",
220    "gauss_pdf",
221    "gauss2dfit",
222    "gaussfit",
223    "gaussint",
224    "get_kbrd",
225    "get_lun",
226    "getenv",
227    "grid3",
228    "gs_iter",
229    "h_eq_ct",
230    "h_eq_int",
231    "hanning",
232    "hdf_browser",
233    "hdf_read",
234    "heap_gc",
235    "help",
236    "hilbert",
237    "hist_2d",
238    "hist_equal",
239    "histogram",
240    "hls",
241    "hqr",
242    "hsv",
243    "ibeta",
244    "identity",
245    "igamma",
246    "image_cont",
247    "imaginary",
248    "indgen",
249    "int_2d",
250    "int_3d",
251    "int_tabulated",
252    "intarr",
253    "interpol",
254    "interpolate",
255    "invert",
256    "ioctl",
257    "ishft",
258    "journal",
259    "julday",
260    "keyword_set",
261    "krig2d",
262    "kurtosis",
263    "kw_test",
264    "l64indgen",
265    "label_region",
266    "ladfit",
267    "leefilt",
268    "linbcg",
269    "lindgen",
270    "linfit",
271    "linkimage",
272    "live_contour",
273    "live_control",
274    "live_destroy",
275    "live_export",
276    "live_image",
277    "live_info",
278    "live_line",
279    "live_oplot",
280    "live_plot",
281    "live_print",
282    "live_rect",
283    "live_style",
284    "live_surface",
285    "live_text",
286    "ljlct",
287    "ll_arc_distance",
288    "lmfit",
289    "lmgr",
290    "lngamma",
291    "lnp_test",
292    "loadct",
293    "lonarr",
294    "long",
295    "lon64arr",
296    "long64",
297    "lsode",
298    "lu_complex",
299    "ludc",
300    "lumprove",
301    "lusol",
302    "m_correlate",
303    "machar",
304    "make_array",
305    "map_continents",
306    "map_grid",
307    "map_image",
308    "map_patch",
309    "map_set",
310    "max",
311    "md_test",
312    "mean",
313    "meanabsdev",
314    "median",
315    "mesh_obj",
316    "message",
317    "min",
318    "min_curve_surf",
319    "mk_html_help",
320    "modifyct",
321    "moment",
322    "mpeg_close",
323    "mpeg_open",
324    "mpeg_put",
325    "mpeg_save",
326    "multi",
327    "n_elements",
328    "n_params",
329    "n_tags",
330    "newton",
331    "norm",
332    "obj_class",
333    "obj_destroy",
334    "obj_isa",
335    "obj_new",
336    "obj_valid",
337    "objarr",
338    "on_error",
339    "on_ioerror",
340    "online_help",
341    "open",
342    "openr",
343    "openu",
344    "openw",
345    "oplot",
346    "oploterr",
347    "p_correlate",
348    "pcomp",
349    "plot",
350    "plot_3dbox",
351    "plot_field",
352    "ploterr",
353    "plots",
354    "pnt_line",
355    "point_lun",
356    "polar_contour",
357    "polar_surface",
358    "poly",
359    "poly_2d",
360    "poly_area",
361    "poly_fit",
362    "polyfill",
363    "polyfillv",
364    "polyfitw",
365    "polyshade",
366    "polywarp",
367    "popd",
368    "powell",
369    "primes",
370    "print",
371    "printf",
372    "printd",
373    "profile",
374    "profiler",
375    "profiles",
376    "project_vol",
377    "ps_show_fonts",
378    "psafm",
379    "pseudo",
380    "ptr_free",
381    "ptr_new",
382    "ptr_valid",
383    "ptrarr",
384    "pushd",
385    "qromb",
386    "qromo",
387    "qsimp",
388    "query_bmp",
389    "query_dicom",
390    "query_jpeg",
391    "query_pict",
392    "query_png",
393    "query_ppm",
394    "query_srf",
395    "query_tiff",
396    "r_correlate",
397    "r_test",
398    "randomn",
399    "randomu",
400    "ranks",
401    "rdpix",
402    "read",
403    "readf",
404    "read_ascii",
405    "read_bmp",
406    "read_dicom",
407    "read_gif",
408    "read_interfile",
409    "read_jpeg",
410    "read_pict",
411    "read_png",
412    "read_ppm",
413    "read_spr",
414    "read_srf",
415    "read_sylk",
416    "read_tiff",
417    "read_wave",
418    "read_x11_bitmap",
419    "read_xwd",
420    "reads",
421    "readu",
422    "rebin",
423    "recall_commands",
424    "recon3",
425    "reduce_colors",
426    "reform",
427    "regress",
428    "replicate",
429    "replicate_inplace",
430    "resolve_all",
431    "resolve_routine",
432    "restore",
433    "retall",
434    "return",
435    "reverse",
436    "rewind",
437    "riemann",
438    "rk4",
439    "roberts",
440    "rot",
441    "rotate",
442    "round",
443    "routine_info",
444    "rs_test",
445    "rstrpos",
446    "s_test",
447    "save",
448    "scale3",
449    "scale3d",
450    "search2d",
451    "search3d",
452    "set_plot",
453    "set_shading",
454    "set_symbol",
455    "setup_keys",
456    "sfit",
457    "shade_surf",
458    "shade_surf_irr",
459    "shade_volume",
460    "shift",
461    "show3",
462    "showfont",
463    "sin",
464    "sindgen",
465    "sinh",
466    "size",
467    "skewness",
468    "skipf",
469    "slicer3",
470    "slide_image",
471    "smooth",
472    "sobel",
473    "sort",
474    "spawn",
475    "sph_4pnt",
476    "sph_scat",
477    "spl_init",
478    "spl_interp",
479    "spline",
480    "spline_p",
481    "sprsab",
482    "sprsax",
483    "sprsin",
484    "sqrt",
485    "standardize",
486    "stddev",
487    "stop",
488    "str_sep",
489    "strarr",
490    "strcompress",
491    "stretch",
492    "string",
493    "strlen",
494    "strlowcase",
495    "strmessage",
496    "strmid",
497    "strpos",
498    "strput",
499    "strtrim",
500    "struct_assign",
501    "strupcase",
502    "surface",
503    "surfr",
504    "svdc",
505    "svdfit",
506    "svsol",
507    "swap_endian",
508    "systime",
509    "t_cvf",
510    "t_pdf",
511    "t3d",
512    "tag_names",
513    "tan",
514    "tanh",
515    "taprd",
516    "tapwrt",
517    "tek_color",
518    "temporary",
519    "thin",
520    "threed",
521    "time_test2",
522    "tm_test",
523    "total",
524    "trace",
525    "transpose",
526    "tri_surf",
527    "triangulate",
528    "trigrid",
529    "triql",
530    "trired",
531    "trisol",
532    "trnlog",
533    "ts_coef",
534    "ts_diff",
535    "ts_fcast",
536    "ts_smooth",
537    "tv",
538    "tvcrs",
539    "tvlct",
540    "tvrd",
541    "tvscl",
542    "uindgen",
543    "uint",
544    "uintarr",
545    "ul64indgen",
546    "ulindgen",
547    "ulon64arr",
548    "ulonarr",
549    "ulong",
550    "ulong64",
551    "uniq",
552    "usersym",
553    "variance",
554    "vax_float",
555    "vel",
556    "velovect",
557    "vert_t3d",
558    "voigt",
559    "voronoi",
560    "voxel_proj",
561    "wait",
562    "warp_tri",
563    "wdelete",
564    "weof",
565    "wf_draw",
566    "where",
567    "widget_base",
568    "widget_button",
569    "widget_control",
570    "widget_draw",
571    "widget_droplist",
572    "widget_event",
573    "widget_info",
574    "widget_label",
575    "widget_list",
576    "widget_slider",
577    "widget_table",
578    "widget_text",
579    "window",
580    "write_bmp",
581    "write_gif",
582    "write_jpeg",
583    "write_nrif",
584    "write_pict",
585    "write_png",
586    "write_ppm",
587    "write_spr",
588    "write_srf",
589    "write_sylk",
590    "write_tiff",
591    "write_wave",
592    "writeu",
593    "wset",
594    "wshow",
595    "wtn",
596    "xbm_edit",
597    "xdisplayfile",
598    "xfont",
599    "xinteranimate",
600    "xloadct",
601    "xmanager",
602    "xmng_tmpl",
603    "xmtool",
604    "xpalette",
605    "xregistered",
606    "xsq_test",
607    "xsurface",
608    "xvaredit",
609    "xyouts",
610    "zoom",
611    "zoom_24",
612# scientific routines:
613    "cdf_attcreate",
614    "cdf_attdelete",
615    "cdf_attexists",
616    "cdf_attget",
617    "cdf_attinq",
618    "cdf_attnum",
619    "cdf_attput",
620    "cdf_attrename",
621    "cdf_close",
622    "cdf_control",
623    "cdf_create",
624    "cdf_delete",
625    "cdf_doc",
626    "cdf_encode_epoch",
627    "cdf_epoch",
628    "cdf_error",
629    "cdf_exists",
630    "cdf_inquire",
631    "cdf_lib_info",
632    "cdf_open",
633    "cdf_parse_epoch",
634    "cdf_varcreate",
635    "cdf_vardelete",
636    "cdf_varget",
637    "cdf_varget1",
638    "cdf_varinq",
639    "cdf_varnum",
640    "cdf_varput",
641    "cdf_varrename",
642    "hdf_close",
643    "hdf_deldd",
644    "hdf_df24_addimage",
645    "hdf_df24_getimage",
646    "hdf_df24_getinfo",
647    "hdf_df24_lastref",
648    "hdf_df24_nimages",
649    "hdf_df24_readref",
650    "hdf_df24_restart",
651    "hdf_dfan_addfds",
652    "hdf_dfan_addfid",
653    "hdf_dfan_getdesc",
654    "hdf_dfan_getfds",
655    "hdf_dfan_getfid",
656    "hdf_dfan_getlabel",
657    "hdf_dfan_lablist",
658    "hdf_dfan_lastref",
659    "hdf_dfan_putdesc",
660    "hdf_dfan_putlabel",
661    "hdf_dfp_addpal",
662    "hdf_dfp_getpal",
663    "hdf_dfp_lastref",
664    "hdf_dfp_npals",
665    "hdf_dfp_putpal",
666    "hdf_dfp_readref",
667    "hdf_dfp_restart",
668    "hdf_dfp_writeref",
669    "hdf_dfr8_addimage",
670    "hdf_dfr8_getimage",
671    "hdf_dfr8_getinfo",
672    "hdf_dfr8_lastref",
673    "hdf_dfr8_nimages",
674    "hdf_dfr8_putimage",
675    "hdf_dfr8_readref",
676    "hdf_dfr8_restart",
677    "hdf_dfr8_setpalette",
678    "hdf_dfsd_adddata",
679    "hdf_dfsd_dimget",
680    "hdf_dfsd_dimset",
681    "hdf_dfsd_endslice",
682    "hdf_dfsd_getdata",
683    "hdf_dfsd_getinfo",
684    "hdf_dfsd_getslice",
685    "hdf_dfsd_putslice",
686    "hdf_dfsd_readref",
687    "hdf_dfsd_setinfo",
688    "hdf_dfsd_startslice",
689    "hdf_dupdd",
690    "hdf_exists",
691    "hdf_ishdf",
692    "hdf_lib_info",
693    "hdf_newref",
694    "hdf_number",
695    "hdf_open",
696    "hdf_gr_attrinfo",
697    "hdf_sd_attrfind",
698    "hdf_sd_attrinfo",
699    "hdf_sd_attrset",
700    "hdf_sd_create",
701    "hdf_sd_dimget",
702    "hdf_sd_dimgetid",
703    "hdf_sd_dimset",
704    "hdf_sd_end",
705    "hdf_sd_endaccess",
706    "hdf_sd_fileinfo",
707    "hdf_sd_getdata",
708    "hdf_sd_getinfo",
709    "hdf_sd_idtoref",
710    "hdf_sd_iscoordvar",
711    "hdf_sd_nametoindex",
712    "hdf_sd_reftoindex",
713    "hdf_sd_select",
714    "hdf_sd_setextfile",
715    "hdf_sd_setinfo",
716    "hdf_sd_start",
717    "hdf_vd_attach",
718    "hdf_vd_detach",
719    "hdf_vd_fdefine",
720    "hdf_vd_fexist",
721    "hdf_vd_find",
722    "hdf_vd_get",
723    "hdf_vd_getid",
724    "hdf_vd_getinfo",
725    "hdf_vd_getnext",
726    "hdf_vd_insert",
727    "hdf_vd_isvd",
728    "hdf_vd_isvg",
729    "hdf_vd_lone",
730    "hdf_vd_read",
731    "hdf_vd_seek",
732    "hdf_vd_setinfo",
733    "hdf_vd_write",
734    "hdf_vg_addtr",
735    "hdf_vg_attach",
736    "hdf_vg_detach",
737    "hdf_vg_getid",
738    "hdf_vg_getinfo",
739    "hdf_vg_getnext",
740    "hdf_vg_gettr",
741    "hdf_vg_gettrs",
742    "hdf_vg_inqtr",
743    "hdf_vg_insert",
744    "hdf_vg_isvd",
745    "hdf_vg_isvg",
746    "hdf_vg_lone",
747    "hdf_vg_number",
748    "hdf_vg_setinfo",
749    "ncdf_attcopy",
750    "ncdf_attdel",
751    "ncdf_attget",
752    "ncdf_attinq",
753    "ncdf_attname",
754    "ncdf_attput",
755    "ncdf_attrename",
756    "ncdf_close",
757    "ncdf_control",
758    "ncdf_create",
759    "ncdf_dimdef",
760    "ncdf_dimid",
761    "ncdf_diminq",
762    "ncdf_dimrename",
763    "ncdf_exists",
764    "ncdf_inquire",
765    "ncdf_open",
766    "ncdf_vardef",
767    "ncdf_varget",
768    "ncdf_varget1",
769    "ncdf_varid",
770    "ncdf_varinq",
771    "ncdf_varput",
772    "ncdf_varrename"
773end keywords
774
775optional operators are
776    NOT \not,
777    OR \vee,
778    XOR,
779    AND \wedge,
780    GE \geq,
781    GT >,
782    LT <,
783    LE \leq,
784    EQ \equiv,
785    NE \neq,
786    <,
787    >,
788    \#
789end operators
790
791sequences are
792    ;               Comment,
793    # IDL strings and char are not exactly C-char, since 'Foo''bar'
794    # represents "Foo'bar"
795     "\'" Plain String "\'" Plain
796       exceptions are
797          "\'\'"
798       end exceptions,
799     "\"" Plain String "\"" Plain
800       exceptions are
801          "\"\""
802       end exceptions
803end sequences
804
805end style
806