What's up with enscript for syntax highlighting?

Phlip phlip_cpp at my-deja.com
Sun Feb 18 14:51:55 EST 2001


Proclaimed Phlip from the mountaintops:

> Here's a command for GNU enscript 1.6.1:
> 
> enscript --pretty-print=python Kozmik.py --language=html
> --output=Kozmik.py.html
> 
> The output ain't pretty. It uses no colors.

Per this exellent brand-new site I've just discovered called 
http://groups.google.com, those brave enough to survive the terrors of 
'gvim' can click on its menu items Syntax -> Convert to HTML to get some 
color in their life.

Man, putting all the USENET archives in one Web site's a killer idea. Why 
hasn't anyone ever thought of that before? ;-)

-- 
  Phlip                          phlip_cpp at my-deja.com
============ http://c2.com/cgi/wiki?PhlIp ============
  --  The first few lines of code must "hook" the
      computer, and make it "care" about the program  --



More information about the Python-list mailing list