From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: TeX called improperly Date: Fri, 19 Apr 2002 12:43:37 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200204191843.g3JIhbG01164@aztec.santafe.edu> References: <200204162017.g3GKHwc24346@aztec.santafe.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1019242003 3652 127.0.0.1 (19 Apr 2002 18:46:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 19 Apr 2002 18:46:43 +0000 (UTC) Cc: steve@doodlebeth.com, emacs-devel@gnu.org, karl@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16ydP9-0000wn-00 for ; Fri, 19 Apr 2002 20:46:43 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16ydic-00072J-00 for ; Fri, 19 Apr 2002 21:06:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16ydOh-0006aD-00; Fri, 19 Apr 2002 14:46:15 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16ydMB-0006LY-00; Fri, 19 Apr 2002 14:43:39 -0400 Original-Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.11.6+Sun/8.9.3) with ESMTP id g3JIhca14296; Fri, 19 Apr 2002 12:43:38 -0600 (MDT) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g3JIhbG01164; Fri, 19 Apr 2002 12:43:37 -0600 (MDT) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: steve@doodlebeth.com In-Reply-To: (message from Steve Throckmorton on Thu, 18 Apr 2002 19:33:38 -0400) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:2799 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:2799 It looks like the normal value of tex-start-options-string consists of TeX commands that start with backslashes: \nonstopmode\input. You are using it with a value that has the syntax of typical Unix command line options. I would have thought that was the wrong way to use this variable, but since you expected it to work, maybe you know something I don't. Perhaps I dont fully understand the command syntax TeX accepts. Karl, can you give advice? From: Steve Throckmorton To: rms@gnu.org CC: steve@doodlebeth.com, bug-gnu-emacs@gnu.org In-reply-to: <200204162017.g3GKHwc24346@aztec.santafe.edu> (message from Richard Stallman on Tue, 16 Apr 2002 14:17:58 -0600 (MDT)) Subject: Re: TeX called improperly Sender: bug-gnu-emacs-admin@gnu.org Date: Thu, 18 Apr 2002 19:33:38 -0400 Date: Tue, 16 Apr 2002 14:17:58 -0600 (MDT) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f From: Richard Stallman CC: bug-gnu-emacs@gnu.org Reply-to: rms@gnu.org X-RCPT-TO: X-UIDL: 315135886 The other problem I had was that emacs was calling tex.exe with the option string (tex-start-options-string), which I set within buffer with the Local Variables feature, in quotes (""). This caused the options to be ignored by TeX. What value did you use? What job was it meant to accomplish? Here is the entire Local Variables section I am using for this file: %Local Variables: %mode:tex %mode:auto-fill %tex-command:"c:\\texmf\\miktex\\bin\\tex " %tex-start-options-string:"--output-directory=c:\\steve\\tex --interaction=nonstopmode" %tex-dvi-view-command:"c:\\texmf\\miktex\\bin\\yap.exe -1" %End: The version of TeX I am using accepts optional arguments in format: --option-name=optionsetting It (gracefully, I must say) ignores the arguments if they are quoted, which is how Emacs was delivering them on the command line. Perhaps I'm not supposed to be including quotes when I specify the string, but default values are quoted, so I did mine too. _______________________________________________ Bug-gnu-emacs mailing list Bug-gnu-emacs@gnu.org http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs