From 6e6f89a841c5318cb59fbced54e0c3c3fd10ed18 Mon Sep 17 00:00:00 2001 From: Matthew Butterick Date: Wed, 19 Feb 2014 13:16:37 -0800 Subject: [PATCH] doc typo --- hyphenate/scribblings/hyphenate.scrbl | 2 -- 1 file changed, 2 deletions(-) diff --git a/hyphenate/scribblings/hyphenate.scrbl b/hyphenate/scribblings/hyphenate.scrbl index 832fffa0..dabea200 100644 --- a/hyphenate/scribblings/hyphenate.scrbl +++ b/hyphenate/scribblings/hyphenate.scrbl @@ -124,8 +124,6 @@ Sometimes you need @racket[hyphenatef] to prevent unintended consequences. For i '("ff" "fi" "fl" "ffi" "ffl")))) (hyphenatef "Hufflepuff golfing final on Tuesday" no-ligs? #\-) ] - -@margin-note{``Wouldn't it be better to exclude certain pairs of letters rather than whole words?'' Yes. But for now, that's not supported.} It's possible to do fancier kinds of hyphenation restrictions that take account of context, like not hyphenating the last word of a paragraph. But @racket[hyphenatef] only operates on words. So you'll have to write some fancier code. Separate out the words eligible for hyphenation, and then send them through good old @racket[hyphenate].