typst-0.9: test/typ/meta/outline-00.out
--- parse tree ---
[ Code
"typ/meta/outline-00.typ"
( line 1 , column 2 )
(Set
(Ident (Identifier "page"))
[ NormalArg (Literal (String "a7"))
, KeyValArg (Identifier "margin") (Literal (Numeric 20.0 Pt))
, KeyValArg (Identifier "numbering") (Literal (String "1"))
])
, SoftBreak
, Code
"typ/meta/outline-00.typ"
( line 2 , column 2 )
(Set
(Ident (Identifier "heading"))
[ KeyValArg (Identifier "numbering") (Literal (String "(1/a)")) ])
, SoftBreak
, Code
"typ/meta/outline-00.typ"
( line 3 , column 2 )
(Show
(Just
(FuncCall
(FieldAccess
(Ident (Identifier "where")) (Ident (Identifier "heading")))
[ KeyValArg (Identifier "level") (Literal (Int 1)) ]))
(Set
(Ident (Identifier "text"))
[ NormalArg (Literal (Numeric 12.0 Pt)) ]))
, SoftBreak
, Code
"typ/meta/outline-00.typ"
( line 4 , column 2 )
(Show
(Just
(FuncCall
(FieldAccess
(Ident (Identifier "where")) (Ident (Identifier "heading")))
[ KeyValArg (Identifier "level") (Literal (Int 2)) ]))
(Set
(Ident (Identifier "text"))
[ NormalArg (Literal (Numeric 10.0 Pt)) ]))
, ParBreak
, Code
"typ/meta/outline-00.typ"
( line 6 , column 2 )
(FuncCall (Ident (Identifier "outline")) [])
, ParBreak
, Heading 1 [ Text "Einleitung" ]
, SoftBreak
, Code
"typ/meta/outline-00.typ"
( line 9 , column 2 )
(FuncCall
(Ident (Identifier "lorem")) [ NormalArg (Literal (Int 12)) ])
, ParBreak
, Heading 1 [ Text "Analyse" ]
, SoftBreak
, Code
"typ/meta/outline-00.typ"
( line 12 , column 2 )
(FuncCall
(Ident (Identifier "lorem")) [ NormalArg (Literal (Int 10)) ])
, ParBreak
, Code
"typ/meta/outline-00.typ"
( line 14 , column 2 )
(Block
(Content
[ SoftBreak
, Code
"typ/meta/outline-00.typ"
( line 15 , column 4 )
(Set
(Ident (Identifier "heading"))
[ KeyValArg (Identifier "outlined") (Literal (Boolean False)) ])
, SoftBreak
, Heading 2 [ Text "Methodik" ]
, SoftBreak
, Code
"typ/meta/outline-00.typ"
( line 17 , column 4 )
(FuncCall
(Ident (Identifier "lorem")) [ NormalArg (Literal (Int 6)) ])
, ParBreak
]))
, ParBreak
, Heading 2 [ Text "Verarbeitung" ]
, SoftBreak
, Code
"typ/meta/outline-00.typ"
( line 21 , column 2 )
(FuncCall
(Ident (Identifier "lorem")) [ NormalArg (Literal (Int 4)) ])
, ParBreak
, Heading 2 [ Text "Programmierung" ]
, SoftBreak
, RawBlock "rust" "fn main() {\n panic!(\"in the disco\");\n}"
, ParBreak
, Heading 4 [ Text "Deep" , Space , Text "Stuff" ]
, SoftBreak
, Text "Ok"
, Space
, Ellipsis
, ParBreak
, Code
"typ/meta/outline-00.typ"
( line 33 , column 2 )
(Set
(Ident (Identifier "heading"))
[ KeyValArg (Identifier "numbering") (Literal (String "(I)")) ])
, ParBreak
, Heading
1
[ Code
"typ/meta/outline-00.typ"
( line 35 , column 4 )
(FuncCall
(Ident (Identifier "text"))
[ NormalArg (Ident (Identifier "blue"))
, BlockArg [ Text "Zusammen" ]
])
, Text "fassung"
]
, SoftBreak
, Code
"typ/meta/outline-00.typ"
( line 36 , column 2 )
(FuncCall
(Ident (Identifier "lorem")) [ NormalArg (Literal (Int 10)) ])
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]),
text(body: [
]),
text(body: [
]),
parbreak(),
outline(),
parbreak(),
heading(body: text(body: [Einleitung]),
level: 1,
numbering: "(1/a)"),
text(body: [Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor]),
parbreak(),
heading(body: text(body: [Analyse]),
level: 1,
numbering: "(1/a)"),
text(body: [Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do]),
parbreak(),
text(body: [
]),
text(body: [
]),
heading(body: text(body: [Methodik]),
level: 2,
numbering: "(1/a)",
outlined: false),
text(body: [Lorem ipsum dolor sit amet, consectetur]),
parbreak(),
parbreak(),
heading(body: text(body: [Verarbeitung]),
level: 2,
numbering: "(1/a)",
outlined: false),
text(body: [Lorem ipsum dolor sit]),
parbreak(),
heading(body: text(body: [Programmierung]),
level: 2,
numbering: "(1/a)",
outlined: false),
raw(block: true,
lang: "rust",
text: "fn main() {\n panic!(\"in the disco\");\n}"),
parbreak(),
heading(body: text(body: [Deep Stuff]),
level: 4,
numbering: "(1/a)",
outlined: false),
text(body: [Ok …]),
parbreak(),
parbreak(),
heading(body: { text(body: text(body: [Zusammen]),
color: rgb(0%,45%,85%,100%)),
text(body: [fassung]) },
level: 1,
numbering: "(I)",
outlined: false),
text(body: [Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do]),
parbreak() })