--- parse tree --- [ Code "test/typ/meta/footnote-04.typ" ( line 1 , column 2 ) (Let (BasicBind (Just (Identifier "test"))) (FuncExpr [ NormalParam (Identifier "x") , NormalParam (Identifier "y") ] (Block (CodeBlock [ If [ ( Equals (Ident (Identifier "x")) (Ident (Identifier "y")) , Block (Content [ Text "\9989" ]) ) , ( Literal (Boolean True) , Block (Content [ Text "\10060" , Text "(" , Code "test/typ/meta/footnote-04.typ" ( line 1 , column 47 ) (FuncCall (Ident (Identifier "repr")) [ NormalArg (Ident (Identifier "x")) ]) , Space , Text "/" , Text "=" , Space , Code "test/typ/meta/footnote-04.typ" ( line 1 , column 59 ) (FuncCall (Ident (Identifier "repr")) [ NormalArg (Ident (Identifier "y")) ]) , Text ")" ]) ) ] ])))) , SoftBreak , Comment , Code "test/typ/meta/footnote-04.typ" ( line 3 , column 2 ) (Show (Just (Ident (Identifier "footnote"))) (Set (Ident (Identifier "text")) [ NormalArg (Ident (Identifier "red")) ])) , SoftBreak , Code "test/typ/meta/footnote-04.typ" ( line 4 , column 2 ) (Show (Just (FieldAccess (Ident (Identifier "entry")) (Ident (Identifier "footnote")))) (Set (Ident (Identifier "text")) [ NormalArg (Literal (Numeric 8.0 Pt)) , KeyValArg (Identifier "style") (Literal (String "italic")) ])) , SoftBreak , Code "test/typ/meta/footnote-04.typ" ( line 5 , column 2 ) (Set (FieldAccess (Ident (Identifier "entry")) (Ident (Identifier "footnote"))) [ KeyValArg (Identifier "indent") (Literal (Numeric 0.0 Pt)) , KeyValArg (Identifier "gap") (Literal (Numeric 0.6 Em)) , KeyValArg (Identifier "clearance") (Literal (Numeric 0.3 Em)) , KeyValArg (Identifier "separator") (FuncCall (Ident (Identifier "repeat")) [ BlockArg [ Text "." ] ]) ]) , ParBreak , Text "Beautiful" , Space , Text "footnotes" , Text "." , Space , Code "test/typ/meta/footnote-04.typ" ( line 12 , column 23 ) (FuncCall (Ident (Identifier "footnote")) [ BlockArg [ Text "Wonderful," , Space , Text "aren" , Quote '\'' , Text "t" , Space , Text "they?" ] ]) , ParBreak ] --- evaluated --- document(body: { text(body: [ ]), text(body: [ ]), text(body: [ ]), parbreak(), text(body: [Beautiful footnotes. ]), footnote(body: text(body: [Wonderful, aren’t they?])), parbreak() })