Touying: Freezing custom counter doesn't work

I fixed it! This works:

#import "@preview/touying:0.7.3": *
#import themes.university: *

#show: university-theme.with(
  config-common(frozen-counters: (counter(figure.where(kind: "Aussage")),)),  // freeze theorem counter for animation
)

#figure(
  kind: "Aussage", supplement: "Definition",
  [Hello!]
) <label1>

#pause

The documentation (here) is wrong I think?

1 Like