sphinx-contrib / kroki

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SVG format with latexpdf and figure size

memaskal opened this issue · comments

Hello,

can you please provide an example of how to use this lib with latex and SVG output format? I get this error,

! LaTeX Error: Cannot determine size of graphic in kroki-8b950f35ccb0109a8c0a9e
d6fb9394ab4e1e7eec.svg (no BoundingBox).

Moreover, how I can set the size of the produced figure? The figure is stretched (when using the png format) resulting in poor image quality. It would be really useful if options like with/height/scale were provided (like https://github.com/sphinx-contrib/plantuml)