Comment 11 for bug 298594

Revision history for this message
Florian Rathgeber (florian-rathgeber) wrote :

I was not quite right about that: It only happens for errors in the preamble, those are reported to occur in the master tex file, but on the same line they actually occur in the preamble. Errors from files \input after \begin{document} are reported correctly.

To make my point clear, i have the following structure (strongly simplified):

master.tex:
  \input{preamble}
  \begin{document}
    \input{chapters/chapter1}
    ...
  \end{document}

Meaning all packages are loaded and all initialization in preamble.tex. This obviously confuses Kile (though it is perfectly "legal") and I would consider that as a bug.