From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Hagen Nieberding" Newsgroups: gmane.emacs.help Subject: opening xpdf from emacs Date: Wed, 04 Jun 2003 07:25:01 +0200 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1054704492 25624 80.91.224.249 (4 Jun 2003 05:28:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 4 Jun 2003 05:28:12 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 04 07:28:11 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19NQok-0006f3-00 for ; Wed, 04 Jun 2003 07:28:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19NQnh-0003GX-0y for gnu-help-gnu-emacs@m.gmane.org; Wed, 04 Jun 2003 01:27:05 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19NQnK-0002vL-5N for help-gnu-emacs@gnu.org; Wed, 04 Jun 2003 01:26:42 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19NQn7-0002FD-2t for help-gnu-emacs@gnu.org; Wed, 04 Jun 2003 01:26:30 -0400 Original-Received: from mail.alvisgearratio.co.za ([196.31.151.67] helo=alvisomc.co.za) by monty-python.gnu.org with smtp (Exim 4.20) id 19NQm4-0000yA-Aq for help-gnu-emacs@gnu.org; Wed, 04 Jun 2003 01:25:25 -0400 Original-Received: from BenDom-Message_Server by alvisomc.co.za with Novell_GroupWise; Wed, 04 Jun 2003 07:25:17 +0200 X-Mailer: Novell GroupWise Internet Agent 5.5.7.1 Original-To: Content-Disposition: inline X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:10576 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10576 ** Confidential ** Hi there, I'm using emacs to generate pdf documents with pdflatex, on a PC running = RedHat linux. Once I've compiled the document and a pdf-file has been = generated, I would like to view the pdf -file using xpdf.=20 I changed the .emacs file by adding (setq tex-run-command "pdflatex") and seemed to work fine, since the compilation of the tex file happened = without a hitch. I searched the archive of this list, but could not find no posting that = could help me. Search of the net using Google got me a document that = suggested adding the following to the .emacs file: (setq tex-dvi-view-command "xpdf *") Unfortunately, I get an error saying that "no .dvi file was found". How do = I change it so that emacs looks for a pdf-file rather than a dvi-file? The same document also suggested the line (setq tex-output-extension ".pdf") but the emacs manual does not seem to list this as a standard variable. Guys, a couple of line of code to help me out would be great! Thanks. Regards Hagen Mr. Hagen Nieberding Alvis OMC Private Bag X049 Benoni 1500 South Africa Tel: +27 11 747-3300 (Switchboard) Tel: +27 11 747-3397 (Direct Line) Fax: +27 11 421-5107