typstage:0.1.1 - #5769
Open
Loewe1000 wants to merge 4 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I am submitting
Description: typstage typesets every slide with Typst and writes it into the HTML as SVG, so what stands in the browser is what Typst set; a small runtime then animates it. The same source also gives a PDF slide set and a handout.
What changed in 0.1.1:
Added
#set text(lang: "fa")ordir: rtlturns the whole slide around — body, title band, callout bar, footer, progress bar, and the moving parts carry the direction into their own frames. Reported on the forum from a Persian deck; decks that read from the left come out byte for byte as before.build(at: …)— a drawing whose stages do not come one click after another. On a slide with three diagrams: ten sprites instead of 22, and the file 2.98 MB instead of 3.45 MB.contents()— a table of contents whose entries link to their section slides, with a link back. Contributed as a pull request and rebuilt so the entries take the deck's own palette. A deck with more than one structure level indents the deeper entries (indent:for a length of your own,nonefor flush), andhighlight: truesays where the talk stands: the running part and chapter keep the full ink, everything before and after steps back. Every entry also carrieswhen—"past","running","coming"— so a highlight of your own needs no arithmetic againstinfo().levels.pages: "step"— one PDF page per step instead of one per slide, so the paper turns the way the talk does. Every reveal takes part; a scene gets a page per stop rather than per tween frame, and a camera move gets none of its own. Asked for on the forum.Fixed
stagger,cue,alternatives,tilesandbuildhanded a computedatinto a tracked element, andsceneandcameracomputed their step advance from a read. Either cost the document its convergence once the revealed body carried something out of the flow. All seven now lettrackhand out the steps, or compute the advance from the cursor alone.cue()group claimed the forward arrow before it was due and swallowed the steps in between.animwas centred in the browser and flush left in the PDF.The full list is in the changelog. navigator builds on
info()anddeck-outline()and is waiting on this release.