Suppose, there is a large
*.tex document, which has many nested
\input directives with many Haskell listings surrounded by
How can all this code listings be highlighted like all haskell code is highlighted in many haskell papers (functional pearls is a good example)?
I heard, that many haskell papers written in
lhs and then transferred to
lhs2tex. Yep, this is a nice tool, but it produces whole
tex document and it is hard to be usable for the task like mine.
Btw, I've tried
fancyvrb - it's far away from ideal.