sphinx-contrib / kroki

Embed PlantUML, DOT, etc. diagrams in your documentation using Kroki.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kroki not supported in Latex builder

jamesbooker opened this issue · comments

Unable to build latex documents when kroki directives are present, even with the sphinxcontrib-svg2pdfconverter extension installed.

writing... failed

Exception occurred:
File "c:<snip>\venv\lib\site-packages\sphinx\writers\latex.py", line 2044, in unknown_visit
raise NotImplementedError('Unknown node: ' + node.class.name)
NotImplementedError: Unknown node: kroki

the same problem.

Exception occurred:
File "/home/docs/checkouts/readthedocs.org/user_builds/gtrd/envs/latest/lib/python3.7/site-packages/sphinx/writers/latex.py", line 2042, in unknown_visit
raise NotImplementedError('Unknown node: ' + node.class.name)
NotImplementedError: Unknown node: kroki

@jamesbooker @fkolpakov This issue should be resolved in https://github.com/sphinx-contrib/kroki/releases/tag/1.2.1

Thanks, I'll check it out