-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Error in latexmk run doesn't cause build failure #7884
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
Comments
Hrm... This is because we found multiple cases of readthedocs.org/readthedocs/doc_builder/backends/sphinx.py Lines 458 to 461 in 30c0636
It checks for Is the PDF generated for you project broken in some way? |
Good question! Yes. I've fixed the error in the meantime, but I've created a new branch named The generated PDF is: https://splines.readthedocs.io/_/downloads/en/pdf-error/pdf/ On page 60 in code cell number 22, the greek letter alpha is missing (this is what the LaTeX error talks about). plot_alpha(0, ' = 0 (uniform)') But it should be: plot_alpha(0, 'α = 0 (uniform)') As shown on the HTML page: https://splines.readthedocs.io/en/pdf-error/euclidean/catmull-rom-properties.html#Parameterized-Parameterization |
I think we can communicate better those warnings #4226 |
@mgeier excellent report! very detailed! This is definitely something we have to improve. I'm not sure we want to fail the build (Latex is hard to make it perfect and most users would probably give up loosing the whole PDF just for a small error). However, I agree with @stsewd that we could communicate this better. Also, we could add something similar to Sphinx's |
This affected Sphinx recently, see sphinx-doc/sphinx#9475 (thanks @mgeier for the pointer!) |
I'd like to see a config that allows users to decide whether or not the build has to fail if the PDF (or any other format) fails. |
Details
Expected Result
I'm not sure if that's intended, but I would expect to see some indication of failure if the call to
latexmk
fails.I guess it would still be useful to be able to access the generated HTML pages (which are built before the PDF), but some visible cue (e.g. in the build list) that there has been an error would be helpful.
Actual Result
At the end of the build, I see a nice green "Build completed" badge on the build page and a "Passed" message in the list of builds, even though there were errors:
The text was updated successfully, but these errors were encountered: