process 2nd ottava correctly.
+2003-05-27 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+
+ * scm/music-functions.scm (make-ottava-set): bugfixes: also
+ process 2nd ottava correctly.
+
2003-05-27 Heikki Junes <hjunes@cc.hut.fi>
* lilypond-indent.el: allow strings in LilyPond-parens-alist.
a b c a
#(set-octavation 0)
- a b c a
+ a #(set-octavation 1) b
+ #(set-octavation 0)
+ c a
}
}
beam_ = 0;
}
- if (beam_ && to_boolean (get_property ("forbidBeamBreak")))
+ if (beam_ && !to_boolean (get_property ("allowBeamBreak")))
{
top_engraver ()->forbid_breaks ();
}
/* creats*/ "Beam",
/* accepts */ "beam-event abort-event new-beam-event",
/* acks */ "stem-interface rest-interface",
-/* reads */ "beamMelismaBusy beatLength forbidBeamBreak subdivideBeams",
+/* reads */ "beamMelismaBusy beatLength allowBeamBreak subdivideBeams",
/* write */ "");
{
finished_ = 0;
span_ =0;
+ last_ottavation_ = SCM_EOL;
}
void
tupletNumberFormatFunction = #denominator-tuplet-formatter
subdivideBeams = ##f
- forbidBeamBreak = ##t
+ allowBeamBreak = ##f
extraNatural = ##t
autoAccidentals = #'(Staff (same-octave . 0))
autoCautionaries = #'()
"Used to set the relative size of all grobs
in a context. This is done using the @code{Font_size_engraver}.")
-(translator-property-description 'forbidBeamBreak boolean?
- "If false, allow line breaks during beams.")
+(translator-property-description 'allowBeamBreak boolean?
+ "If true allow line breaks during beams.")
(translator-property-description 'forceClef boolean? "Show clef symbol, even if it hasn't changed. Only active for the first clef after the property is set, not for the full staff.")
(translator-property-description 'graceAccidentalSpace number? "amount space to alot for an accidental")
(oc0 (ly:get-context-property context 'originalCentralCPosition))
)
-
+
(ly:set-context-property context 'centralCPosition oc0)
(ly:unset-context-property where 'originalCentralCPosition)
(ly:unset-context-property where 'ottavation)
(-2 . "15ma bassa")))))
)
- (ly:set-context-property where 'centralCPosition new-c0)
- (ly:set-context-property where 'originalCentralCPosition c0)
- (ly:set-context-property where 'ottavation string)
+ (ly:set-context-property context 'centralCPosition new-c0)
+ (ly:set-context-property context 'originalCentralCPosition c0)
+ (ly:set-context-property context 'ottavation string)
)))
(ly:set-mus-property! m 'procedure ottava-modify)
- m
+ (context-spec-music m "Staff" )
))
(define-public (set-octavation ottavation)