1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
--- parse tree ---
[ Comment
, SoftBreak
, Code
"typ/layout/repeat-01.typ"
( line 2 , column 2 )
(Set
(Ident (Identifier "text"))
[ KeyValArg (Identifier "lang") (Literal (String "ar")) ])
, SoftBreak
, Text "\1605\1602\1583\1605\1577"
, Space
, Code
"typ/layout/repeat-01.typ"
( line 3 , column 8 )
(FuncCall
(Ident (Identifier "box"))
[ KeyValArg (Identifier "width") (Literal (Numeric 1.0 Fr))
, NormalArg
(FuncCall (Ident (Identifier "repeat")) [ BlockArg [ Text "." ] ])
])
, Space
, Text "15"
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]),
text(body: [
مقدمة ],
lang: "ar"),
box(body: repeat(body: text(body: [.],
lang: "ar")),
width: 1.0fr),
text(body: [ 15],
lang: "ar"),
parbreak() })
|