lilypond-user
[Top][All Lists]
Advanced

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

\layout { \context { \Staff \set ... = ... } } don't work (see NR 5.1.4)


From: Germain G. Ivanoff-Trinadtzaty
Subject: \layout { \context { \Staff \set ... = ... } } don't work (see NR 5.1.4)
Date: Thu, 12 Jun 2008 18:43:16 +0200

Hello,
 
I went into a trouble trying to globally modify a context property. One of the purposes was to turn off the auto-beaming feature. According to NR 5.1.4, I keyed in :
 
\version "2.11.47"
\layout {         %% global layout, before any \score
    \context {
        \Staff
        \remove   Time_signature_engraver                       %% ok
        \override InstrumentName #'self-alignment-X = #RIGHT    %% ok
%       \set      autoBeaming = ##f                             %% syntax error !
    }
}
 
I finally went to add the following to achieve it :
 
\layout {
    \context {
        \Voice
        \remove   Auto_beam_engraver
    }
}
 
I also noticed that including \set autoBeaming = ##f in a local-to-score \layout {} neither works.
 
Neither the exemple with fontSize given in NR 5.1.4 works. Later on, NR 5.1.4 states that the \set keyword is optional. I strip it out and... voilĂ  ! No more syntax error. So :
 
        don't use the \set keyword in a \layout block.
 
Is this a regression, or a doc issue ?
 
Cheers,
Germain
 

reply via email to

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