AtlatestRepositorysigil-doc

sigil-doc / tree / test / fixturessd-p1-folio-roots.sgd

1#lang sigil/doc
2@note["topics/alpha" title: "Alpha note"]
3
4@p{A folio-shaped root. There is no @code{@@chapter} anywhere in this
5manuscript, which is exactly why the default @code{sigil/doc} profile refuses
6it and a profile naming @code{@@note} and @code{@@project} accepts it.}
7
8@p{Multi-byte prose, so the second root's UTF-8 byte offset and its scalar
9offset genuinely disagree: καλημέρα κόσμε, ολα καλα. A span arm that probed a
10point where the two still agreed would pass under a byte-versus-scalar bug.}
12@end note
14@project["projects/beta" title: "Beta project"]
16@p{A second root, and a DIFFERENT root command, so the allowlist is exercised
17as a set rather than as a single name.}
19@end project