# Syntax highlighting blocks of code with LaTeX and literate programming tools [closed]

Using packages like `minted` (thanks to Pygments), LaTeX can generate beautifully highlighted/colored source code. Literate programming tools such as `noweb` and `cweb` can generate beautifully typeset and readable documentation.

Ideally, I would like that the docs generated by `noweb` and `cweb` have high quality syntax coloring, and this seems like a problem that someone on either community may have tackled. So here is the question:

Does anyone know how to get `noweb` and related tools to use `minted` or a similar LaTeX package for syntax coloring?

-

## closed as off topic by Marco Daniel, egreg, Joseph Wright♦Feb 4 '12 at 22:48

Questions on TeX - LaTeX Stack Exchange are expected to relate to TeX, LaTeX or related typesetting systems within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

I have written `pygnoweb`, a `noweb` filter that uses Pygments to typeset the blocks of source code with LaTeX. It is available at bitbucket.org/romildo/pygnoweb. – Romildo Jun 4 '12 at 16:53