[Haskell] Re: lhs2TeX-friendly emacs mode?

Max Vasin max-appolo at mail.ru
Mon Apr 17 08:56:38 EDT 2006


>>>>> "Conal" == Conal Elliott <conal at 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.



More information about the Haskell mailing list