help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: AucTex and master file and pdf mode


From: Richard Riley
Subject: Re: AucTex and master file and pdf mode
Date: Thu, 10 Dec 2009 20:30:27 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Teemu Likonen <address@hidden> writes:

> On 2009-12-10 19:27 (+0100), Richard Riley wrote:
>
>> It's not clear to me from the docs how to default to pdf mode for all
>> files.  I have no need for dvi and pdf is more flexible with graphics
>> inclusion (e.g I just use png and not eps).
>
> I believe this does it:
>
>     (setq-default TeX-PDF-mode t)
>
> Actually I have set the variable through customize interface and I do
> get PDFLaTeX mode by default.
>

This worked for me:-


 (add-hook 'LaTeX-mode-hook (lambda ()
                                  (reftex-mode 1)
                                  (setq TeX-PDF-mode t)
                                  (TeX-fold-mode 1)))

Setting it once did nothing : the global value was t but the buffer
local was still nil (after restarting emacs). I have no buffer variables
relevant either. I guess I'm missing something obvious?






reply via email to

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