Marmare314 / lemmify

A library for typesetting mathematical theorems in typst.
GNU General Public License v3.0
11 stars 7 forks source link

Example is not working in typst 0.11 #24

Open psads-git opened 3 months ago

psads-git commented 3 months ago

I am using the following code in typst 0.11, but getting the error below. Could you please help me? Thanks!

#import "@preview/lemmify:0.1.5": *

#example("xxx")[
  #lorem(100)
]
[2024-03-29T00:26:05Z INFO  typst_ts_compiler::service::diag::console] /x.typ: Compilation failed after 251.111µs

error: unknown variable: example
  ┌─ /tmp/x.typ:3:1
  │
3 │ #example("xxx")[
  │  ^^^^^^^