-
Notifications
You must be signed in to change notification settings - Fork 16
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
KeyError: 'preamble' #21
Comments
@philexander I'd be more than happy to create some action in this repo, to have some automated testing and avoid such regressions 😉 |
@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. |
@philexander Here you are: #22. |
Describe the issue
Since the commit 1a91890, 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:
tikz/sphinxcontrib/tikz.py
Lines 272 to 275 in 13575f6
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)
The text was updated successfully, but these errors were encountered: