lilypond-user
[Top][All Lists]
Advanced

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

global settings for several scores


From: fiëé visuëlle
Subject: global settings for several scores
Date: Sat, 19 Sep 2009 11:47:48 +0200

Hello fellow pond dwellers,

I'm trying to set several scores (songs) at once, using \include.
I use \layout and \midi for every single song to be able to get single output files.
All scores should inherit some global settings like these:

\layout {
        \context { \ChordNames
                \set chordChanges = ##t
                % \germanChords % doesn't work here
        }
        \context { \Staff
                 \override TimeSignature #'style = #'numbered
        }
        \context { \Score
                \override BarNumber #'break-visibility = #all-invisible
        }
}

Such a \layout block is the only way for "global" options that i found in the docs.
And LilyPond even complains that \set is "unexpected" here!
But \layout must stand within a \score block, and I've several of those.

I guess I could set the properties similar to

#(ly:set-option (quote no-point-and-click))

but I don't understand how I can set the above properties using such a Scheme function, if that's possible at all.



Greetlings from Lake Constance
---
fiëé visuëlle
Henning Hraban Ramm
http://www.fiee.net
http://angerweit.tikon.ch/lieder/
https://www.cacert.org (I'm an assurer)






reply via email to

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