From: brotherelf@gmx.net (Ulrich M. Schwarz)
To: help-gnu-emacs@gnu.org
Subject: Re: Auctex&Beamer recognising pdftex mode automatically
Date: Fri, 11 May 2007 07:45:13 +0200 [thread overview]
Message-ID: <861whnor3y.fsf@news.absatzen.de> (raw)
In-Reply-To: 87wszgxr6e.fsf@wivenhoe.staff8.ul.ie
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).
HTH
Ulrich
¹ this can be disabled; the key phrase to look for is "parse first
line". I believe it's enabled in recent TeXLives, don't know about the
rest.
--
I've done a lot; God knows I've tried // To find the truth. I've even lied.
But all I know is down inside// I'm bleeding...
"Super Heroes"
next prev parent reply other threads:[~2007-05-11 5:45 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 [this message]
2007-05-11 6:00 ` Ralf Angeli
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=861whnor3y.fsf@news.absatzen.de \
--to=brotherelf@gmx.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).