typst-0.7: test/typ/text/lang-01.out
--- parse tree ---
[ Code
"typ/text/lang-01.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
"typ/text/lang-01.typ"
( line 1 , column 47 )
(FuncCall
(Ident (Identifier "repr"))
[ NormalArg (Ident (Identifier "x")) ])
, Space
, Text "/"
, Text "="
, Space
, Code
"typ/text/lang-01.typ"
( line 1 , column 59 )
(FuncCall
(Ident (Identifier "repr"))
[ NormalArg (Ident (Identifier "y")) ])
, Text ")"
])
)
]
]))))
, SoftBreak
, Comment
, Code
"typ/text/lang-01.typ"
( line 3 , column 2 )
(Set
(Ident (Identifier "text"))
[ KeyValArg (Identifier "font") (Literal (String "Ubuntu")) ])
, ParBreak
, Comment
, Comment
, Comment
, Comment
, Text "\1041\1073"
, SoftBreak
, Code
"typ/text/lang-01.typ"
( line 10 , column 2 )
(FuncCall
(Ident (Identifier "text"))
[ KeyValArg (Identifier "lang") (Literal (String "uk"))
, BlockArg [ Text "\1041\1073" ]
])
, SoftBreak
, Code
"typ/text/lang-01.typ"
( line 11 , column 2 )
(FuncCall
(Ident (Identifier "text"))
[ KeyValArg (Identifier "lang") (Literal (String "sr"))
, BlockArg [ Text "\1041\1073" ]
])
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]),
parbreak(),
text(body: [Бб
],
font: "Ubuntu"),
text(body: text(body: [Бб],
font: "Ubuntu"),
font: "Ubuntu",
lang: "uk"),
text(body: [
],
font: "Ubuntu"),
text(body: text(body: [Бб],
font: "Ubuntu"),
font: "Ubuntu",
lang: "sr"),
parbreak() })