packages feed

typst-0.9: test/typ/layout/block-sizing-00.out

--- parse tree ---
[ Code
    "typ/layout/block-sizing-00.typ"
    ( line 1 , column 2 )
    (Set
       (Ident (Identifier "page"))
       [ KeyValArg (Identifier "height") (Literal (Numeric 100.0 Pt)) ])
, SoftBreak
, Code
    "typ/layout/block-sizing-00.typ"
    ( line 2 , column 2 )
    (Set
       (Ident (Identifier "align"))
       [ NormalArg (Ident (Identifier "center")) ])
, ParBreak
, Code
    "typ/layout/block-sizing-00.typ"
    ( line 4 , column 2 )
    (FuncCall
       (Ident (Identifier "lorem")) [ NormalArg (Literal (Int 10)) ])
, SoftBreak
, Code
    "typ/layout/block-sizing-00.typ"
    ( line 5 , column 2 )
    (FuncCall
       (Ident (Identifier "block"))
       [ KeyValArg (Identifier "width") (Literal (Numeric 80.0 Percent))
       , KeyValArg (Identifier "height") (Literal (Numeric 60.0 Pt))
       , KeyValArg (Identifier "fill") (Ident (Identifier "aqua"))
       ])
, SoftBreak
, Code
    "typ/layout/block-sizing-00.typ"
    ( line 6 , column 2 )
    (FuncCall
       (Ident (Identifier "lorem")) [ NormalArg (Literal (Int 6)) ])
, SoftBreak
, Code
    "typ/layout/block-sizing-00.typ"
    ( line 7 , column 2 )
    (FuncCall
       (Ident (Identifier "block"))
       [ KeyValArg (Identifier "breakable") (Literal (Boolean False))
       , KeyValArg (Identifier "width") (Literal (Numeric 100.0 Percent))
       , KeyValArg (Identifier "inset") (Literal (Numeric 4.0 Pt))
       , KeyValArg (Identifier "fill") (Ident (Identifier "aqua"))
       , NormalArg
           (Plus
              (FuncCall
                 (Ident (Identifier "lorem")) [ NormalArg (Literal (Int 8)) ])
              (FuncCall (Ident (Identifier "colbreak")) []))
       ])
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]), 
                 parbreak(), 
                 text(body: [Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do]), 
                 text(body: [
]), 
                 block(fill: rgb(49%,85%,100%,100%), 
                       height: 60.0pt, 
                       width: 80%), 
                 text(body: [
]), 
                 text(body: [Lorem ipsum dolor sit amet, consectetur]), 
                 text(body: [
]), 
                 block(body: { [Lorem ipsum dolor sit amet, consectetur adipiscing elit,], 
                               colbreak() }, 
                       breakable: false, 
                       fill: rgb(49%,85%,100%,100%), 
                       inset: 4.0pt, 
                       width: 100%), 
                 parbreak() })