diff --git a/scribble-doc/scribblings/scribble/acmart.scrbl b/scribble-doc/scribblings/scribble/acmart.scrbl index 25b9329b..ac0d45d9 100644 --- a/scribble-doc/scribblings/scribble/acmart.scrbl +++ b/scribble-doc/scribblings/scribble/acmart.scrbl @@ -13,6 +13,17 @@ LaTeX style defaults to use the @hyperlink[acmart-url]{@tt{acmart}} class for typesetting publications for the Association of Computing Machinery.} +@bold{Note:} a @racketmodname[scribble/acmart] document must include a +@racket[title] and @racket[author]. + +Example: + +@verbatim[#:indent 2]|{ + #lang scribble/acmart + @title{Surreal Numbers} + @author{Ursula N. Owens} +}| + @deftogether[( @defidform[manuscript] @defidform[acmsmall] @@ -277,4 +288,4 @@ sponsors, @racket[name] is the name of the sponsor. The grant No.: @grantnum["NSF7000"]{867-5309}.} }|} -@history[#:added "1.20"] \ No newline at end of file +@history[#:added "1.20"] diff --git a/scribble-lib/scribble/acmart.rkt b/scribble-lib/scribble/acmart.rkt index 252dfeee..f66f812b 100644 --- a/scribble-lib/scribble/acmart.rkt +++ b/scribble-lib/scribble/acmart.rkt @@ -80,6 +80,8 @@ [CCSXML (->* () () #:rest (listof pre-content?) any/c)]) +(provide + invisible-element-to-collect-for-acmart-extras) (define-syntax-rule (defopts name ...) (begin (define-syntax (name stx) @@ -136,6 +138,9 @@ (make-css-addition (abs "acmart.css")) (make-tex-addition (abs "acmart.tex"))))) +(define invisible-element-to-collect-for-acmart-extras + (make-element (make-style "invisible-element-to-collect-for-acmart-extras" acmart-extras) '())) + ;; ---------------------------------------- ;; Abstracts: diff --git a/scribble-lib/scribble/acmart/lang.rkt b/scribble-lib/scribble/acmart/lang.rkt index db84aff0..e2a2a5da 100644 --- a/scribble-lib/scribble/acmart/lang.rkt +++ b/scribble-lib/scribble/acmart/lang.rkt @@ -145,5 +145,5 @@ ;; Ensure that "acmart.tex" is used, since "style.tex" ;; re-defines commands. (struct-copy part doc [to-collect - (cons (terms) ; FIXME + (cons invisible-element-to-collect-for-acmart-extras (part-to-collect doc))]))