oxedyne/fe2o3/fe2o3_austenite/tests/fixtures/eval/intro/context_nesting.typ
334 bytes, 1 run
created by r1870400018:64156, 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 | // Nested context and contextual show rules see their own locations. |
| 2 | #context [ |
| 3 | #metadata(1) <inner> |
| 4 | #context [#metadata(query(<inner>)) <probe>] |
| 5 | ] |
| 6 | #let f() = context counter("k").get() |
| 7 | #counter("k").step() |
| 8 | #metadata(f()) <holder> |
| 9 | #counter("k").step() |
| 10 | #context [#metadata((counter("k").get(), counter("k").at(<holder>))) <probe>] |