TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need support for HAML and CoffeeScript like other languages already got with the listings package.

Do you know any solutions?

share|improve this question
I think minted can help you. It relies on Pygments, which has both HAML and CoffeeScript lexers. :) – Paulo Cereda Jun 22 '12 at 10:22
up vote 2 down vote accepted

Up to now not every language is implemented. The package listings provides a special section about setting up you own syntax. However there is also the package minted which uses the external program Pygmentize to emphasize your code.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.