|
From: | Mats Bengtsson |
Subject: | Re: lilypond ./ChangeLog Documentation/user/notatio... |
Date: | Fri, 08 Oct 2004 13:10:03 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913 |
So, I learnt something new today! I'll revert the patch. However, there are several examples, both in input/*/* and in scm/define-context-properties.scm which set these properties in Staff or Score. Should I change them as well? Another feature that's slightly confusing is that \score { \relative c''{ c4 c4 c4 c4 } \paper{ raggedright = ##t \context{ \Staff whichBar = ":|:" } } } is equivalent to \score { \relative c''{ \set Score.barAlways = ##t \set Score.defaultBarType = ":|:" c4 c4 c4 c4 } \paper{raggedright = ##t} } (except for the initial bar line). However, if in the first of these examples I set whichBar globally in the Staff context instead, then the setting only applies at the beginning of the score. /Mats Han-Wen Nienhuys wrote:
address@hidden writes:The command @code{\bar address@hidden is a short cut for doing address@hidden Timing.whichBar = address@hidden Whenever @code{whichBar} address@hidden Staff.whichBar = address@hidden Whenever @code{whichBar}why did you make this correction? parser.yy says | BAR STRING { Music *t = set_property_music (ly_symbol2scm ("whichBar"), $2); Music *csm = context_spec_music (ly_symbol2scm ("Timing"), SCM_UNDEFINED, t, SCM_EOL); $$ = context_spec_music (ly_symbol2scm ("Score"), SCM_UNDEFINED, csm, SCM_EOL); $$->set_spot (THIS->here_input ()); t->set_spot (THIS->here_input ()); address@hidden writes:Patches: Index: lilypond/ChangeLog diff -u lilypond/ChangeLog:1.2689 lilypond/ChangeLog:1.2690 --- lilypond/ChangeLog:1.2689 Fri Oct 8 07:55:20 2004 +++ lilypond/ChangeLog Fri Oct 8 08:02:18 2004 @@ -1,7 +1,8 @@ 2004-10-08 Mats Bengtsson <address@hidden> * Documentation/user/notation.itely (Bar lines): Corrected how to - set whichBar. + set whichBar. Also, added a note that defaultBarType is to be + changed in the Score context.it should be overridden at Timing, since the location of the timing engraver (which makes default bars) may change.
-- ============================================= 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 =============================================
[Prev in Thread] | Current Thread | [Next in Thread] |