I'm using emacs + auctex for all my TeXing needs and I'm very satisfied with the workflow. However, there's one thing bothering me. Whenver I compile a document (possible consisting of multiple files) and there's a missing reference auctex prints this annoying message
LaTeX Warning: Reference `fig:MyMissingLabel' on page 42 undefined on input line 37.
and that's it. No shortcut for jumping to the missing reference, nada!
I'm aware that I could enable debugging of warnings, however, this is not really suitable in case the document produces other warnings which I don't want to debug¹.
I'd like to have a defun which cycles the point to the locations of the missing references. Thus I have not found anything online, maybe one of you guys can help?
Thanks in advance!
elemakil
[1] E.g. some packages report warnings when not loaded with a version number or something. I don't want to debug this. I'd like to correct my references!
The shorcuts in AUCTeX allow you to jump to an error.
The missing references are warnings.
You can activate your desired behavior by treating warnings as errors with TeX-toggle-debug-warnings
which is bound to C-c C-t C-w
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With