Hi Max. Thanks for the mmm-mode suggestion. It sure looks like it should help, but I didn't see any effect when I tried it. Would you mind sharing the emacs lisp you use with it?
Does anyone on this list use mmm-mode for Haskell+LaTeX?
- Conal
>>>>> "Conal" == Conal Elliott <conal@conal.net> writes:
Conal> Is there a Haskell emacs mode that works well with lhs2TeX?
Conal> Specifically (a) treating \begin{spec} ... \end{spec} like
Conal> \begin{code}... \end{code}, and (b) coloring inline code
Conal> ("|<expr>|)" and maybe inline verbatim ("@<expr>@") as Haskell
Conal> rather than LaTeX code.
May be mmm-mode will help you, I haven't tried the combination
mmm-mode+latex-mode+haskell-mode. AFAIU it should work (I used
mmm-mode with cweb mode to highlight latex and c code simultaneously).
--
WBR,
Max Vasin.
_______________________________________________
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell