ref warning with physics package points to wrong file

Bug #1650510 reported by Heinz Dieter on 2016-12-16
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

A minimal working example to show the bug


Harr \ref{gmr}

% Local Variables:
% compile-command:"rubber --pdf -W refs mwe"
% End:

The output is

rubber --pdf -W refs mwe
compiling mwe.tex...
/usr/share/texlive/texmf-dist/tex/latex/physics/physics.sty:5: Reference `gmr' undefined. (page 1)

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.

Heinz Dieter (heynz) wrote :
Sebastian Kapfer (caci) wrote :

Probably a bug in the log parser.

Changed in rubber:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments