Skip to content

LaTeX: use CTAN's svg package #13953

@m-aciek

Description

@m-aciek

Is your feature request related to a problem? Please describe.
Currently the documentation fails to build the PDF while trying to include an SVG image.

Describe the solution you'd like
LaTeXTranslator could recognise an SVG and use svg package with \includesvg directive to convert the image in an automated fashion.

Describe alternatives you've considered
sphinx.ext.imgconverter (python/cpython#139635)

Additional context
Using svg package requires using --shell-escape flag in latexmk call. Also it requires a new runtime dependency – Inkscape.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions