typst-0.9: test/typ/layout/enum-numbering-03.out
--- parse tree ---
[ Comment
, SoftBreak
, Code
"typ/layout/enum-numbering-03.typ"
( line 2 , column 2 )
(Set
(Ident (Identifier "enum"))
[ KeyValArg
(Identifier "numbering")
(FuncExpr
[ NormalParam (Identifier "n") ]
(FuncCall
(Ident (Identifier "super"))
[ BlockArg
[ Code
"typ/layout/enum-numbering-03.typ"
( line 2 , column 34 )
(Ident (Identifier "n"))
]
]))
])
, SoftBreak
, EnumListItem
Nothing
[ Text "A" , SoftBreak , EnumListItem Nothing [ Text "B" ] ]
, SoftBreak
, EnumListItem Nothing [ Text "C" ]
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]),
text(body: [
]),
enum(children: ({ text(body: [A
]),
enum(children: (text(body: [B])),
numbering: ) },
text(body: [C])),
numbering: ) })