auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] AUCTeX and preprocessors


From: Ralf Angeli
Subject: Re: [AUCTeX] AUCTeX and preprocessors
Date: Wed, 25 Jan 2006 11:34:54 +0100

* Wouter Swierstra (2006-01-25) writes:

> I'd be most grateful if people on this list have any suggestions how
> to customize auctex to my specific needs. Ideally, I'd like .lhs
> files to behave just like .tex with respect to issuing latex
> commands, viewing, source specials, and all that. A simple M-x latex- 
> mode won't cut it.

(add-to-list 'auto-mode-alist '("\\.lhs\\'" . latex-mode))
(eval-after-load "tex"
  '(add-to-list 'TeX-file-extensions "lhs"))

You might have to adapt `TeX-one-master' as well.

-- 
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]