lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lyric centre-on-word / ignore-punctuation bug


From: David Kastrup
Subject: Re: Lyric centre-on-word / ignore-punctuation bug
Date: Sat, 24 Feb 2018 11:06:20 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Thomas Morley <address@hidden> writes:

> 2018-02-24 3:45 GMT+01:00 Kieren MacMillan <address@hidden>:
>> 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.

-- 
David Kastrup



reply via email to

[Prev in Thread] Current Thread [Next in Thread]