sphinx-contrib / tikz

A Sphinx extension to draw pictures with the TikZ/PGF LaTeX package
Other
18 stars 15 forks source link

Failing sphinx if a tikz figure cannot be created #3

Closed obonaventure closed 3 months ago

obonaventure commented 4 years ago

Hello,

The current tikz extension fails silently. If there is a problem with the tikz code for a figure (e.g. syntax error, missing ;, ...) included in a sphinx document, sphinx outputs the latex log but continues its processing. Is there a way to indicate the error to sphinx so that it can fails. This would be useful for continuous integration tests that try to validate the correctness of changes to a sphinx document.

Thanks

jgori-ouistiti commented 2 years ago

Hi, I want to support obonaventure's issue, I have the same problem, where the build on github actions passes even though there are fails on the tikz part. Thank you for the great tool

philexander commented 3 months ago

Resolved in dce5f121a911a539fa469b872dbab1af9b0a271a.