packages feed

typst-0.9: test/typ/compiler/show-text-01.out

--- parse tree ---
[ Comment
, SoftBreak
, Code
    "typ/compiler/show-text-01.typ"
    ( line 2 , column 2 )
    (Show
       (Just (Literal (String "TeX")))
       (Block
          (Content
             [ Text "T"
             , Code
                 "typ/compiler/show-text-01.typ"
                 ( line 2 , column 17 )
                 (FuncCall
                    (Ident (Identifier "h"))
                    [ NormalArg (Negated (Literal (Numeric 0.145 Em))) ])
             , Code
                 "typ/compiler/show-text-01.typ"
                 ( line 2 , column 29 )
                 (FuncCall
                    (Ident (Identifier "box"))
                    [ NormalArg
                        (FuncCall
                           (Ident (Identifier "move"))
                           [ KeyValArg (Identifier "dy") (Literal (Numeric 0.233 Em))
                           , BlockArg [ Text "E" ]
                           ])
                    ])
             , Code
                 "typ/compiler/show-text-01.typ"
                 ( line 2 , column 55 )
                 (FuncCall
                    (Ident (Identifier "h"))
                    [ NormalArg (Negated (Literal (Numeric 0.135 Em))) ])
             , Text "X"
             ])))
, SoftBreak
, Code
    "typ/compiler/show-text-01.typ"
    ( line 3 , column 2 )
    (Show
       (Just
          (FuncCall
             (Ident (Identifier "regex"))
             [ NormalArg (Literal (String "(Lua)?(La)?TeX")) ]))
       (FuncExpr
          [ NormalParam (Identifier "name") ]
          (FuncCall
             (Ident (Identifier "box"))
             [ NormalArg
                 (FuncCall
                    (Ident (Identifier "text"))
                    [ KeyValArg
                        (Identifier "font") (Literal (String "New Computer Modern"))
                    , BlockArg
                        [ Code
                            "typ/compiler/show-text-01.typ"
                            ( line 3 , column 79 )
                            (Ident (Identifier "name"))
                        ]
                    ])
             ])))
, ParBreak
, Text "TeX,"
, Space
, Text "LaTeX,"
, Space
, Text "LuaTeX"
, Space
, Text "and"
, Space
, Text "LuaLaTeX!"
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]), 
                 text(body: [
]), 
                 parbreak(), 
                 box(body: text(body: { text(body: [T]), 
                                        h(amount: -0.145em), 
                                        box(body: move(body: text(body: [E]), 
                                                       dy: 0.233em)), 
                                        h(amount: -0.135em), 
                                        text(body: [X]) }, 
                                font: "New Computer Modern")), 
                 text(body: [, ]), 
                 box(body: text(body: { text(body: [La]), 
                                        text(body: [T]), 
                                        h(amount: -0.145em), 
                                        box(body: move(body: text(body: [E]), 
                                                       dy: 0.233em)), 
                                        h(amount: -0.135em), 
                                        text(body: [X]) }, 
                                font: "New Computer Modern")), 
                 text(body: [, ]), 
                 box(body: text(body: { text(body: [Lua]), 
                                        text(body: [T]), 
                                        h(amount: -0.145em), 
                                        box(body: move(body: text(body: [E]), 
                                                       dy: 0.233em)), 
                                        h(amount: -0.135em), 
                                        text(body: [X]) }, 
                                font: "New Computer Modern")), 
                 text(body: [ and ]), 
                 box(body: text(body: { text(body: [LuaLa]), 
                                        text(body: [T]), 
                                        h(amount: -0.145em), 
                                        box(body: move(body: text(body: [E]), 
                                                       dy: 0.233em)), 
                                        h(amount: -0.135em), 
                                        text(body: [X]) }, 
                                font: "New Computer Modern")), 
                 text(body: [!]), 
                 parbreak() })