[Haskell] Re: lhs2TeX-friendly emacs mode?

Conal Elliott conal at conal.net
Mon Apr 17 13:08:25 EDT 2006


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

On 4/17/06, Max Vasin <max-appolo at mail.ru> wrote:
>
> >>>>> "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.
>
> _______________________________________________
> Haskell mailing list
> Haskell at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org//pipermail/haskell/attachments/20060417/437151cc/attachment.htm


More information about the Haskell mailing list