AtlatestRepositorysigil-doc
1
(import (sigil core) (sigil fs) (sigil shell) (sigil doc) (sigil doc publication)2
(sigil doc print) (sigil doc render typst))4
(define args (script-args))5
(unless (= (length args) 1)6
(error "usage: build-d6-change-control.sgl OUTPUT.typ"))7
(define loc (make-srcloc "changed-content.sgd" 1 1 0 1))8
(define document9
(make-document 'chapter "Changed-content control" '()10
(list (make-paragraph11
(list (make-text "D6 changed-content witness 7391" loc)) loc)) loc))12
(define print-value13
(make-print-publication "Changed-content control" #f '()14
(list (make-publication-document "changed-content" document)) '()))15
(write-file-string (car args) (print-publication->typst print-value))