tueda / makefile4latex

A GNU Makefile for typesetting LaTeX documents.
MIT License
26 stars 3 forks source link

Failing to automatically rerun BibTeX #8

Closed tueda closed 5 years ago

tueda commented 5 years ago

In some cases, the Makefile can't detect that BibTeX needs to be rerun.

This happens when the filename of the .bbl file is split in two lines in the log file. Example:

fhh_tb5_p-eps-converted-to.pdf> <./ffhh_tb5_m-eps-converted-to.pdf>] (./double-
higgs.bbl [17] [18] [19] [20]) [21]

Then https://github.com/tueda/makefile4latex/blob/9250546d6cb2c2679bc9de9965ee6fde9d4e5d31/Makefile#L1150 fails to check if the Makefile needs to rerun BibTeX.

Workaround: manually delete the .bbl file.