Possible Duplicate:
Syntax Coloring in LaTeX
I'm relatively new to LaTeX, and am starting to use it for academic paper writing. I'm doing a lot of computer programming as part of my academic work, so need to be able to include code extracts easily.
I know I can easily make them appear in a monospaced font, but what would you suggest for getting automatic syntax highlighting?

However, I can run pygmentize fine from any command prompt. What is going on?
– levesque Oct 18 '10 at 18:04