[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Peculiarities of identifier definitions
From: |
Han-Wen Nienhuys |
Subject: |
Re: Peculiarities of identifier definitions |
Date: |
Thu, 18 Jan 2007 13:08:58 +0100 |
User-agent: |
Thunderbird 1.5.0.9 (X11/20061219) |
Mats Bengtsson escreveu:
> Can anybody explain to me what's going on in the following example:
>
> \version "2.11.12"
> myVoiceThree = #(context-spec-music (make-voice-props-set 2) 'Voice)
>
> \new Staff <<\new Voice {\voiceOne c' } \new Voice {\myVoiceThree e'} >>
>
> myFailingVoiceThree = { #(context-spec-music (make-voice-props-set 2)
> 'Voice) }
>
> \new Staff <<\new Voice {\voiceOne c' } \new Voice {\myFailingVoiceThree
> e'} >>
>
>
> If I apply \displayMusic on the second example, the \myFailingVoiceThree
> translates into (make-music
> 'SequentialMusic
> 'elements
> '())
> i.e. an empty music expression. To me it looks like a bug or at least a
> serious
> limitation.
you have to ly:export the identifier, otherwise lilypond assumes it's inline
scheme
that can be ignored.
--
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen
LilyPond Software Design
-- Code for Music Notation
http://www.lilypond-design.com