Skip to content

scoryst:0.1.0#4511

Merged
elegaanz merged 4 commits intotypst:mainfrom
bernsteining:verovio
Apr 10, 2026
Merged

scoryst:0.1.0#4511
elegaanz merged 4 commits intotypst:mainfrom
bernsteining:verovio

Conversation

@bernsteining
Copy link
Copy Markdown
Contributor

I am submitting

  • a new package
  • an update for a package

Description:

A Typst plugin that allows music engraving in Typst from multiple formats using Verovio, thanks to WASM.

Features

  • 6 input formats: ABC, MusicXML, MEI, Humdrum, Volpiano, CMME
  • 5 Standard Music Font Layout: Leipzig (default), Bravura, Gootville, Leland, Petaluma
  • Full Verovio options: scale, font, page layout, and all toolkit options

Check the documentation for a full demonstration with examples.

I have read and followed the submission guidelines and, in particular, I

  • selected a name that isn't the most obvious or canonical name for what the package does
  • added a typst.toml file with all required keys
  • added a README.md with documentation for my package
  • have chosen a license and added a LICENSE file or linked one in my README.md
  • tested my package locally on my system and it worked
  • excluded PDFs or README images, if any, but not the LICENSE

@typst-package-check typst-package-check bot added the new A new package submission. label Apr 4, 2026
@elegaanz elegaanz self-assigned this Apr 7, 2026
Copy link
Copy Markdown
Member

@elegaanz elegaanz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this package :) A few remarks:

@@ -0,0 +1,11 @@
[package]
name = "verovio"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this is not an official port of Verovio for Typst, can you pick another name please? It can still make a reference to the original library, but it should be clear that it is not affiliated with it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay gonna rename to scoryst (score, typst, choriste mashup)

repository = "https://github.com/bernsteining/verovio"
keywords = ["music", "notation", "score", "scoring", "partition", "tablature", "engraving", "verovio", "abc", "musicxml", "mei", "humdrum"]
categories = ["visualization"]
compiler = "0.14.2"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This corresponds to the earliest supported Typst version, so unless you depend on a patch introduced in 0.14.2 this can be at least 0.14.0. It may even be lower depending on what features you are actually using. By picking the latest version, people who didn't update (or can't update) won't be able to import your package, even if it may work fine in practice.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would suggest people to update to the latest version ? Especially in the changelog it's suggested that people update 0.14.{0,1} to 0.14.2 (cf https://typst.app/docs/changelog/0.14.2/), so let's stick with 0.14.2 nah ?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, of course it is always better to be on the very last patch version, but people may depend on their distribution package manager and may not be able to use the very last version, especially if it was released recently. They may also need some older packages that are no longer working with more recent Typst versions. So having a bit more flexibility by not requiring the very last version is better.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then should I find the lowest version for which my plugin works ?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally, yes. You can use the changelogs to see what breaking changes each version brings and when specific features were introduced. But since this is quite a lot of work to properly do, changing the limit to 0.14.0 is also a good compromise: most people should be using the 0.14 series, and it's unlikely that one of the patches in 0.14.1 or 0.14.2 broke your package.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay done


Returns the number of pages for the given music data.

## Building
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section is not really relevant to people browsing Typst Universe. I would suggest to remove it from this copy of the README. This not a blocker, and if you think it might still be useful or if you don't want to maintain two versions of the README, it is also perfectly fine to keep it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True, thanks

@typst-package-check typst-package-check bot changed the title verovio:0.1.0 scoryst:0.1.0 Apr 7, 2026
@MDLC01
Copy link
Copy Markdown
Contributor

MDLC01 commented Apr 8, 2026

I've been trying to compile MuseScore to Wasm to embed it into Typst without success for a while. I knew about Verovio but didn't look into it that much. Very impressive that you managed to do it! I will definitely look into it when I have more time!

@bernsteining
Copy link
Copy Markdown
Contributor Author

I've been trying to compile MuseScore to Wasm to embed it into Typst without success for a while. I knew about Verovio but didn't look into it that much. Very impressive that you managed to do it! I will definitely look into it when I have more time!

Thanks!

I tried to compile Verovio for Typst several times in August without success but then managed to achieve it recently, lots of shenanigans. If you find bugs or have speedup ideas tell me :)

@elegaanz
Copy link
Copy Markdown
Member

Thank you!

@elegaanz elegaanz merged commit 3a0777b into typst:main Apr 10, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new A new package submission.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants