David Wright <lily...@lionunicorn.co.uk> writes: > On Sat 24 Feb 2018 at 11:06:20 (+0100), David Kastrup wrote: >> Thomas Morley <thomasmorle...@gmail.com> writes: >> >> > 2018-02-24 3:45 GMT+01:00 Kieren MacMillan <kieren_macmil...@sympatico.ca>: >> >> Hi all, >> >> >> >> When a lyric syllable begins with a typographer’s single quote >> >> (e.g., ’cause, ’ll, etc.), the "ignore-punctuation" hack doesn't >> >> work. Any hints on how to fix this would be appreciated. >> >> >> >> Thanks, >> >> Kieren. >> >> >> >> %%% SNIPPET BEGINS >> >> \version "2.19" >> >> >> > >> > Only characters from `space-set' are respected by `center-on-word'. >> > Extend the given string with "’" >> > >> >> #(define space-set >> >> (list->char-set >> >> (string->list "—.?-;,:“†‘’–— */()[]{}|<>!`~&…"))) >> > >> > #(define space-set >> > (list->char-set >> > (string->list "’—.?-;,:“†‘’–— */()[]{}|<>!`~&…"))) >> > >> > works for me. >> >> Doesn't really look like dealing sensibly with utf-8. > > AFAICT the string in the original snippet is > > —.?-;,:“”‘’–— */()[]{}|<>!`~&…
I was talking about the code, not the string (which is garbled, sure). > What I haven't figured out is why there are two long dashes; en-dash and em-dash are different code points. -- David Kastrup _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user