lilypond-devel
[Top][All Lists]
Advanced

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

Re: Using .ily for included lilypond files


From: David Kastrup
Subject: Re: Using .ily for included lilypond files
Date: Sun, 17 May 2009 21:56:21 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux)

Francisco Vila <address@hidden> writes:

> 2009/5/17 David Kastrup <address@hidden>:
>> \notelanguage "english" { ... }
>>
>> which switches the parser to english language while parsing the given
>> expression (and loads internally some .ily file once with the required
>> information if necessary, retaining it for further switches).
>
> Why not
>
>   { \setNoteLanguage "english"
>   ...}
>
> that would set the note language from now on, instead of requiring an
> expression as argument?

Sounds reasonable at first glance.  \setNoteLanguage should likely work
at a level where Scheme macros (special forms?) work, namely right at
the point where the parsed expression is formed, not at its execution
time.

    { \setNoteLanguage "deutsch" c d e f g a h c }

should likely be completely equivalent to

    { c d e f g a b c }

Or something like that.

-- 
David Kastrup





reply via email to

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