auctex
[Top][All Lists]
Advanced

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

[AUCTeX] Re: How to get pdf mode turned on automatically for beamer file


From: Leo
Subject: [AUCTeX] Re: How to get pdf mode turned on automatically for beamer files
Date: Sat, 29 Nov 2008 15:46:45 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

On 2005-11-26 22:05 +0000, Ralf Angeli wrote:
> (add-hook 'LaTeX-mode-hook
>         (lambda ()
>           (when (member "beamer" TeX-active-styles)
>             (TeX-add-style-hook "beamer" (lambda () (TeX-PDF-mode 1))))))
>
> In order to make this more userfriendly we could let `TeX-load-style'
> run a hook (with the style name as argument).

Any idea why this stops working with latest CVS?

Thanks,
-- 
.:  Leo  :.  [ sdl.web AT gmail.com ]  .:  [ GPG Key: 9283AA3F ]  :.

        Use the better alternative -- http://www.openoffice.org/





reply via email to

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