unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* integrating PDFLaTeX with emacs?
@ 2005-03-17 18:50 Elvis Chen
  2005-03-17 19:50 ` Daniel Wright
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Elvis Chen @ 2005-03-17 18:50 UTC (permalink / raw)



hi all,

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

can someone give me a hint please?

>From emacsWiki I have found what may work:
(setq tex-command "pdftex")
(defun tex-view ()
    (interactive)
    (tex-send-command "xpdf" (tex-append tex-print-file ".pdf")))

but it doesn't.  my key-binding were still tied to latex/xdvi

tia,

ECC

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-03-19 22:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).