lilypond-user
[Top][All Lists]
Advanced

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

Re: HaraKiri and staff-consisted marks


From: Mats Bengtsson
Subject: Re: HaraKiri and staff-consisted marks
Date: Mon, 11 Oct 2004 10:58:54 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913

The problem is that you first redefine the Staff context to contain the
Mark_engraver, then on the next lines you tell LilyPond to use the
RemoveEmptyStaffContext definition for Staff contexts instead of the
ordinary (now redefined) definition.
Try:

\paper {
    raggedright = ##t
    \context {
        \Score
        \remove "Mark_engraver"
    }
    \context {
        \RemoveEmptyStaffContext
        \consists "Mark_engraver"
    }
}


   /Mats

Nicolas Sceaux wrote:
Hello,

In the following score, using \RemoveEmptyStaffContext, the marks are
said to be rebuted, and thus not displayed:



------------------------------------------------------------------------

\paper {
    raggedright = ##t
    \context {
        \Score
\remove "Mark_engraver" }
    \context {
        \Staff
        \consists "Mark_engraver"
    }
    \context { \RemoveEmptyStaffContext }
}

\score {
    \new StaffGroup <<
        \new Staff <<
            { \mark "Allegro." }
            { e'4 f' g' a' \break c' d' e' f' }
        >>
        \new Staff <<
            { R1 c'1 }
        >>
    >>
}


------------------------------------------------------------------------


Marks are removed from the score context and added to the staff
context. If \RemoveEmptyStaffContext is removed, the marks are
correctly displayed.

What am I missing?
I'm using LilyPond from CVS.

thanks
nicolas


------------------------------------------------------------------------

_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================




reply via email to

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