AtlatestRepositorysigil-doc
1
#lang sigil/doc/book2
@(define support-binding 1)3
@chapter["Passive Surface Pressure" authors: '("SD-P4")]5
@section["Spans and delimiters" id: "spans"]7
@p{Prose with an inline @em{emphasis}, an inline @code{map} call, and the8
document escapes @@ @{ @} @[ @] which each occupy two manuscript characters9
and one text node.}11
@p{Multi-byte prose keeps byte offsets and scalar offsets apart: καλημέρα12
κόσμε, ολα καλα, and @em{κόσμε} again inside a nested command.}14
@p{An argument group may contain a delimiter inside a string, as in15
@ref["a ] bracket"]{a label}, which only the standard reader can resolve.}17
@end section19
@section["Commands that collide with internal pseudo-kinds" id: "collisions"]21
@p{The parser's internal tree uses five-slot @code{text} and @code{expr}22
pseudo-nodes. These are author commands with the same head symbol and must23
remain commands on the passive surface: @text{a text command} and24
@expr{an expr command}.}26
@end section28
@section["Body kinds" id: "bodies"]30
@p{A brace body.}32
@p: A line body that ends at the physical newline.34
@tip35
@p{A named body closed by an explicit end marker.}36
@end tip38
@code["sigil"]{(display "brace code body")}40
@code[#f]: unlabelled line code body42
@code43
raw named code body: @@ and @end other and } are all inert here44
@end code46
@end section47
@end chapter