From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Fred Krogh Newsgroups: gmane.emacs.help Subject: Re: LaTeX/Emacs problem Date: Mon, 07 Jan 2013 08:25:00 -0800 Message-ID: <50EAF6DC.1030604@mathalacarte.com> References: <50EA05A7.8050709@mathalacarte.com> <50EA67EA.5030609@mathalacarte.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1357575914 28321 80.91.229.3 (7 Jan 2013 16:25:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Jan 2013 16:25:14 +0000 (UTC) Cc: oberdiek@ruf.uni-freiburg.de, help-gnu-emacs@gnu.org To: Pierre Lorenzon , Peter_Dyballa@Web.DE Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 07 17:25:31 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TsFVy-0001xU-Pp for geh-help-gnu-emacs@m.gmane.org; Mon, 07 Jan 2013 17:25:30 +0100 Original-Received: from localhost ([::1]:59938 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TsFVi-0002WL-OY for geh-help-gnu-emacs@m.gmane.org; Mon, 07 Jan 2013 11:25:14 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:53892) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TsFVa-0002VP-5B for help-gnu-emacs@gnu.org; Mon, 07 Jan 2013 11:25:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TsFVY-0003GI-TE for help-gnu-emacs@gnu.org; Mon, 07 Jan 2013 11:25:06 -0500 Original-Received: from mathalacarte.com ([216.86.203.11]:49160) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TsFVY-0003DT-KP for help-gnu-emacs@gnu.org; Mon, 07 Jan 2013 11:25:04 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by mathalacarte.com (Postfix) with ESMTP id 62F963C0105; Mon, 7 Jan 2013 08:25:03 -0800 (PST) X-Virus-Scanned: amavisd-new at mathalacarte.com Original-Received: from mathalacarte.com ([127.0.0.1]) by localhost (mathalacarte.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O4LUnkIt4ode; Mon, 7 Jan 2013 08:25:00 -0800 (PST) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by mathalacarte.com (Postfix) with ESMTP id 704D13C00CC; Mon, 7 Jan 2013 08:25:00 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 216.86.203.11 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:88503 Archived-At: On 01/06/2013 11:48 PM, Pierre Lorenzon wrote: > > Hi, > > I encountered similar problems but not everytime ! With certain > files errors cannot be detected and with other ones not. It > sometimes depent on the place LaTeX is started from i.e. from > the master file or not. In fact I have not completely > identified the circumstances for which error finding > fail. Anyway I suspect that your problem is an auctex problem > and that you'd try to post on the auctex mailing list. If you > might determine more precisely when error finding fails it > might maybey help to determine where this bad behavior comes > from. This sounds like what I'm seeing now. First of all, all the commands I've entered dealing with things like fmtutil-sys were run as root. I have one short file that worked when run as root, but not as my usual user. A longer tex file never works. I uninstalled auctex, and things worked as one might expect without auctex. The program tended to run to completion with an error message. (I was simply inserting a command like \xxx.) I then reinstalled auctex, and the short tex file worked very nicely with my usual user, and as root. The long tex file (the kind I care about) worked with neither. More sleuthing, and the long tex file works if I comment out \usepackage{hyperref} So that is looking like the real culprit. Heiko Oberdiek is the maintainer of hyperref and if this email should reach him perhaps he will have some ideas. For his information I've added my original message. ======= A long time ago when I ran latex from inside emacs, if there were errors it would point me to the place with the error (maybe after ?). For the last few years, when there was an error, I had to type that gave me a line number, I then had to kill that window to get back to my latex buffer, go to that line and fix the problem. Now another step backwards. After all I get now is " Error occurred after last TeX file closed". The only choice at this point seems to be running latex in a separate terminal window. I'd be interested if anyone else is having these sorts of problems, suggestions for tracking down the problem, or if you have it working perhaps your .emacs.el file? I'm running TeXLive on a gentoo linux system. Many thanks.