auctex
[Top][All Lists]
Advanced

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

[AUCTeX] Re: archive of this list


From: Hannes Rist
Subject: [AUCTeX] Re: archive of this list
Date: Fri, 18 Apr 2008 02:02:13 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Joost Kremers <address@hidden> writes:

> On Wed, Apr 16, 2008 at 03:16:11PM +0000, Bernhard Kleine wrote:
*snip*
>> And: how to get pdflatex automatically activated for a given tex-file?
>
> just put the following file-local variable in the relevant tex file:
>
> %%% TeX-PDF-mode: t
>
> (all the way at the bottom, where the other file-local variables
> are. that's to say, any tex file created with auctex should contain
> several.)

(add-hook 'LaTeX-mode-hook (lambda () (tex-pdf-mode))) in your .emacs
file.
I use this, though I'm not sure if it has any bad side-effects.

Hope that helps
Hannes





reply via email to

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