Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Michael Ederer <MichaelEderer <at> web.de>
Subject: Re: =?utf-8?q?11=2E86=3B=09Still_a_problem_with_TeX-next?= =?utf-8?q?-error_with_MiKTeX_2=2E8?=
Newsgroups: gmane.emacs.auctex.bugs
Date: Thursday 1st September 2011 15:22:46 UTC (over 5 years ago)
Fredrik Lindsten  isy.liu.se> writes:

> Hi,
> I run AUCTeX 11.86 on Windows 7 with MikTeX 2.8.
> 
> I have encountered the problem that TeX-next-error opens a buffer called 

> "MikTeX 2.8" and goes to that buffer instead of taking me to the error in
 
> the file, as also reported also here  
> http://lists.gnu.org/archive/html/bug-auctex/2009-11/msg00006.html
> 
> I have understood that the problem is the name of the directory "Program 

> Files (x86)", in which MikTeX is installed. However, I also read this...
> 
> "Parsing of LaTeX output was improved. It is now less likely that AUCTeX 

> opens a non-existent file upon calling TeX-next-error; a problem for  
> example encountered when using MiKTeX 2.8. In addition quoted file names 

> as emitted by MiKTeX are now supported."
> 
> Source: http://www.gnu.org/software/auctex/manual/auctex/Changes.html
> 
> ...in the change log for the latest AUCTeX version, and hoped that the  
> problem would have gone away, but unfortunately it has not. Is there any 

> workaround for this problem (other than installing MikTeX in another  
> directory, which I cannot)?
> 
> Best regards,
> Fredrik

Hi Frederik,

I had a similar problem. Apparently auctex gets confused by unbalanced
parantheses that may occur in the log file. I could fix this problem by
turning
"file-line-error" in latex on. I currently use the following local
variables
list at the end of the tex file: 

%%% Local Variables: 
%%% mode: latex
%%% TeX-master: t
%%% LaTeX-command: "latex -file-line-error"
%%% End: 

An customization of latex-run-command should also work.

Michael
 
CD: 3ms