]> git.lyx.org Git - features.git/commit
Start reporting missing citations and broken references in LaTeX build.
authorPavel Sanda <sanda@lyx.org>
Fri, 7 Jun 2019 14:47:04 +0000 (16:47 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:33 +0000 (15:48 +0200)
commit85c775ba4230cb7c31394f4f51936eac8188341d
tree6bba171685f45476b0138b64c08f73d20677682f
parent7db6d73b3745dae0f558dc6b1c5c89f5b8154988
Start reporting missing citations and broken references in LaTeX build.

Now we report these in the same way as LaTeX errors (but let the user to
see the result anyway). It remains to be shown much is this disturbing
to users. Generally, ignoring these is not a good idea, because they are
harder to manually spot in longer documents.

The details of reported error varies because log linebreaks at 90
induced by pdflatex make log harder to parse.
The committed code is more robust than previous, in which some missing
cits/refs with long keys would go unnoticed.

Tested on bibtex and natbib.

https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg208912.html
src/Buffer.cpp
src/Buffer.h
src/Converter.cpp
src/LaTeX.cpp
src/LaTeX.h