unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: David Kastrup <dak@gnu.org>
Subject: Re: integrating PDFLaTeX with emacs?
Date: Thu, 17 Mar 2005 22:57:44 +0100	[thread overview]
Message-ID: <x5mzt26ilj.fsf@lola.goethe.zz> (raw)
In-Reply-To: Pine.SOL.4.33.0503171346170.7391-100000@odd

Elvis Chen <chene@cs.queensu.ca> writes:

> sorry for what may be a trivial question, but please help if it is
> trivial nonetheless :)
>
> I'm trying to get PDFLaTeX to play nicely with emacs.  I'm using
> Linux Suse 9.1 with Emacs-21.3.  I would like to edit my
> ~/.gnu-emacs-custom such that I can rebind the keys:
>
> Ctrl-c Ctrl-f to "pdflatex" my .tex file, and
> Ctrl-c Ctrl-v to launch xpdf to view the resulting .pdf file

Ok, this very much looks like you use the builtin TeX mode of Emacs.
I would very much suggest that you try using AUCTeX
<URL:http://www.gnu.org/software/auctex>.  This is reasonably easy,
since we provide a SuSE RPM at <URL:ftp://ftp.gnu.org/pub/gnu/auctex>.
AUCTeX in its current versions will usually guess from package options
in the preamble whether to use LaTeX or PDFLaTeX, and you can easily
switch between the two manually, too.  C-c C-v will start the
respective viewer, but the usual "dispatcher" uses C-c C-c RET instead
of C-c C-f.  One can get used to it.

Apart from better indentation and formatting, you get a lot of
document-sensitive help for inputting stuff.  It is really worth a
try.

Even preview-latex <URL:http://preview-latex.sourceforge.net> works
with PDFLaTeX by now.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

  parent reply	other threads:[~2005-03-17 21:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-17 18:50 integrating PDFLaTeX with emacs? Elvis Chen
2005-03-17 19:50 ` Daniel Wright
2005-03-17 20:58 ` Peter Dyballa
2005-03-17 21:57 ` David Kastrup [this message]
2005-03-18  4:23 ` Stefan Monnier
2005-03-18  7:44   ` David Kastrup
2005-03-18 16:30     ` Stefan Monnier
2005-03-19 22:23 ` Olive
2005-03-19 22:28   ` Olive

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=x5mzt26ilj.fsf@lola.goethe.zz \
    --to=dak@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).