typst-0.7: test/typ/layout/par-bidi-06.out
--- parse tree ---
[ Code
"typ/layout/par-bidi-06.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/layout/par-bidi-06.typ"
( line 1 , column 47 )
(FuncCall
(Ident (Identifier "repr"))
[ NormalArg (Ident (Identifier "x")) ])
, Space
, Text "/"
, Text "="
, Space
, Code
"typ/layout/par-bidi-06.typ"
( line 1 , column 59 )
(FuncCall
(Ident (Identifier "repr"))
[ NormalArg (Ident (Identifier "y")) ])
, Text ")"
])
)
]
]))))
, SoftBreak
, Comment
, Code
"typ/layout/par-bidi-06.typ"
( line 3 , column 2 )
(Set
(Ident (Identifier "text"))
[ KeyValArg (Identifier "lang") (Literal (String "he")) ])
, SoftBreak
, Text "\1511\1512\1504\1508\1497\1501Rh"
, Code
"typ/layout/par-bidi-06.typ"
( line 4 , column 10 )
(FuncCall
(Ident (Identifier "box"))
[ NormalArg
(FuncCall
(Ident (Identifier "image"))
[ NormalArg (Literal (String "/assets/files/rhino.png"))
, KeyValArg (Identifier "height") (Literal (Numeric 11.0 Pt))
])
])
, Text "ino\1495\1497\1497\1501"
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]),
text(body: [
קרנפיםRh],
lang: "he"),
box(body: image(height: 11.0pt,
path: "/assets/files/rhino.png")),
text(body: [inoחיים],
lang: "he"),
parbreak() })