2004-03-11 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * lily/auto-beam-engraver.cc (create_beam): add Stem as
+ cause. This should fix warnings.
+
+ * mf/feta-slag.mf (trill_ne): fix upmordent size.
+
* lily/accidental.cc (accurate_boxes): enlarge Y-extent of flat to
prevent aligned 6ths.
- * lily/custos.cc (print): remove neutral position.
- (print): remove adjust-if-on-staffline.
+ * lily/custos.cc (print): remove adjust-if-on-staffline.
2004-03-11 Jan Nieuwenhuizen <janneke@gnu.org>
@lilypond
\score {
\notes {
- \override Staff.Custos #'neutral-position = #4
- \override Staff.Custos #'neutral-direction = #-1
- \override Staff.Custos #'adjust-if-on-staffline = ##t
+% \override Staff.Custos #'neutral-position = #4
+ \override Staff.Custos #'neutral-direction = #-1
- \override Staff.Custos #'style = #'hufnagel
+ \override Staff.Custos #'style = #'hufnagel
c'1
\break < d' a' f''>1
}
@lilypond[relative=2,verbatim,fragment]
<< \new Staff { e4 \bar "|:" \grace c16 d4 }
- \new Staff { c4 \bar "|:" d4 } >>
+ \new Staff { c4 \bar "|:" d4 } >>
@end lilypond
+@noindent
+This can be remedied by inserting grace skips, for the above example
+
+@verbatim
+ \new Staff { c4 \bar "|:" \grace s16 d4 } >>
+@end verbatim
+
Grace sections should only be used within sequential music
expressions. Nesting or juxtaposing grace sections is not supported,
and might produce crashes or other errors.
Beam::add_stem (beam, (*stems_)[i]);
}
- announce_grob (beam, SCM_EOL);
+ announce_grob (beam, (*stems_)[0]->self_scm ());
return beam;
}
*/
bool adjust = true;
- int neutral_pos = 0;
+ int neutral_pos = robust_scm2int (me->get_property ("neutral-position"), 0);
Direction neutral_direction =
to_dir (me->get_property ("neutral-direction"));
ADD_INTERFACE (Custos, "custos-interface",
"A custos object.",
- "style neutral-direction");
+ "style neutral-position neutral-direction");
\accepts Score
\description "Hard coded entry point for LilyPond. Cannot be tuned."
\grobdescriptions #all-grob-descriptions
-
}
%
\override Custos #'style = #'vaticana
\override Custos #'neutral-position = #3
\override Custos #'neutral-direction = #-1
- \override Custos #'adjust-if-on-staffline = ##t
% Score.timing = ##f
% Score.barAlways = ##t
fet_beginchar("upmordent", "upmordent", "upmordent")
set_char_box(3 trill_width#, 3 trill_width#,
- trill_height#, trill_height#);
+ 4/3 trill_height#, 4/3 trill_height#);
currentpicture := remember_pic;
(dashed ,number? " number representing the length of the dashes.")
(neutral-direction ,ly:dir? "Which direction to take in the
center of the staff.")
+ (neutral-position ,number? "Position (in half staff spaces) where
+to flip the direction of custos stem.")
+
;; todo: why is this tunable?
(dir-function ,procedure? "The function to determine the
direction of a beam. Choices include:
(let ((where (ly:context-property-where-defined context 'middleCPosition))
(oc0 (ly:context-property context 'originalCentralCPosition)))
(ly:context-set-property! context 'middleCPosition oc0)
- (ly:unset-context-property where 'originalCentralCPosition)
- (ly:unset-context-property where 'ottavation))
+ (ly:context-unset-property where 'originalCentralCPosition)
+ (ly:context-unset-property where 'ottavation))
(let* ((where (ly:context-property-where-defined context 'middleCPosition))
(c0 (ly:context-property context 'middleCPosition))
(new-c0 (+ c0 (* -7 octavation)))
'ly:stencil-extent', str)
str = re.sub (r'ly:translator-find',
'ly:context-find', str)
- str = re.sub ('ly:context-unset-property',
- 'ly:unset-context-property', str)
+ str = re.sub ('ly:unset-context-property','ly:context-unset-property',
+ str)
str = re.sub (r'ly:get-mutable-properties',
'ly:mutable-music-properties',str)
'''\\threeq{flat,sharp} -> \\sesqui{flat,sharp}
ly:get-mutable-properties -> ly:mutable-music-properties
centralCPosition -> middleCPosition
-ly:unset-context-property -> ly:unset-context-property
+ly:unset-context-property -> ly:context-unset-property
ly:translator-find -> ly:context-find
ly:get-stencil-extent -> ly:stencil-extent
'''))