This extension converts SVG images to PDF in case the builder does not support SVG images natively (e.g. LaTeX).
Just install via
$ pip install sphinxcontrib-svg2pdfconverter
You can choose between Inkscape, libRSVG and CairoSVG by adding
sphinxcontrib.cairosvgconverter to the
extensions list in your
Make sure to have either
inkscape or the
rsvg-convert command available
in your systems
PATH and, if necessary, adapt the
rsvg_converter_bin config value respectively.
CairoSVG requires additional dependencies to be installed with:
$ pip install sphinxcontrib-svg2pdfconverter[CairoSVG]
CairoSVG and its dependencies may require additional tools during the installation depending on the OS you are using; see the CairoSVG documentation for further details.
- Path to Inkscape binary. By default, this is
- Additional command-line arguments for Inkscape, as a list. By
default, this is
- Path to RSVG converter binary. By default, this is
- Additional command-line arguments for the RSVG converter, as a list. By
default, this is the empty list
No configuration is required.