tags + 695282 confirmed upstream severity 695282 normal thanks. >>>>> NP == Norbert Preining [2012-12-7]
NP> Package: auctex NP> Version: 11.87-1 NP> Severity: important Hi Norbert, are you sure about the severity level? I think this is normal, and I set it accordingly; feel free to reset it to important if you object (please, read on before objecting and consider the bug severity level description @ <http://www.debian.org/Bugs/Developer>). NP> since 11.87 it seems to me that very simple documents with errors, NP> when run through latex, auctex cannot display the error place. I did not (yet) check with 11.86, are you sure it's 11.87 specific? NP> Take this example: [...] NP> Error occured after last TeX file closed I think you run into a known problem, described into point 8 of AUCTeX 11.87 FAQ: --8<---------------cut here---------------start------------->8--- 8. Why does `TeX-next-error' (`C-c `') fail? When writing the log file, TeX puts information related to a file, including error messages, between a pair of parentheses. AUCTeX determines the file where the error happened by parsing the log file and counting the parentheses. This can fail when there are other, unbalanced parentheses present. As a workaround you can activate so-called file:line:error messages for the log file. (Those are are easier to parse, but may lack some details.) Either you do this in the configuration of your TeX system (consult its manual to see where this is) or you add a command line switch to the (la)tex call, e.g. by customizing `LaTeX-command-style' or `TeX-command-list'. --8<---------------cut here---------------end--------------->8--- In fact, if you check the log produced by your minimal example, you fill find that there are unbalanced parentheses present (I do). Note that the proposed workaround works (I can confirm it working here at my site): if you add the `-file-line-error' option to the LaTeX call, `C-c `' is able to spot the error (tested with pdflatex, I suppose it works for latex as well). Do you think that I should customize Debian to add `-file-line-error' by default? I'm not sure about what does `may lack some details' exactly mean, do you know better? NP> Normal documentclass article documents work without problem. By looking at the log file I suppose you won't find unbalanced parentheses there. -- Servus, Davide -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org