From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Elvis Chen Newsgroups: gmane.emacs.help Subject: integrating PDFLaTeX with emacs? Date: Thu, 17 Mar 2005 13:50:32 -0500 Organization: Queen's University, Kingston Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1111086857 4606 80.91.229.2 (17 Mar 2005 19:14:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 17 Mar 2005 19:14:17 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 17 20:14:16 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DC0R2-000820-F4 for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Mar 2005 20:13:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DC0hN-0002f9-6F for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Mar 2005 14:30:25 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!snoopy.risq.qc.ca!news.ccs.queensu.ca!odd!chene Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-NNTP-Posting-Host: odd.cs.queensu.ca X-X-Sender: Original-Xref: shelby.stanford.edu gnu.emacs.help:129345 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: news.gmane.org gmane.emacs.help:24900 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:24900 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