packages feed

typst-0.9: test/typ/text/font-01.out

--- parse tree ---
[ Comment
, SoftBreak
, Code
    "typ/text/font-01.typ"
    ( line 2 , column 2 )
    (FuncCall
       (Ident (Identifier "text"))
       [ NormalArg (Literal (String "Text")) ])
, Space
, HardBreak
, Code
    "typ/text/font-01.typ"
    ( line 3 , column 2 )
    (FuncCall
       (Ident (Identifier "text"))
       [ NormalArg (Ident (Identifier "red"))
       , NormalArg (Literal (String "Text"))
       ])
, Space
, HardBreak
, Code
    "typ/text/font-01.typ"
    ( line 4 , column 2 )
    (FuncCall
       (Ident (Identifier "text"))
       [ KeyValArg (Identifier "font") (Literal (String "Ubuntu"))
       , NormalArg (Ident (Identifier "blue"))
       , NormalArg (Literal (String "Text"))
       ])
, Space
, HardBreak
, Code
    "typ/text/font-01.typ"
    ( line 5 , column 2 )
    (FuncCall
       (Ident (Identifier "text"))
       [ NormalArg (Block (Content [ Text "Text" ]))
       , NormalArg (Ident (Identifier "teal"))
       , KeyValArg (Identifier "font") (Literal (String "IBM Plex Serif"))
       ])
, Space
, HardBreak
, Code
    "typ/text/font-01.typ"
    ( line 6 , column 2 )
    (FuncCall
       (Ident (Identifier "text"))
       [ NormalArg (Ident (Identifier "red"))
       , KeyValArg
           (Identifier "font") (Literal (String "New Computer Modern"))
       , NormalArg (Block (Content [ Text "Text" ]))
       ])
, Space
, HardBreak
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]), 
                 text(body: "Text"), 
                 text(body: [ ]), 
                 linebreak(), 
                 text(body: "Text", 
                      color: rgb(100%,25%,21%,100%)), 
                 text(body: [ ]), 
                 linebreak(), 
                 text(body: "Text", 
                      color: rgb(0%,45%,85%,100%), 
                      font: "Ubuntu"), 
                 text(body: [ ]), 
                 linebreak(), 
                 text(body: text(body: [Text]), 
                      color: rgb(22%,80%,80%,100%), 
                      font: "IBM Plex Serif"), 
                 text(body: [ ]), 
                 linebreak(), 
                 text(body: text(body: [Text]), 
                      color: rgb(100%,25%,21%,100%), 
                      font: "New Computer Modern"), 
                 text(body: [ ]), 
                 linebreak(), 
                 parbreak() })