Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use -E to promote warning messages to error msgs #67

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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