From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: How to compile/view document in LaTex mode?? Date: Wed, 30 Mar 2005 11:57:46 -0700 Message-ID: <3b0b5dF6g797gU1@individual.net> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1112209157 6741 80.91.229.2 (30 Mar 2005 18:59:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 30 Mar 2005 18:59:17 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 30 20:59:15 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DGiOQ-0005Op-S9 for geh-help-gnu-emacs@m.gmane.org; Wed, 30 Mar 2005 20:58:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DGiex-0006zK-FF for geh-help-gnu-emacs@m.gmane.org; Wed, 30 Mar 2005 14:15:23 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 34 Original-X-Trace: individual.net fQB8siXMr1Szc5GSSgzqywSTRFQNavP5BAr2C7s+SGhIbVNxs= User-Agent: Mozilla Thunderbird 0.9 (X11/20041105) X-Accept-Language: en-us, en In-Reply-To: Original-Xref: shelby.stanford.edu gnu.emacs.help:129749 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 Xref: news.gmane.org gmane.emacs.help:25303 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:25303 JS wrote: > I have writtin a LaTex document in emacs. But how do I compile/view it?? > > From the menu I chose Tex File and that seemed to compile it, but when I > press Tex View in the new buffer that opens I get this error message: > > You must set 'tex-dvi-view-command' > > Does anyone how to get it to work? ,----[ C-h v tex-dvi-view-command RET ] | tex-dvi-view-command's value is nil | | Documentation: | *Command used by M-x tex-view to display a `.dvi' file. | If this string contains an asterisk (`*'), that is replaced by the file name; | otherwise, the file name, preceded by blank, is added at the end. | | This can be set conditionally so that the previewer used is suitable for the | window system being used. For example, | | (setq tex-dvi-view-command | (if (eq window-system 'x) "xdvi" "dvi2tty * | cat -s")) | | would tell M-x tex-view to use xdvi under X windows and to use dvi2tty | otherwise. | | Defined in `loaddefs.el'. `---- -- Kevin Rodgers