I only spent one decent session coding, but did manage to update the Typst version that Rheo vendors to the latest 0.15.0 release. Crucially—for my dissertation, among other projects—this Typst release compiles math expressions to MathML, a markup language for math that browsers support. The workaround up until this point has been to wrap every math expression in a frame element, which converts the expression to an inline SVG; which often leads to styling anomalies, as CSS can’t target SVG in the same way it can DOM elements. I’m yet to really confirm how the new version feels as part of Rheo.
I also started working on a PR to make use of Typst 0.15.0′s experimental bundle target as the mechanism through which Rheo compiles spines. This will change a few things about Rheo’s compilation, but most importantly it should allow us to finally shed the way of doing relative linking that’s existed since 0.1.0 (using #link("./file.typ)[]) in favor of a variation on the native @ref syntax. The current #link syntax is brittle in a number of ways: I just hadn’t yet got around to scoping/implementing a more native reference syntax. I’m hopeful that the bundle target will allow us to provide this syntax essentially for free, i.e. without having to implement much in the way of an additional parsing phase.
I re-read the Typst tutorial, and also spent an afternoon (once back from Puglia) studying improvements to my take-home assignment from a few weeks ago with Claude. This was a super effective review/study technique, and I think furnished me with the beginnings of a more intuitive perspective on Typst’s API design, as well as the specs for PDF and HTML forms.