Skip to content

scoryst:0.1.2#4887

Open
bernsteining wants to merge 4 commits into
typst:mainfrom
bernsteining:scoryst-0.1.2
Open

scoryst:0.1.2#4887
bernsteining wants to merge 4 commits into
typst:mainfrom
bernsteining:scoryst-0.1.2

Conversation

@bernsteining
Copy link
Copy Markdown
Contributor

I am submitting

  • a new package
  • an update for a package

0.1.2 Changelog

  • added PAE support
  • added EsAC support
  • verovio error messages are now redirected to typst errors
  • removed monospace in lyrics fonts (Liberation Serif is now used)
  • fine tuned wasm-opt flags
  • way better memory footprint:
    • INITIAL_MEMORY 512MB -> 16 MB
    • same for stack 128MB -> 2MB
  • changed the API:
    • render-music -> score
    • music-page-count -> pages
  • added "integration" category in typst.toml and a few keywords
  • better examples in the README

NB: in README.md the logo links to the v0.1.1 one on purpose. the v0.1.2 is white to handle dark theme on github, and typst universe I want it to remain black.

@typst-package-check typst-package-check Bot added the update A package update. label May 18, 2026
@elegaanz elegaanz self-assigned this May 19, 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 the update. A few comments and tips:

"CMME",
]
categories = ["visualization", "integration"]
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.

The compiler field is a minimum version, so unless you explicitly require the latest patch release, changing it to 0.14.0 will allow using this package with a slightly outdated compiler.

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.

done

@@ -0,0 +1,112 @@
![logo](https://github.com/bernsteining/scoryst/blob/v0.1.1/test/logo.svg)
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.

For info, you can have images that automatically change depending on the theme, both on Typst Universe and GitHub. The pattern is documented here.

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.

Are URLs handled correctly ?

<picture>
  <source media="(prefers-color-scheme: dark)" srcset="https://github.com/bernsteining/scoryst/blob/v0.1.2/test/logo.svg">
  <img alt="logo" src="https://github.com/bernsteining/scoryst/blob/v0.1.1/test/logo.svg">
</picture>

Doesn't render correctly in my markdown preview in VSCode.

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.

You should the "raw" URL: https://raw.githubusercontent.com/bernsteining/scoryst/refs/tags/v0.1.1/test/logo.svg for example. You obtain it with the "Raw" button in the top right corner of the file on GitHub.


Returns the number of pages for the given music data.

### Verovio Options
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.

I didn't notice in previous reviews I think, but kebab-case is more common as a naming convention than camelCase in the Typst ecosystem. I think it would be nice to support kebab-case variants of the options and to encourage people to use that instead, to make the package more idiomatic. But the API is up to you in the end, so feel free to dismiss my suggestion if you think it's better to have a perfect mapping between the Typst API and the original Verovio options.

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 I added kebab-case support for the Verovio options, and camel case is still also supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

update A package update.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants