Skip to content

Select an SVG/PDF page in the image function #3160

@wrenger

Description

@wrenger

Description

The SVG format supports multiple pages. Unfortunately, typst has no way to select a specific page in the image function. It currently only renders the first page.

Use Case

I would like to use multi-plage SVGs (which are especially neat for building animations in slides).

Something like this would be great:

#image("fig/my-image.svg", width: 60%, page: 2)

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestNew feature or requestsvgAnything about the file format for people who like to have fun.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions