Repository navigation
Downgrade missing references and citations from errors to warning - #4974
laurmaedje wants to merge 5 commits into
Conversation
|
I feel like adding warning levels (or equivalent) first is more important (or, at least, should ship together), considering the following:
Imho we should tackle this first before merging this feature. I don't think it is urgent enough to skip this discussion. |
|
I've talked to @reknih. While I would have liked to get this through, I could just as well see the roles being reversed and me arguing your point, so I'll close this for now. |
I have the exact opposite impression. The majority would rather have references be a warning, without blocking compilation. |
|
Thanks for the input; I'll respond in the issue to keep the discussion organized. |
Closes #4035
Both unresolved references and citations now result in warnings rather than errors. In the document, they are rendered in red, raw text.
Notably, references to duplicate labels are still an error.
Given this change, is becomes even more important that we prevent warning spam, so that important warnings like this one stand out. There are some ideas to have different importance for various warnings (for instance, by demoting less important warnings that do not have adverse affects on the document to a "lint" level), but that's still in-flux. In the web app, we might add a confirmation dialogue before downloading a PDF with outstanding warnings (but not with lints) in the future.