lilypond-user
[Top][All Lists]
Advanced

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

Re: Creating new articulation (adding to an internal alist)


From: David Nalesnik
Subject: Re: Creating new articulation (adding to an internal alist)
Date: Fri, 6 Mar 2015 06:59:38 -0600

Hi Urs,

On Fri, Mar 6, 2015 at 2:06 AM, Urs Liska <address@hidden> wrote:
Hi,

I've got a new notation font (which is going to be released soon), and this font contains a few historic extra glyphs that I would like to add as articulations. (One can access them as \markup but articulations would be more consistent).

Some research indicates that there are two things to be done for this:

- Add a definition to #default-script-alist
- Create a command

The following code adds an entry to #default-script-alist

% Add the script definition to the global list
% -> This doesn't work!
#(set! default-script-alist
       (append default-script-alist
Change append to append!  and it works.  Now I'd love to give an explanation, but I don't understand why "append" shouldn't work in this instance...

Note that there is a warning:

warning: Script has empty extent and non-empty stencil.

Did you get this when you modified scm/script.scm directly?

--David

reply via email to

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