Skip to content

Automatically convert SVG for PDF output #196

@kuon

Description

@kuon

I use SVG images in my quarto document, like so:

![Electronic overview](overview.svg){layout-align=center}

it works fine for HTML, but for PDF it says:

LaTeX Error: Unknown graphics extension: .svg.

I know that latex do not support svg, and that the usual workflow is to convert svg to PDF using inkscape or similar.

Is there a way to automate this with quarto?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions