ref warning with physics package points to wrong file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Rubber |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
A minimal working example to show the bug
\documentclass[
\usepackage{
\begin{document}
Harr \ref{gmr}
\end{document}
% Local Variables:
% compile-
% End:
The output is
rubber --pdf -W refs mwe
compiling mwe.tex...
/usr/share/
If I comment out the physics package, I get
rubber --pdf -W refs mwe
compiling mwe.tex...
mwe.tex:5: Reference `gmr' undefined. (page 1)
as desired. Any ideas why physics "captures" the errors? I use emacs to call rubber and it parses the file and line number so I can jump there immediately from *compilation* buffer. With the physics package, that's become useless. Apart from this little glitch, thanks for making rubber, I find it a very convenient tool.
Probably a bug in the log parser.