Open romintomasetti opened 2 months ago
@philexander I'd be more than happy to create some action in this repo, to have some automated testing and avoid such regressions :wink:
@romintomasetti Thanks for reporting and sorry for this regression. I have fixed this issue and published version 0.4.19.
@romintomasetti Thank you for offering to create automated testing as a GitHub action. You are very welcome. I have given you write permissions. Tell me if this is insufficient, or if for some reason you nevertheless refrain from contributing.
@philexander Here you are: #22.
Describe the issue
Since the commit 1a91890c53941fc65052f1bd042bafb6dbba55a8, some of your logic has changed and made our documentation fail. Note that this commit seems to be included in the release
0.4.18
(https://pypi.org/project/sphinxcontrib-tikz/0.4.18/).Here is the culprit: https://github.com/sphinx-contrib/tikz/blob/13575f602378d225fff99ef417c541d739f7fbe3/sphinxcontrib/tikz.py#L272-L275
In our configuration, when we do
make html
, it seems that the builder'slatex_elements
does not contain thepreamble
key.A quick but ugly workaround is to add
latex_elements = {}
to ourconfig.py
. I do not consider this as a viable long-term fix.@philexander I think the required fix would be along these lines (probably):
Thanks!
Trace output
(joint work with @maartenarnst)