> Dimitri Aivaliotis wrote: > > Try Syntax <http://rubyforge.org/projects/syntax> or > CodeRay<http://rd.cycnus.de/coderay/> Unfortunally, they noth have very poor base of ready language files and rather complicated mechanism for defining new ones. > From: ara.t.howard / noaa.gov [mailto:ara.t.howard / noaa.gov] > > this simple script will convert any src file, including fortran, c++, > java, > etc, to html: > ... > command = %Q( vim -f +'syn on' +'set filetype=ruby' +'set > background=light' +'run! syntax/2html.vim' +'w! #{ ts[1].path }' +'qa!' - > < #{ ts[0].path } > /dev/null 2>&1 ) Not very universal solution. At least requires vim installed (which seams to be *very* uncommon on non-Unix systems ;) V.