]> git.donarmstrong.com Git - lilypond.git/commitdiff
* Documentation/topdocs/NEWS.tely (Top): mention barNumberCheck
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Thu, 21 Jul 2005 16:33:27 +0000 (16:33 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Thu, 21 Jul 2005 16:33:27 +0000 (16:33 +0000)
* Documentation/topdocs/NEWS.tely (Top): add new feature.

ChangeLog
Documentation/topdocs/NEWS.tely
lily/accidental-engraver.cc

index b14a0fa2752f0a6f301ff2056eb382a09e49f577..b14a71757f1e30310270b5e6995ac5afb69f8b27 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2005-07-21  Han-Wen Nienhuys  <hanwen@xs4all.nl>
 
+       * 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
index 5ba16a8abe8241faed4af03af5d98f4dd3f24e07..804d25e1252269f587056464739825e417806347 100644 (file)
@@ -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.
 
index 4033b8b2b06b92c5072e83fdfdff06f38f988b84..67402afcf22c303425b13f22e796cb0623219c06 100644 (file)
@@ -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_);