[cl-typesetting-devel] Bug in hyphenate-string?

Peter Heslin pj at heslin.eclipse.co.uk
Tue Mar 28 21:41:31 UTC 2006


When you give a string to the function hyphenate-string, it will fail
to find any hyphenation-points in the last word of the string, unless
the string has trailing whitespace.

(tt::hyphenate-string "hyphenate") => NIL
(tt::hyphenate-string "hyphenate ") => (5)
(tt::hyphenate-string "hyphenate hyphenate") => (5)
(tt::hyphenate-string "hyphenate hyphenate ") => (5 15)

-- 
Peter Heslin (http://www.dur.ac.uk/p.j.heslin)



More information about the cl-typesetting-devel mailing list