Skip to content

Use rsvg-convert when available on the path to convert SVG to PDF like Pandoc #2575

Closed

Description

@cderv

@cderv It does seem like we should consider doing this when rsvg-convert is available on the path. We'd just need a Lua filter for this that targets PDF/LaTeX/Beamer. I'd think we'd want to do it automatically (as the other alternative is an error message from LaTeX). Could you take a shot at a PR for this? (note that the node module requires native code so not something we can easily port to deno).

cc @cscheid

Originally posted by @jjallaire in #997 (comment)

Context

This is what Pandoc is doing in its PDF writer, and we should probably bring this feature back for our quarto render --to pdf format, as this is a difference from pandoc --to pdf behavior.

Activity

  1. self-assigned this
    on Sep 23, 2022
  2. added
    enhancement
    pandoc-lua
    on Sep 23, 2022
  3. added this to the v1.3 milestone on Sep 23, 2022
  4. dragonstyle commented on Nov 21, 2022

    @dragonstyle
    Collaborator

    Fixed here
    68a0b78

  5. cderv commented on Nov 21, 2022

    @cderv
    MemberAuthor

    Awesome ! Thank you @dragonstyle !

  6. added a commit that references this issue on Dec 14, 2022
    e4a45d0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementpandoc-lua

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions