From: Neil Puttock Date: Sun, 7 Sep 2008 17:19:06 +0000 (+0100) Subject: Miscellaneous nitpicks. X-Git-Tag: release/2.11.58-1~26 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=0f108f9d4bd21e76ca717aef9ecbf5f507ff258a;p=lilypond.git Miscellaneous nitpicks. --- diff --git a/lily/accidental-engraver.cc b/lily/accidental-engraver.cc index d57124981d..c7440e5154 100644 --- a/lily/accidental-engraver.cc +++ b/lily/accidental-engraver.cc @@ -1,5 +1,5 @@ /* - accidental-engraver.cc -- implement accidental_engraver + accidental-engraver.cc -- implement Accidental_engraver source file of the GNU LilyPond music typesetter diff --git a/lily/accidental-placement.cc b/lily/accidental-placement.cc index 2c76062d67..268580e4ab 100644 --- a/lily/accidental-placement.cc +++ b/lily/accidental-placement.cc @@ -68,7 +68,8 @@ Accidental_placement::split_accidentals (Grob *accs, { Grob *a = unsmob_grob (scm_car (s)); - if (unsmob_grob (a->get_object ("tie")) && !to_boolean (a->get_property ("forced"))) + if (unsmob_grob (a->get_object ("tie")) + && !to_boolean (a->get_property ("forced"))) break_reminder->push_back (a); else real_acc->push_back (a); diff --git a/lily/accidental.cc b/lily/accidental.cc index 7f3a97b4f7..bbf18517ab 100644 --- a/lily/accidental.cc +++ b/lily/accidental.cc @@ -109,7 +109,7 @@ Accidental_interface::accurate_boxes (Grob *me, Grob **common) really close. */ Direction bulb_dir = - glyph_name=="accidentals.mirroredflat" ? LEFT : RIGHT; + glyph_name == "accidentals.mirroredflat" ? LEFT : RIGHT; stem[X_AXIS][bulb_dir] = stem[X_AXIS].center (); /* diff --git a/lily/balloon.cc b/lily/balloon.cc index 5252e88077..6259bf84e5 100644 --- a/lily/balloon.cc +++ b/lily/balloon.cc @@ -31,7 +31,7 @@ Balloon_interface::print (SCM smob) Grob *p = me->get_parent (X_AXIS); Offset off (me->relative_coordinate (p, X_AXIS), - me->relative_coordinate (p, Y_AXIS)); + me->relative_coordinate (p, Y_AXIS)); Box b (p->extent (p, X_AXIS), p->extent (p, Y_AXIS)); @@ -46,7 +46,7 @@ Balloon_interface::print (SCM smob) SCM chain = Font_interface::text_font_alist_chain (me); SCM stencil = Text_interface::interpret_markup (me->layout ()->self_scm (), - chain, bt); + chain, bt); Stencil *text_stil = unsmob_stencil (stencil); diff --git a/lily/metronome-engraver.cc b/lily/metronome-engraver.cc index f3b6353435..069e67d1e1 100644 --- a/lily/metronome-engraver.cc +++ b/lily/metronome-engraver.cc @@ -1,5 +1,5 @@ /* - mark-engraver.cc -- implement Metronome_mark_engraver + metronome-engraver.cc -- implement Metronome_mark_engraver source file of the GNU LilyPond music typesetter @@ -20,10 +20,6 @@ using namespace std; #include "translator.icc" -/** - put stuff over or next to bars. Examples: bar numbers, marginal notes, - rehearsal marks. -*/ class Metronome_mark_engraver : public Engraver { public: diff --git a/ly/arabic.ly b/ly/arabic.ly index e5939a0d21..24017211a4 100644 --- a/ly/arabic.ly +++ b/ly/arabic.ly @@ -3,22 +3,22 @@ %%%%%%% % -% Definition of "dwn" symbol in order to draw the half flat symbol -% that is more often used in Arabic music (A b with a slash across) -% , rather than the reverse b symbol that is used by LilyPond. -% The method was contributed by Valentin Villenavea on the LilyPond Forum +% Definition of "dwn" symbol in order to draw the half flat symbol +% that is more often used in Arabic music (A b with a slash across), +% rather than the reverse b symbol that is used by LilyPond. +% The method was contributed by Valentin Villenave on the LilyPond Forum % % http://www.mail-archive.com/lilypond-user@gnu.org/msg34244.html -% +% % Exchange on 17 January 2008 % -% Updated based on email advice 10 August 2008, by Neil Puttock -% +% Updated based on email advice 10 July 2008, by Neil Puttock +% % -% Example +% Example % % dod dob dosd \dwn dob dobsb dodsd do -% +% dwn = { \once \override Voice.Accidental #'stencil = #(lambda (grob) @@ -28,11 +28,10 @@ dwn = { (#:fontsize -1 (#:musicglyph "flags.ugrace")))) -1.3 0)) } - -% % -% Arabic maqam groups +% Arabic maqam groups % + bayati = #`( (0 . 0) (1 . ,SEMI-FLAT) diff --git a/scm/define-music-types.scm b/scm/define-music-types.scm index d736bfebb1..3bad4d832c 100644 --- a/scm/define-music-types.scm +++ b/scm/define-music-types.scm @@ -660,7 +660,7 @@ Syntax: @code{\\\\}") (define-safe-public (make-music name . music-properties) "Create a music object of given name, and set its properties -according to @code{music-properties}, a list of alterning property symbols +according to @code{music-properties}, a list of alternating property symbols and values. E.g: (make-music 'OverrideProperty 'symbol 'Stem @@ -690,6 +690,6 @@ and values. E.g: (cdr handle) (begin (ly:warning (_ "unknown repeat type `~S'") name) - (ly:warning (_ "See music-types.scm for supported repeats")) + (ly:warning (_ "See define-music-types.scm for supported repeats")) 'VoltaRepeatedMusic)))) (make-music music-name)))