typst-0.9: test/typ/meta/ref-00.out
--- parse tree ---
[ Code
"typ/meta/ref-00.typ"
( line 1 , column 2 )
(Set
(Ident (Identifier "heading"))
[ KeyValArg (Identifier "numbering") (Literal (String "1.")) ])
, ParBreak
, Heading 1 [ Text "Introduction" ]
, Space
, Code "typ/meta/ref-00.typ" ( line 3 , column 16 ) (Label "intro")
, SoftBreak
, Text "See"
, Space
, Ref "setup" (Literal Auto)
, Text "."
, ParBreak
, Heading 2 [ Text "Setup" ]
, Space
, Code "typ/meta/ref-00.typ" ( line 6 , column 10 ) (Label "setup")
, SoftBreak
, Text "As"
, Space
, Text "seen"
, Space
, Text "in"
, Space
, Ref "intro" (Literal Auto)
, Text ","
, Space
, Text "we"
, Space
, Text "proceed"
, Text "."
, ParBreak
]
--- evaluated ---
document(body: { parbreak(),
heading(body: text(body: [Introduction]),
level: 1,
numbering: "1."),
text(body: [ ]),
<intro>,
text(body: [
See ]),
ref(supplement: auto,
target: <setup>),
text(body: [.]),
parbreak(),
heading(body: text(body: [Setup]),
level: 2,
numbering: "1."),
text(body: [ ]),
<setup>,
text(body: [
As seen in ]),
ref(supplement: auto,
target: <intro>),
text(body: [, we proceed.]),
parbreak() })