[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-AUCTeX] TeX-warning: Could not determine file for warning
From: |
Johannes Gerer |
Subject: |
Re: [Bug-AUCTeX] TeX-warning: Could not determine file for warning |
Date: |
Thu, 23 Jan 2014 16:33:03 +0100 |
User-agent: |
Mutt/1.5.22 (2013-10-16) |
On Thu, Jan 23, 2014 at 04:09:27PM +0100, Tassilo Horn wrote:
> Johannes Gerer <address@hidden> writes:
>
> Hi Johannes,
>
> > I am using
> >
> > * pdfTeX 3.1415926-2.5-1.40.14 (TeX Live 2013/Arch Linux)
> > * auctex 11.87-1 (Arch Linux package)
> >
> > The Latex Output:
> >
> > LaTeX Warning: Reference `...' on page 1 undefined on input line 1129.
> >
> > When I run the command `TeX-toggle-debug-warnings' and then `next-error'
> > I get the message:
> >
> > TeX-warning: Could not determine file for warning
> >
> > Could you help me out here?
>
> I've tried just that with a simple document, and it displayed the LaTeX
> output in a *TeX Help* buffer and made me jump to the location of the
> faulty \ref in the document. That worked flawlessly with both the
> AUCTeX version 11.87.2 which you can get using `M-x
> package-list-packages' and the current Git version.
>
> So probably there's something in your document that makes the
> difference. Can you reproduce the issue with some minimal sample
> document?
>
> Thanks,
> Tassilo
Ok, the problem seems to be the hyperref package (see minimal sample
attachted). It produces a line in the latex output that looks like this:
Package hyperref Message: Driver (autodetected): hpdftex.
If I delete this line manually after running Latex from the Latex output
buffer, `next-error' works!
So it has to do something with the parsing of the Latex output...
Thanks,
Johannes
test.tex
Description: TeX document