1149
IDL_to_HTML
The purpose of this program is to convert IDL ASCII text source code *.pro file(s) into HTML with the default IDE color chromacoding so that IDL code can be viewed within a web browser and subsequently printed in color. Here is an example of the output this program will produce :
data = DIST (50) ;create data WINDOW, xs=400, ys=400, /FREE, TITLE='DIST' ;open window
if !D.N_COLORS GT 256 then DEVICE, DECOMPOSED=0 LOADCT, 13 ;load rainbow colortable
SURFACE, data, SHADES=BYTSCL(data) ;display surface
In order to install this program simply download and unpack the ZIP archive file and move the "IDL_Language.sav" file to the "lib/hook/" subfolder of the main IDL installation directory.