typst-0.9: test/typ/layout/par-bidi-01.out
--- parse tree ---
[ Comment
, SoftBreak
, Comment
, SoftBreak
, Code
"typ/layout/par-bidi-01.typ"
( line 3 , column 2 )
(Let
(BasicBind (Just (Identifier "content")))
(FuncCall
(Ident (Identifier "par"))
[ BlockArg
[ Text "\1571\1606\1578"
, Space
, Text "A"
, Code
"typ/layout/par-bidi-01.typ"
( line 3 , column 26 )
(FuncCall (Ident (Identifier "emph")) [ BlockArg [ Text "B" ] ])
, Text "\1605\1591\1585C"
]
]))
, SoftBreak
, Code
"typ/layout/par-bidi-01.typ"
( line 4 , column 2 )
(Set
(Ident (Identifier "text"))
[ KeyValArg
(Identifier "font")
(Array
[ Reg (Literal (String "PT Sans"))
, Reg (Literal (String "Noto Sans Arabic"))
])
])
, SoftBreak
, Code
"typ/layout/par-bidi-01.typ"
( line 5 , column 2 )
(FuncCall
(Ident (Identifier "text"))
[ KeyValArg (Identifier "lang") (Literal (String "ar"))
, NormalArg (Ident (Identifier "content"))
])
, SoftBreak
, Code
"typ/layout/par-bidi-01.typ"
( line 6 , column 2 )
(FuncCall
(Ident (Identifier "text"))
[ KeyValArg (Identifier "lang") (Literal (String "de"))
, NormalArg (Ident (Identifier "content"))
])
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]),
text(body: [
]),
text(body: [
]),
text(body: [
],
font: ("PT Sans",
"Noto Sans Arabic")),
text(body: par(body: { text(body: [أنت A]),
emph(body: text(body: [B])),
text(body: [مطرC]) }),
font: ("PT Sans",
"Noto Sans Arabic"),
lang: "ar"),
text(body: [
],
font: ("PT Sans",
"Noto Sans Arabic")),
text(body: par(body: { text(body: [أنت A]),
emph(body: text(body: [B])),
text(body: [مطرC]) }),
font: ("PT Sans",
"Noto Sans Arabic"),
lang: "de"),
parbreak() })