unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Ralf Angeli <dev.null@caeruleus.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Auctex&Beamer recognising pdftex mode automatically
Date: Fri, 11 May 2007 08:00:36 +0200	[thread overview]
Message-ID: <46440684$0$6398$9b4e6d93@newsspool2.arcor-online.net> (raw)
In-Reply-To: 861whnor3y.fsf@news.absatzen.de

* Ulrich M. Schwarz (2007-05-11) writes:

> Brendan Halpin <brendan.halpin@ul.ie> writes:
>
>> I've been looking for a way to get Emacs/AucTeX to recognise that a
>> paticular latex file should be processed by pdflatex, and was
>> delighted to stumble on the fact that \usepackage[pdftex]{graphicx}
>> or \documentclass[pdftex]{...} was enough. 
>>
>> But it doesn't seem to work for Beamer files, i.e.
>> \documentclass[pdftex]{beamer} still gets put in LaTeX-mode. Is
>> this an oddity of beamer.cls?
>>
>> A pity if so because it's a nice neat feature.
>
> Putting %&pdflatex as the first line will¹ cause LaTeX to behave as if
> you called pdflatex (even if you called latex).

But it won't lead to AUCTeX activating TeX PDF mode for the file.
Therefore the wrong viewers will be launched, for example.

-- 
Ralf

  reply	other threads:[~2007-05-11  6:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-10 22:14 Auctex&Beamer recognising pdftex mode automatically Brendan Halpin
2007-05-10 23:18 ` Lars Madsen
2007-05-10 23:48 ` Amy Templeton
2007-05-11  5:45 ` Ulrich M. Schwarz
2007-05-11  6:00   ` Ralf Angeli [this message]
2007-05-11  9:32 ` Peter Dyballa
     [not found] ` <mailman.506.1178841043.32220.help-gnu-emacs@gnu.org>
2007-05-11 15:35   ` Brendan Halpin
     [not found] ` <mailman.514.1178876409.32220.help-gnu-emacs@gnu.org>
2007-05-11 18:08   ` Ralf Angeli
2007-05-12 21:10 ` Stephen Eglen
2007-05-12 21:25   ` Ralf Angeli
2007-05-13 12:58     ` Michele Dondi

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='46440684$0$6398$9b4e6d93@newsspool2.arcor-online.net' \
    --to=dev.null@caeruleus.net \
    --cc=angeli@caeruleus.net \
    --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).