From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: yaakov.oshman@gmail.com Newsgroups: gmane.emacs.help Subject: Re: AucTeX 11.83 and MikTeX 2.5 Date: 20 Sep 2006 02:04:32 -0700 Organization: http://groups.google.com Message-ID: <1158743072.850277.319960@h48g2000cwc.googlegroups.com> References: <450d6f5f$0$17408$9b4e6d93@newsspool2.arcor-online.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1158745283 11252 80.91.229.2 (20 Sep 2006 09:41:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 20 Sep 2006 09:41:23 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 20 11:41:19 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GPyZY-0003BN-O7 for geh-help-gnu-emacs@m.gmane.org; Wed, 20 Sep 2006 11:40:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GPyZY-00011e-5p for geh-help-gnu-emacs@m.gmane.org; Wed, 20 Sep 2006 05:40:52 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!h48g2000cwc.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Followup-To: gnu.emacs.help Original-Lines: 59 Original-NNTP-Posting-Host: 80.45.67.243 Original-X-Trace: posting.google.com 1158743076 27861 127.0.0.1 (20 Sep 2006 09:04:36 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 20 Sep 2006 09:04:36 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: h48g2000cwc.googlegroups.com; posting-host=80.45.67.243; posting-account=bEKlnw0AAABoeURdWfltrVxWZj6Ng2iN Original-Xref: shelby.stanford.edu gnu.emacs.help:141886 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:37507 Archived-At: Hi, I have just installed Emacs22+Auctex (preview enabled!) on my Win XP/SP2 system with MikTeX 2.5. I used the customization procedure described above (thanks for the explanations!) but could not solve one mystery: in compiling multi-file articles, composed of a master file and some others, the source specials that get added to the dvi file do not include the file extensions (*.tex); hence, when trying to do inverse search from YAP, emacs opens a blank new file that has the correct file name -- without the extension... I could solve the problem by modifying the inclusion commands (in the master file) to, e.g., \input{filename.tex} (as opposed to what I had before: \input{filename}), but this is "not elegant", and not having the extensions *did work* in the previous versions of emacs (21.3)+auctex! My question is, then: how to customize auctex to pass on the file extensions as well to YAP in the source specials? Thanks much in advance! Yaakov. PS Maybe this is relevant: I am using gnuserv, and the code added to my .emacs file is: (add-to-list 'load-path "c:/emacs/site-lisp/gnuserv/") (require 'gnuserv) (gnuserv-start) (setq gnuserv-frame (selected-frame)) Robert McDonald wrote: > Ralf Angeli wrote: > > > > Please don't edit files directly. There is a reason these things are > > implemented as a customizable option. What Reiner meant was that you > > use `M-x customize-variable RET TeX-output-view-style RET', change the > > value and save it. > > > > > > > Ouch! Please don't recommend something like that! Again, there is > > the possibility to change the variable values without changing a > > file. Don't do this! > > > > Thank you Ralf. You're quite right on all counts. Implementing Reiner's > original change as a customization fixes everything. After reading > through the various AucTeX files trying to figure out what was going on, > for some reason it never occurred to me to customize to solve the > problem, and so I didn't pick up on that from Reiner's suggestion. Also, > to be honest, I didn't really understand tex-source-specials-mode (for > my purposes it suffices to leave specials on all the time) so I didn't > understand the greater ramifications you mentioned. But now that I see > how it works and how easily it adapts to different systems, my > admiration for AucTeX and Emacs is all the greater. > > Thanks! > > Bob