From 23a3d2aaf9bd85aa8e686ca5fc274dd044385256 Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Thu, 21 Jul 2005 16:33:27 +0000 Subject: [PATCH] * Documentation/topdocs/NEWS.tely (Top): mention barNumberCheck * Documentation/topdocs/NEWS.tely (Top): add new feature. --- ChangeLog | 2 ++ Documentation/topdocs/NEWS.tely | 12 ++++++++++-- lily/accidental-engraver.cc | 2 +- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index b14a0fa275..b14a71757f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2005-07-21 Han-Wen Nienhuys + * Documentation/topdocs/NEWS.tely (Top): mention barNumberCheck + * Documentation/user/basic-notation.itely (Barnumber check): add section. * scm/music-functions.scm (skip-to-last): new function. Show only diff --git a/Documentation/topdocs/NEWS.tely b/Documentation/topdocs/NEWS.tely index 5ba16a8abe..804d25e125 100644 --- a/Documentation/topdocs/NEWS.tely +++ b/Documentation/topdocs/NEWS.tely @@ -32,6 +32,16 @@ See user manual, \NAME\ @itemize @bullet +@item +The current bar number may be checked with @code{\barNumberCheck}, eg. + +@verbatim +\barNumberCheck #22 +@end verbatim + +@noindent +will print a warning if it doesn't happen in measure 22. + @item If @code{skipLastLength} is set, only the last few measures of a piece are rendered, which speeds up correcting scores. For example, setting @@ -45,8 +55,6 @@ showLastLength = R1*5 will render only the last five measures (assuming 4/4 time signature) of a piece. - - @item Melismata can be specified simply in the lyrics now, eg. diff --git a/lily/accidental-engraver.cc b/lily/accidental-engraver.cc index 4033b8b2b0..67402afcf2 100644 --- a/lily/accidental-engraver.cc +++ b/lily/accidental-engraver.cc @@ -372,7 +372,7 @@ Accidental_engraver::create_accidental (Accidental_entry *entry, Pitch *pitch = unsmob_pitch (note->get_property ("pitch")); - bool as_suggestion = to_boolean (get_property ("suggestAccidentals")); + bool as_suggestion = to_boolean (entry->origin_->get_property ("suggestAccidentals")); Grob *a = 0; if (as_suggestion) a = make_suggested_accidental (note, support, entry->origin_engraver_); -- 2.39.5