packages feed

typst-0.9: test/typ/text/linebreak-07.out

--- parse tree ---
[ Comment
, SoftBreak
, Code
    "typ/text/linebreak-07.typ"
    ( line 2 , column 2 )
    (Set
       (Ident (Identifier "par"))
       [ KeyValArg (Identifier "justify") (Literal (Boolean True)) ])
, SoftBreak
, Text "With"
, Space
, Text "a"
, Space
, Text "soft"
, Space
, Code
    "typ/text/linebreak-07.typ"
    ( line 3 , column 14 )
    (FuncCall
       (Ident (Identifier "linebreak"))
       [ KeyValArg (Identifier "justify") (Literal (Boolean True)) ])
, SoftBreak
, Text "break"
, Space
, Text "you"
, Space
, Text "can"
, Space
, Text "force"
, Space
, Text "a"
, Space
, Text "break"
, Space
, Text "without"
, Space
, Code
    "typ/text/linebreak-07.typ"
    ( line 4 , column 38 )
    (FuncCall
       (Ident (Identifier "linebreak"))
       [ KeyValArg (Identifier "justify") (Literal (Boolean True)) ])
, SoftBreak
, Text "breaking"
, Space
, Text "justification"
, Text "."
, Space
, Code
    "typ/text/linebreak-07.typ"
    ( line 5 , column 26 )
    (FuncCall
       (Ident (Identifier "linebreak"))
       [ KeyValArg (Identifier "justify") (Literal (Boolean False)) ])
, SoftBreak
, Text "Nice!"
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]), 
                 text(body: [
With a soft ]), 
                 linebreak(justify: true), 
                 text(body: [
break you can force a break without ]), 
                 linebreak(justify: true), 
                 text(body: [
breaking justification. ]), 
                 linebreak(justify: false), 
                 text(body: [
Nice!]), 
                 parbreak() })