-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
Description
Description
I'm trying to present \mathscr style math equations in html export. Here's the code
#context target()
#let scr(it) = text(
features: ("ss01",),
box($cal(it)$),
)
#html.frame($A scr(A)$)
#show math.equation: it => html.frame(it)
$A scr(A)$However, the first testcase #html.frame($A scr(A)$) works, while second $A scr(A)$ (by show rules) doesn't. The scr(A) is not printed. Here's the result.
And the compile command and log:
> typst compile --format html test.typ --features html
warning: html export is under active development and incomplete
= hint: its behaviour may change at any time
= hint: do not rely on this feature for production use cases
= hint: see https://github.com/typst/typst/issues/5512 for more information
warning: frame was ignored during paged export
┌─ test.typ:10:27
│
10 │ #show math.equation: it => html.frame(it)
│ ^^^^^^^^^^^^^^
It replied an error with paged export, but I had correctly configured, as the test html presented.
Reproduction URL
No response
Operating system
Linux
Typst version
- I am using the latest version of Typst
Reactions are currently unavailable
