packages feed

typst-0.7: test/typ/layout/columns-00.out

--- parse tree ---
[ Code
    "typ/layout/columns-00.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/columns-00.typ"
                                 ( line 1 , column 47 )
                                 (FuncCall
                                    (Ident (Identifier "repr"))
                                    [ NormalArg (Ident (Identifier "x")) ])
                             , Space
                             , Text "/"
                             , Text "="
                             , Space
                             , Code
                                 "typ/layout/columns-00.typ"
                                 ( line 1 , column 59 )
                                 (FuncCall
                                    (Ident (Identifier "repr"))
                                    [ NormalArg (Ident (Identifier "y")) ])
                             , Text ")"
                             ])
                      )
                    ]
                ]))))
, SoftBreak
, Comment
, Code
    "typ/layout/columns-00.typ"
    ( line 3 , column 2 )
    (Set
       (Ident (Identifier "page"))
       [ KeyValArg (Identifier "height") (Literal (Numeric 3.25 Cm))
       , KeyValArg (Identifier "width") (Literal (Numeric 7.05 Cm))
       , KeyValArg (Identifier "columns") (Literal (Int 2))
       ])
, SoftBreak
, Code
    "typ/layout/columns-00.typ"
    ( line 4 , column 2 )
    (Set
       (Ident (Identifier "text"))
       [ KeyValArg (Identifier "lang") (Literal (String "ar"))
       , KeyValArg
           (Identifier "font")
           (Array
              [ Reg (Literal (String "Noto Sans Arabic"))
              , Reg (Literal (String "Linux Libertine"))
              ])
       ])
, SoftBreak
, Code
    "typ/layout/columns-00.typ"
    ( line 5 , column 2 )
    (Set
       (Ident (Identifier "columns"))
       [ KeyValArg (Identifier "gutter") (Literal (Numeric 30.0 Pt)) ])
, ParBreak
, Code
    "typ/layout/columns-00.typ"
    ( line 7 , column 2 )
    (FuncCall
       (Ident (Identifier "box"))
       [ KeyValArg (Identifier "fill") (Ident (Identifier "green"))
       , KeyValArg (Identifier "height") (Literal (Numeric 8.0 Pt))
       , KeyValArg (Identifier "width") (Literal (Numeric 6.0 Pt))
       ])
, Space
, Text "\1608\1578\1581\1601\1610\1586"
, SoftBreak
, Text "\1575\1604\1593\1583\1610\1583"
, Space
, Text "\1605\1606"
, Space
, Text "\1575\1604\1578\1601\1575\1593\1604\1575\1578"
, Space
, Text "\1575\1604\1603\1610\1605\1610\1575\1574\1610\1577"
, Text "."
, Space
, Text "("
, Text "DNA)"
, Space
, Text "\1605\1606"
, Space
, Text "\1571\1607\1605"
, Space
, Text "\1575\1604\1571\1581\1605\1575\1590"
, Space
, Text "\1575\1604\1606\1608\1608\1610\1577"
, Space
, Text "\1575\1604\1578\1610"
, Space
, Text "\1578\1615\1588\1603\1616\1617\1604"
, SoftBreak
, Text "\1573\1604\1609"
, Space
, Text "\1580\1575\1606\1576"
, Space
, Text "\1603\1604"
, Space
, Text "\1605\1606"
, Space
, Text "\1575\1604\1576\1585\1608\1578\1610\1606\1575\1578"
, Space
, Text "\1608\1575\1604\1604\1610\1576\1610\1583\1575\1578"
, Space
, Text "\1608\1575\1604\1587\1603\1585\1610\1575\1578"
, Space
, Text "\1575\1604\1605\1578\1593\1583\1583\1577"
, SoftBreak
, Code
    "typ/layout/columns-00.typ"
    ( line 10 , column 2 )
    (FuncCall
       (Ident (Identifier "box"))
       [ KeyValArg (Identifier "fill") (Ident (Identifier "eastern"))
       , KeyValArg (Identifier "height") (Literal (Numeric 8.0 Pt))
       , KeyValArg (Identifier "width") (Literal (Numeric 6.0 Pt))
       ])
, SoftBreak
, Text "\1575\1604\1580\1586\1610\1574\1575\1578"
, Space
, Text "\1575\1604\1590\1582\1605\1577"
, Space
, Text "\1575\1604\1571\1585\1576\1593\1577"
, Space
, Text "\1575\1604\1590\1585\1608\1585\1610\1577"
, Space
, Text "\1604\1604\1581\1610\1575\1577"
, Text "."
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]), 
                 text(body: [
]), 
                 text(body: [
], 
                      font: ("Noto Sans Arabic", 
                             "Linux Libertine"), 
                      lang: "ar"), 
                 parbreak(), 
                 box(fill: rgb(18%,80%,25%,100%), 
                     height: 8.0pt, 
                     width: 6.0pt), 
                 text(body: [ وتحفيز
العديد من التفاعلات الكيميائية. (DNA) من أهم الأحماض النووية التي تُشكِّل
إلى جانب كل من البروتينات والليبيدات والسكريات المتعددة
], 
                      font: ("Noto Sans Arabic", 
                             "Linux Libertine"), 
                      lang: "ar"), 
                 box(fill: rgb(13%,61%,67%,100%), 
                     height: 8.0pt, 
                     width: 6.0pt), 
                 text(body: [
الجزيئات الضخمة الأربعة الضرورية للحياة.], 
                      font: ("Noto Sans Arabic", 
                             "Linux Libertine"), 
                      lang: "ar"), 
                 parbreak() })