bug-auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-AUCTeX] 11.86; Still a problem with TeX-next -error with MiKTeX


From: Michael Ederer
Subject: Re: [Bug-AUCTeX] 11.86; Still a problem with TeX-next -error with MiKTeX 2.8
Date: Thu, 1 Sep 2011 15:22:46 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Fredrik Lindsten <lindsten <at> 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










reply via email to

[Prev in Thread] Current Thread [Next in Thread]