Skip to content

presio:0.2.3 - #5756

Open
benedict-armstrong wants to merge 2 commits into
typst:mainfrom
benedict-armstrong:presio-0.2.3
Open

presio:0.2.3#5756
benedict-armstrong wants to merge 2 commits into
typst:mainfrom
benedict-armstrong:presio-0.2.3

Conversation

@benedict-armstrong

Copy link
Copy Markdown
Contributor

Bugfix release of presio.

  • Fixed media placement under alignment: media() recorded here().position(), which is where the call sits in the flow, not where the block is finally laid out. An enclosing align(center) moved the rendered placeholder but not the recorded coordinates, so the viewer drew the video at the left margin under a centred placeholder. The sidecar coordinates now come from an out-of-flow anchor placed at the block's own top-left corner, which also fixes align(right), vertical alignment, place, move, and nested containers. Reported by a user of the package (#2).
  • Fixed reusing one local file across slides. The bytes are attached under media-<id>.<ext>, which carries no page number, so a second slide referencing the same file raised attempted to attach file ... twice. This also affected any local media inside a touying overlay group, since #pause repeats the call across subslide pages. The bytes are now attached once per document.
  • YouTube /live/ URLs (streams and premieres) are now recognised, and both the YouTube and Vimeo patterns are anchored at the scheme so a video link appearing inside another site's query string is no longer treated as the real host.

I confirm that I am the author of the previous versions (0.1.0, 0.2.0, 0.2.1, 0.2.2).

@typst-package-check typst-package-check Bot added the update A package update. label Sep 4, 2026
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.

1 participant