unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Richard Riley <rileyrgdev@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: AucTex and master file and pdf mode
Date: Thu, 10 Dec 2009 20:30:27 +0100	[thread overview]
Message-ID: <hfri8k$71l$1@ger.gmane.org> (raw)
In-Reply-To: 87skbiznii.fsf@iki.fi

Teemu Likonen <tlikonen@iki.fi> 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?






  parent reply	other threads:[~2009-12-10 19:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.12683.1260469714.2239.help-gnu-emacs@gnu.org>
2009-12-10 18:34 ` AucTex and master file and pdf mode Teemu Likonen
2009-12-10 19:21   ` Richard Riley
2009-12-10 19:30   ` Richard Riley [this message]
2009-12-10 20:36   ` Sean Sieger
     [not found]   ` <mailman.12688.1260472900.2239.help-gnu-emacs@gnu.org>
2009-12-10 21:03     ` Ralf Angeli
2009-12-10 22:25       ` Richard Riley
2009-12-11 18:17         ` Sivaram Neelakantan
     [not found]       ` <mailman.12717.1260483958.2239.help-gnu-emacs@gnu.org>
2009-12-11 17:50         ` Ralf Angeli
2009-12-12 15:33           ` Richard Riley
2009-12-12 16:04             ` Richard Riley
2009-12-10 18:27 Richard Riley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='hfri8k$71l$1@ger.gmane.org' \
    --to=rileyrgdev@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).