Skip to content

Conversation

@technicalguy
Copy link

Exit with a non-zero status code if Werrors occur.

e.g. to exit with non-zero failure status code when there are overfull lines/boxes:

latexrun -E "overfull" report.tex -o report.pdf

This supports the use-case of using continuous integration to check against overfull lines in latex projects.

(Currently this only allows promotion of warnings to error messages, but perhaps it should allow any message to be promoted to an error?)

@technicalguy
Copy link
Author

I realised it might actually be nicer to allow a "error-" prefix to the existing -W argument, rather than to add an -E argument.

@Diti
Copy link

Diti commented Jan 28, 2020

Any news on this?

@technicalguy
Copy link
Author

Sorry, I completely forgot about this, I can't remember if I finished it or not!
latexrun is just a python script though, so you could use the version on this branch if you really want/need this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants