Oregami
Repositories/oxedyne/fe2o3

oxedyne/fe2o3/fe2o3_austenite/tests/fixtures/eval/intro/counter_label.typ

362 bytes, 1 run

created by r1870400018:64162, which is this file's identity for as long as the history lasts, whatever it is later renamed to

download · who wrote it · its history

1// A label-keyed counter counts the labelled elements, and its own updates.
2#metadata(1) <x>
3#context [#metadata(counter(<x>).get()) <probe>]
4#metadata(2) <x>
5#metadata(9) <y>
6#context [#metadata((counter(<x>).get(), counter(<x>).at(<y>), counter(<x>).final())) <probe>]
7#counter(<x>).update(10)
8#metadata(3) <x>
9#context [#metadata(counter(<x>).get()) <probe>]