From dd15497ef399f11e7befa968b293c8dcdfff6803 Mon Sep 17 00:00:00 2001 From: Matthew Butterick Date: Thu, 10 Jan 2019 14:23:35 -0800 Subject: [PATCH] stop the barbarism --- .../hyphenate/scribblings/hyphenate.scrbl | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/hyphenate/hyphenate/scribblings/hyphenate.scrbl b/hyphenate/hyphenate/scribblings/hyphenate.scrbl index b1fc71ab..0120c6fe 100644 --- a/hyphenate/hyphenate/scribblings/hyphenate.scrbl +++ b/hyphenate/hyphenate/scribblings/hyphenate.scrbl @@ -41,9 +41,9 @@ Safe mode enables the function contracts documented below. Use safe mode by impo [#:min-length length (or/c integer? false?) 5] [#:min-left-length left-length (or/c (and/c integer? positive?) #f) 2] [#:min-right-length right-length (or/c (and/c integer? positive?) #f) 2] -[#:omit-word word-test (string? . -> . any/c) (λ(x) #f)] -[#:omit-string string-test (string? . -> . any/c) (λ(x) #f)] -[#:omit-txexpr txexpr-test (txexpr? . -> . any/c) (λ(x) #f)]) +[#:omit-word word-test (string? . -> . any/c) (λ (x) #f)] +[#:omit-string string-test (string? . -> . any/c) (λ (x) #f)] +[#:omit-txexpr txexpr-test (txexpr? . -> . any/c) (λ (x) #f)]) xexpr/c] Hyphenate @racket[_xexpr] by calculating hyphenation points and inserting @racket[_joiner] at those points. By default, @racket[_joiner] is the soft hyphen (Unicode 00AD = decimal 173). Words shorter than @racket[#:min-length] @racket[_length] will not be hyphenated. To hyphenate words of any length, use @racket[#:min-length] @racket[#f]. @@ -122,7 +122,7 @@ If you're working with HTML, be careful not to include any @code{