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 _______________________________________________ bug-auctex mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-auctex
