error: panicked with: "Failed to resolve coordinate system: (hello: \"world\")"
┌─ @preview/cetz:0.5.2/src/coordinate.typ:359:2
│
359 │ panic("Failed to resolve coordinate system: " + repr(c))
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
help: error occurred in this call of function `_resolve-system`
┌─ @preview/cetz:0.5.2/src/coordinate.typ:410:10
│
410 │ let t = _resolve-system(c)
│ ^^^^^^^^^^^^^^^^^^
help: error occurred in this call of function `resolve`
┌─ @preview/cetz:0.5.2/src/draw/shapes.typ:1138:19
│
1138 │ let (_, c) = coordinate.resolve(ctx, angle)
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
help: error occurred in this function call
┌─ @preview/cetz:0.5.2/src/process.typ:19:22
│
19 │ (ctx, ..element,) = element-func(ctx)
│ ^^^^^^^^^^^^^^^^^
help: error occurred in this call of function `element`
┌─ @preview/cetz:0.5.2/src/process.typ:100:12
│
100 │ let r = element(ctx, el, compute-bounds: compute-bounds)
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
help: error occurred in this call of function `many`
┌─ @preview/cetz:0.5.2/src/draw/grouping.typ:560:38
│
560 │ let (ctx, drawables, bounds: _) = process.many(ctx, util.resolve-body(ctx, body), compute-bounds: false)
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
help: error occurred in this function call
┌─ @preview/cetz:0.5.2/src/process.typ:19:22
│
19 │ (ctx, ..element,) = element-func(ctx)
│ ^^^^^^^^^^^^^^^^^
help: error occurred in this call of function `element`
┌─ @preview/cetz:0.5.2/src/process.typ:100:12
│
100 │ let r = element(ctx, el, compute-bounds: compute-bounds)
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
help: error occurred in this call of function `many`
┌─ @preview/cetz:0.5.2/src/draw/grouping.typ:276:42
│
276 │ (ctx: group-ctx, drawables, bounds) = process.many(group-ctx, util.resolve-body(group-ctx, body), compute-bounds: wants-bou
nds)
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^
help: error occurred in this function call
┌─ @preview/cetz:0.5.2/src/process.typ:19:22
│
19 │ (ctx, ..element,) = element-func(ctx)
│ ^^^^^^^^^^^^^^^^^
help: error occurred in this call of function `element`
┌─ @preview/cetz:0.5.2/src/process.typ:100:12
│
100 │ let r = element(ctx, el, compute-bounds: compute-bounds)
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
help: error occurred in this call of function `many`
┌─ @preview/cetz:0.5.2/src/draw/grouping.typ:276:42
│
276 │ (ctx: group-ctx, drawables, bounds) = process.many(group-ctx, util.resolve-body(group-ctx, body), compute-bounds: wants-bou
nds)
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^
help: error occurred in this function call
┌─ @preview/cetz:0.5.2/src/process.typ:19:22
│
19 │ (ctx, ..element,) = element-func(ctx)
│ ^^^^^^^^^^^^^^^^^
help: error occurred in this call of function `element`
┌─ @preview/cetz:0.5.2/src/process.typ:100:12
│
100 │ let r = element(ctx, el, compute-bounds: compute-bounds)
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
help: error occurred in this call of function `many`
┌─ @preview/cetz:0.5.2/src/draw/grouping.typ:276:42
│
276 │ (ctx: group-ctx, drawables, bounds) = process.many(group-ctx, util.resolve-body(group-ctx, body), compute-bounds: wants-bou
nds)
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^
help: error occurred in this function call
┌─ @preview/cetz:0.5.2/src/process.typ:19:22
│
19 │ (ctx, ..element,) = element-func(ctx)
│ ^^^^^^^^^^^^^^^^^
help: error occurred in this call of function `element`
┌─ @preview/cetz:0.5.2/src/process.typ:100:12
│
100 │ let r = element(ctx, el, compute-bounds: compute-bounds)
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
help: error occurred in this call of function `many`
┌─ @preview/cetz:0.5.2/src/draw/grouping.typ:276:42
│
276 │ (ctx: group-ctx, drawables, bounds) = process.many(group-ctx, util.resolve-body(group-ctx, body), compute-bounds: wants-bou
nds)
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^
help: error occurred in this function call
┌─ @preview/cetz:0.5.2/src/process.typ:19:22
│
19 │ (ctx, ..element,) = element-func(ctx)
│ ^^^^^^^^^^^^^^^^^
help: error occurred in this call of function `element`
┌─ @preview/cetz:0.5.2/src/process.typ:100:12
│
100 │ let r = element(ctx, el, compute-bounds: compute-bounds)
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
help: error occurred in this call of function `many`
┌─ @preview/cetz:0.5.2/src/canvas.typ:82:33
│
82 │ let (ctx, bounds, drawables) = process.many(ctx, body)
│ ^^^^^^^^^^^^^^^^^^^^^^^
Consider the following example:
I get the following error message:
full stack traceback
The panic also happens if I replace
(hello: "world)with an empty dict(:)or a dict containing valid style values like stroke, radius, etc.On the other hand, other keys (like
stroke,contentoraxis) cause no issue.Is this supposed to be ?