diff --git a/pkgs/scribble-pkgs/scribble-lib/scribble/private/manual-mod.rkt b/pkgs/scribble-pkgs/scribble-lib/scribble/private/manual-mod.rkt index 39303ae2..fff98dcd 100644 --- a/pkgs/scribble-pkgs/scribble-lib/scribble/private/manual-mod.rkt +++ b/pkgs/scribble-pkgs/scribble-lib/scribble/private/manual-mod.rkt @@ -205,7 +205,8 @@ (list (make-omitable-paragraph (list (elem #:style "RpackageSpec" - (list* (smaller (format "package~a:" + (list* (smaller 'nbsp + (format "package~a:" (if (null? (cdr pkgs)) "" "s"))) diff --git a/pkgs/scribble-pkgs/scribble-test/tests/scribble/docs/codeblock-utf8.txt b/pkgs/scribble-pkgs/scribble-test/tests/scribble/docs/codeblock-utf8.txt index 902745c3..c5b01f4a 100644 --- a/pkgs/scribble-pkgs/scribble-test/tests/scribble/docs/codeblock-utf8.txt +++ b/pkgs/scribble-pkgs/scribble-test/tests/scribble/docs/codeblock-utf8.txt @@ -1,4 +1,4 @@ - #reader scribble/manual + #reader scribble/manual package: scribble-lib #lang scribble/manual (λ x x) diff --git a/pkgs/scribble-pkgs/scribble-test/tests/scribble/docs/manual.txt b/pkgs/scribble-pkgs/scribble-test/tests/scribble/docs/manual.txt index 91e57ae6..ebcd46be 100644 --- a/pkgs/scribble-pkgs/scribble-test/tests/scribble/docs/manual.txt +++ b/pkgs/scribble-pkgs/scribble-test/tests/scribble/docs/manual.txt @@ -1,4 +1,4 @@ - (require "manual-ex.rkt") + (require "manual-ex.rkt") package: scribble-test (f) -> integer? @@ -166,62 +166,62 @@ A structure type with extra name, again. A mutable structure type with extra name, again. - (require "manual-ex0.rkt") + (require "manual-ex0.rkt") package: scribble-test - #lang "manual-ex0.rkt" + #lang "manual-ex0.rkt" package: scribble-test - #reader "manual-ex0.rkt" + #reader "manual-ex0.rkt" package: scribble-test 1. Sub2 - (require "manual-ex2.rkt") + (require "manual-ex2.rkt") package: scribble-test 2. Sub2a - (require "manual-ex2a.rkt") + (require "manual-ex2a.rkt") package: scribble-test 3. Sub3 - #lang "manual-ex3.rkt" + #lang "manual-ex3.rkt" package: scribble-test 4. Sub3a - #lang "manual-ex3a.rkt" + #lang "manual-ex3a.rkt" package: scribble-test 5. Sub4-5 - (require "manual-ex4.rkt") + (require "manual-ex4.rkt") package: scribble-test  (require "manual-ex5.rkt") 6. Sub4a-5a - (require "manual-ex4a.rkt") + (require "manual-ex4a.rkt") package: scribble-test  (require "manual-ex5a.rkt") 7. Sub6 - (load "manual-ex6.rkt") + (load "manual-ex6.rkt") package: scribble-test 8. Sub6a - (load "manual-ex6a.rkt") + (load "manual-ex6a.rkt") package: scribble-test 9. Sub7 - (require "manual-ex7.rkt") + (require "manual-ex7.rkt") package: scribble-test 10. Sub7a - (require "manual-ex7a.rkt") + (require "manual-ex7a.rkt") package: scribble-test 11. Sub8 - #reader "manual-ex8.rkt" + #reader "manual-ex8.rkt" package: scribble-test 12. Sub8a - #reader "manual-ex8a.rkt" + #reader "manual-ex8a.rkt" package: scribble-test 13. Sub8b - #reader "manual-ex8b.rkt" + #reader "manual-ex8b.rkt" package: scribble-test diff --git a/pkgs/scribble-pkgs/scribble-test/tests/scribble/docs/text.txt b/pkgs/scribble-pkgs/scribble-test/tests/scribble/docs/text.txt index 95299eeb..5d481d97 100644 --- a/pkgs/scribble-pkgs/scribble-test/tests/scribble/docs/text.txt +++ b/pkgs/scribble-pkgs/scribble-test/tests/scribble/docs/text.txt @@ -20,7 +20,7 @@ Here’s some Racket code: 1.2. Another Subsection - (require racket/base) + (require racket/base) package: base (cons car cdr) -> stuff?   car : (or/c #f