]> git.donarmstrong.com Git - lilypond.git/commitdiff
* scripts/lilypond-book.py (option_definitions): typo
authorhanwen <hanwen>
Wed, 23 Jul 2003 11:13:12 +0000 (11:13 +0000)
committerhanwen <hanwen>
Wed, 23 Jul 2003 11:13:12 +0000 (11:13 +0000)
* scripts/ly2dvi.py (include_path): typo

* make/lilypond.redhat.spec.in (Group): add INSTALL.txt

* lily/parse-scm.cc (parse_handler): typo

* Documentation/user/refman.itely: updates, fixes.

14 files changed:
ChangeLog
Documentation/user/invoking.itexi
Documentation/user/lilypond.tely
Documentation/user/refman.itely
Documentation/user/tutorial.itely
GNUmakefile.in
lily/parse-scm.cc
lily/piano-pedal-engraver.cc
lily/text-spanner.cc
lily/volta-bracket.cc
lily/volta-engraver.cc
make/lilypond.redhat.spec.in
scripts/lilypond-book.py
scripts/ly2dvi.py

index 17d9625052da2b1627d7d1be4756141fdca0a7b0..aa1f43b7547e496404cf1938ecbdb4af8a33d307 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2003-07-23  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
+
+       * scripts/lilypond-book.py (option_definitions): typo
+
+       * scripts/ly2dvi.py (include_path): typo
+
+       * make/lilypond.redhat.spec.in (Group): add INSTALL.txt
+
+       * lily/parse-scm.cc (parse_handler): typo
+
+       * Documentation/user/macros.itexi: use @heading for headings.
+
+       * Documentation/user/refman.itely: updates, fixes.
+
 2003-07-23  Heikki Junes  <hjunes@cc.hut.fi>
 
        * po/fi.po: add Finnish translations.
@@ -6,6 +20,9 @@
 
 2003-07-23  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
 
+       * lily/volta-bracket.cc (brew_molecule): opps: only wipe number
+       for non-first _broken_ bracket.
+
        * Documentation/user/refman.itely: corrections.
 
 2003-07-22  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
index 9d36cf4ceb600d66e3b2fcda5d091618e9d31d88..feaa644aafe3b72b40480284344c6560448d2b09 100644 (file)
@@ -280,11 +280,11 @@ column location.
 @c move this elsewhere?
 
 There is also support for emacs: lilypond-mode for emacs provides
-keyword autocompletion, indentation, LilyPond specific parenthesis matching
-and syntax coloring, handy compile short-cuts and reading LilyPond manuals 
-using Info.  If lilypond-mode
-is not installed on your platform, then refer to the installation
-instructions for more information.
+keyword autocompletion, indentation, LilyPond specific parenthesis
+matching and syntax coloring, handy compile short-cuts and reading
+LilyPond manuals using Info.  If lilypond-mode is not installed on
+your platform, then refer to the installation instructions for more
+information.
 
 @cindex emacs
 @cindex emacs mode
index 3408107b0f36c9734ccbf9ae2c6f11a8cc57b023..844c805fe046354b39d67e12ffc197cf64392611 100644 (file)
@@ -61,6 +61,8 @@ besides the reader and the writer.
 print. Instead refer to an example input file (@inputfileref), these
 are clickable in HTML.
 
+* abbrevs in caps, e.g. HTML, DVI, MIDI, etc.
+
 @end ignore
 
 @ifhtml
index 8632c1d54d2d98447061eee2ca005f15cb2578b8..06e7ef03699efcf6907fab7274fc41b427143a13 100644 (file)
@@ -1588,7 +1588,7 @@ some of them are typeset as cautionaries.
 @item \forgetAccidentals
       @cindex @code{\forgetAccidentals}
       This is sort of the opposite of @code{\noResetKey}: Accidentals
-      are not remembered at all - and hence all accidentals are
+      are not remembered at all---and hence all accidentals are
       typeset relative to the key signature, regardless of what was
       before in the music:
 @lilypond[singleline,fragment,verbatim,relative]
@@ -1758,8 +1758,8 @@ stems might look better:
 @refbugs
 
 Producing nice slurs is a difficult problem, and LilyPond currently
-uses a simple, empiric method to produce slurs. In some cases, the
-results of this method are ugly.
+uses a simple, empiric method to produce slurs. In some cases, its
+results are ugly.
 
 
 @cindex Adjusting slurs
@@ -1812,7 +1812,7 @@ slurs. Putting phrasing slurs over rests leads to spurious warnings.
 Breath marks are entered using @code{\breathe}.
 
 
-@lilypond[fragment,relative]
+@lilypond[fragment,relative,verbatim]
 c'4 \breathe d4
 @end lilypond
 
@@ -1914,13 +1914,6 @@ To use this, add the @internalsref{Horizontal_bracket_engraver} to
 @internalsref{HorizontalBracket}, @internalsref{NoteGroupingEvent},
 @inputfileref{input/regression,note-group-bracket.ly}. 
 
-@refbugs
-
-Bracket endings should be angled/slanted. (TODO)
-
-
-
 
 @node Articulations
 @section Articulations
@@ -1948,8 +1941,8 @@ put them up:
 
 
 Other symbols can be added using the syntax
-@var{note}@code{-\}@var{name}. Again, they can be forced up or down
-using @code{^} and @code{_}.
+@var{note}@code{-\}@var{name}, e.g. @code{c4-\fermata}. Again, they
+can be forced up or down using @code{^} and @code{_}.
 
 @cindex accent
 @cindex marcato
@@ -2031,17 +2024,20 @@ played with your thumb (used in cello music):
       <<c'' c'''-3>>-(_\thumb <<d'' d'''-3>>-)_\thumb-]
 @end lilypond
 
-Fingering for chords can be notated like this:
-
-@c TODO: confusing example. 
+Fingerings for chords can also be added to individual notes
+of the chord by adding them after the pitches
 @lilypond[verbatim,singleline,fragment,relative=1]
         << c-1  e-2 g-3 b-5 >> 4
+@end lilypond
+
+Setting @code{fingerHorizontalDirection} will put the fingerings next
+to the note head.
+
+@lilypond[verbatim,singleline,fragment,relative=1]
        \property Voice.fingerHorizontalDirection = #LEFT
-       << c-1  es-3 g-5 >> 4
+       << c-1  es-2 g-4 bes-5 >> 4
        \property Voice.fingerHorizontalDirection = #RIGHT
-       << c-1  e-2 g-3 b-5 >>4
-       \property Voice.fingerHorizontalDirection = #LEFT
-       << c_1  e-2 g-3 b^5 >>4
+       << c-1  es-2 g-4 bes-5 >> 4
 @end lilypond
         
 @seealso
@@ -2482,10 +2478,9 @@ example file @inputfileref{input/test,unfold-all-repeats.ly}.
 @refbugs
 
 Timing information is not remembered at the start of an alternative,
-so you have to reset timing information after a repeat, e.g. using a
-bar-check (See @ref{Bar check}), setting @code{Score.measurePosition}
-or entering @code{\partial}.  Similarly, slurs or ties are also not
-repeated.
+so after a repeat timing information must be reset by hand, for
+example by setting @code{Score.measurePosition} or entering
+@code{\partial}.  Similarly, slurs or ties are also not repeated.
 
 
 @node Manual repeat commands
@@ -2497,18 +2492,18 @@ The property @code{repeatCommands} can be used to control the layout of
 repeats. Its value is a Scheme list of repeat commands, where each repeat
 command can be
 
-@table @code
-@item 'start-repeat
- Print a |: bar line
-@item 'end-repeat
Print a :| bar line
-@item (volta . @var{text})
Print a volta bracket saying @var{text}. The text can be specified as
+@table @asis
+@item the symbol @code{start-repeat},
+  which prints a @code{|:} bar line.
+@item The symbol @code{end-repeat},
 which prints a @code{:|} bar line
+@item The list @code{(volta @var{text})}
 which prints a volta bracket saying @var{text}. The text can be specified as
 a text string or as a markup text, see @ref{Text markup}. Do not
 forget to change the font, as the default number font does not contain
 alphabetic characters.
-@item (volta . #f) 
Stop a running volta bracket
+@item The list @code{(volta #f)}, which 
 stops a running volta bracket
 @end table
 
 @lilypond[verbatim, fragment]
@@ -2546,13 +2541,14 @@ style.
 
 @seealso
 
-Tremolo beams are @internalsref{Beam} objects. Single stem tremolos are
-@internalsref{StemTremolo}.  @internalsref{TremoloEvent}.
+Tremolo beams are @internalsref{Beam} objects. Single stem tremolos
+are @internalsref{StemTremolo}.  The music expression is
+@internalsref{TremoloEvent}.
 
 
 @refbugs
 
-The single stem tremolo @emph{must} be entered without @code{@{} and
+The single stem tremolo must be entered without @code{@{} and
 @code{@}}.
 
 @node Tremolo subdivisions
@@ -2601,9 +2597,6 @@ patterns that divide the measure length are replaced by slashes.
 @internalsref{DoublePercentRepeat}.
 
 
-@refbugs
-
-Single measure and double measure percent-repeats cannot be nested.
 
 @node Rhythmic music
 @section Rhythmic music
@@ -2629,15 +2622,15 @@ staff are squashed, and the staff itself has a single line:
 @cindex percussion
 @cindex drums
 
-To typeset more than one piece of percussion to be played by the same
-musician one typically uses a multiline staff where each staff
-position refers to a specific piece of percussion.
+A percussion part for more than one instrument typically uses a
+multiline staff where each position in the staff refers to one piece
+of percussion.
 
 @syntax
 
 Percussion staves are typeset with help of a set of Scheme
 functions. The system is based on the general MIDI drum-pitches.
-Include @file{ly/drumpitch-init.ly} to use drum pitches. This file
+Include @file{drumpitch-init.ly} to use drum pitches. This file
 defines the pitches from the Scheme variable @code{drum-pitch-names},
 the definition of which can be read in @file{scm/drums.scm}.  Each
 piece of percussion has a full name and an abbreviated name, and both
@@ -2858,10 +2851,10 @@ To use a modified existing list, one can prepend modifications to the
 the existing list:
 
 @example
-#(define mydrums (append `(
+#(set-drum-kit mydrums (append `(
    (bassdrum default #f ,(ly:make-pitch -1 2 0))
    (lowtom   diamond #f ,(ly:make-pitch -1 6 0))
-) drums ))
+) (get-drum-kit 'drums)))
 @end example
 
 The file @file{drumpitch-init.ly} replaces the normal pitch names, so
@@ -2886,15 +2879,15 @@ bass = \notes \transpose c c,, { a4. e8 r e g e }
 }
 @end lilypond
 
-@node Percussion midi output
-@subsection Percussion midi output
+@node Percussion MIDI output
+@subsection Percussion MIDI output
 
-In order to produce correct midi output you need to produce two score
-blocks---one for the paper and one for the midi output.  To use the
+In order to produce correct MIDI output you need to produce two score
+blocks---one for the paper and one for the MIDI output.  To use the
 percussion channel you set the property @code{instrument} to
-@code{'drums}. Because the drum-pitches themself are similar to the
-general midi pitches all you have to do is to insert the voices with
-none of the scheme functions to get the correct midi output:
+@code{'drums}. Because the drum-pitches themselves are similar to the
+general MIDI pitches all you have to do is to insert the voices with
+none of the scheme functions to get the correct MIDI output:
 
 @example
 \score @{    
@@ -2916,7 +2909,7 @@ none of the scheme functions to get the correct midi output:
 
 @refbugs
 
-This scheme is to be considered a temporary implementation.
+This scheme is a temporary implementation.
 
 
 @node Piano music
@@ -2968,7 +2961,7 @@ staff. The syntax for this is
   \autochange Staff \context Voice @{ @dots{}@var{music}@dots{} @}
 @end example        
 The autochanger switches on basis of pitch (central C is the turning
-point), and it looks ahead skipping over rests to switch rests in
+point), and it looks ahead skipping over rests to switch in
 advance. Here is a practical example:
         
 @lilypond[verbatim,singleline,quote]
@@ -2981,7 +2974,9 @@ advance. Here is a practical example:
        s1*2
 } > }
 @end lilypond
-Spacer rests are used to prevent the bottom staff from
+
+@noindent
+In this example, spacer rests are used to prevent the bottom staff from
 terminating too soon.
 
 
@@ -3002,6 +2997,8 @@ Voices can be switched between staves manually, using the following command:
 @example
   \translator Staff = @var{staffname} @var{music}
 @end example
+
+@noindent
 The string @var{staffname} is the name of the staff. It switches the
 current voice from its current staff to the Staff called
 @var{staffname}. Typically @var{staffname} is @code{"up"} or
@@ -3022,16 +3019,20 @@ Piano pedal instruction can be expressed by attaching
 @code{\treCorde}, @code{\sostenutoDown} and @code{\sostenutoUp} to a
 note or chord.
 
-The symbols that are printed can be modified by setting
-@code{pedal@var{X}Strings}, where @var{X} is one of the pedal types:
-Sustain, Sostenuto or UnaCorda.  Refer to the generated documentation
-of @internalsref{SustainPedal} for more information.
+@lilypond[fragment,verbatim]
+  c'4-\sustainDown c'4-\sustainUp
+@end lilypond
+
+What is printed can be modified by setting @code{pedal@var{X}Strings},
+where @var{X} is one of the pedal types: @code{Sustain},
+@code{Sostenuto} or @code{UnaCorda}.  Refer to the generated
+documentation of @internalsref{SustainPedal} for more information.
 
 Pedals can also be indicated by a sequence of brackets, by setting the 
 @code{pedal-type} property of @internalsref{SustainPedal} objects: 
 
 @lilypond[fragment,verbatim]
-\property Staff.SustainPedal \override #'pedal-type = #'bracket
+ \property Staff.SustainPedal \override #'pedal-type = #'bracket
  c''4-\sustainDown d''4 e''4
  a'4-\sustainUp-\sustainDown
  f'4 g'4 a'4-\sustainUp
index 992fbef1b0630a1c37dbcd90a67f75975215db42..977264ec609a4bc6b40b333c9e0347ceb97fe3d9 100644 (file)
@@ -263,9 +263,12 @@ yourself, read this section.  The instructions that follow are for
 Unix-like systems.  Some additional instructions for Microsoft Windows
 are given at the end of this section.
 
-Begin by opening a terminal window and starting a text editor.
-For example, you could open an xterm and execute @code{joe}.  In your
-text editor, enter the following input and save the file as
+Begin by opening a terminal window and starting a text editor.  For
+example, you could open an xterm and execute
+@code{joe}.@footnote{There are macro files for VIM addicts, and there
+is a @code{LilyPond-mode} for Emacs addicts. If it has not been
+installed already, then refer to the file @file{INSTALL.txt}}.  In
+your text editor, enter the following input and save the file as
 @file{test.ly}:
 
 @quotation
@@ -1516,6 +1519,7 @@ The @code{padding} property for objects with
 symbols that are printed above or below notes. We only give an
 example; a more elaborate explanation is in @ref{Constructing a
 tweak}.
+
 @lilypond[relative 1]
   c2-\fermata
   \property Voice.Script \set #'padding = #3
index 6634020273839ca73979d6512082da14fd39e8ee..8e91cc47cc23c2a9b7623f6f423100681ba8f11f 100644 (file)
@@ -62,7 +62,7 @@ local-WWW-post:
                $(web-ext:%=-path '*/out-www/*.%' -or) -false \
                > $(outdir)/weblist
        echo '<META HTTP-EQUIV="refresh" content="2;URL=Documentation/out-www/">' > $(builddir)/index.html
-       cd $(builddir) && ls *.png *.html >> $(outdir)/weblist
+       cd $(builddir) && ls *.html >> $(outdir)/weblist
        cat $(outdir)/weblist | (cd $(builddir); GZIP=-9v tar -czf $(outdir)/web.tar.gz  -T -)
 
 src-ext = c cc yy ll hh icc py scm tex ps texi itexi tely itely sh
index e65e4455110faf1510620829e6466ebf259ce920..3204dec58a3216116ec4d4cf2648272eeff6383d 100644 (file)
@@ -76,7 +76,7 @@ parse_handler (void * data, SCM tag, SCM args)
 {
   Parse_start* ps = (Parse_start*) data;
 
-  ps->start_location_.error (_("GUILE signaled an error for the expression begining here"));
+  ps->start_location_.error (_("GUILE signaled an error for the expression beginning here"));
 
   if (scm_ilength (args) > 2)
     scm_display_error_message (gh_cadr (args), gh_caddr(args), scm_current_error_port());
index 85f7ce27cc4247c31f8204078b5d9d9cb4656269..31084a1e26bb8034847f28e8d626c67b1620e731 100644 (file)
@@ -61,18 +61,18 @@ private:
   /*
     Record a stack of the current pedal spanners, so if more than one pedal
     occurs simultaneously then extra space can be added between them.
-
-
-    Why 4, why not 3. Why not 3423 ?  ---hwn.
   */
   
-  Spanner *previous_ [4];
+  Link_array<Spanner> previous_;
   
   int spanner_count_;
 
   /*
     Left and right flare widths of a \___/, as specified by the grob
     property edge-widen.
+
+    UGR. No GC protection.
+    
    */
   Drul_array<SCM> edge_width_drul_;
   
@@ -94,9 +94,7 @@ Piano_pedal_engraver::initialize ()
   Pedal_info *p = info_list_;
 
   spanner_count_ = 0;
-  for (int i = 0; i < 3; ++i)
-    previous_[i] = 0; 
-
+  previous_.clear ();
 
   char * names [] = { "Sostenuto", "Sustain", "UnaCorda", 0  };
   char **np = names ;
@@ -224,73 +222,92 @@ Piano_pedal_engraver::create_text_grobs (Pedal_info *p, SCM pedaltype)
   SCM s = SCM_EOL;
   SCM strings = get_property ( ("pedal" + String (p->name_) + "Strings").to_str0 ());
 
-  if (scm_ilength (strings) >= 3)
+  if (scm_ilength (strings) < 3)
     {
-      if (p->req_l_drul_[STOP] && p->req_l_drul_[START]) 
+      Music * m =       p->req_l_drul_[START]; 
+      if (!m) m = p->req_l_drul_ [STOP];
+
+      String msg = _ ("Need 3 strings for piano pedals. No pedal made. ");
+      if (m)
+       m->origin().warning (msg);
+      else
+       warning (msg)
+      
+      return ;
+    }
+
+  
+  if (p->req_l_drul_[STOP] && p->req_l_drul_[START]) 
+    {
+      if (pedaltype == ly_symbol2scm ("text")) 
        {
-         if (pedaltype == ly_symbol2scm ("text")) 
+         if (!p->start_req_)
            {
-             if (!p->start_req_)
-               {
-                 p->req_l_drul_[STOP]->origin ()->warning (_f ("can't find start of piano pedal: `%s'",  p->name_));
-               }
-             else
-               {
-                 s = ly_cadr (strings);
-               }
-             p->start_req_ = p->req_l_drul_[START];
+             p->req_l_drul_[STOP]->origin ()->warning (_f ("can't find start of piano pedal: `%s'",  p->name_));
            }
-       }
-      else if (p->req_l_drul_[STOP])
-       { 
-         if (pedaltype == ly_symbol2scm ("text"))
+         else
            {
-             if (!p->start_req_)
-               {
-                 p->req_l_drul_[STOP]->origin ()->warning (_f ("can't find start of piano pedal: `%s'", p->name_));
-               }
-             else
-               {
-                 s = ly_caddr (strings);
-                 spanner_count_ --;
-               }
-             p->start_req_ = 0;
+             s = ly_cadr (strings);
            }
+         p->start_req_ = p->req_l_drul_[START];
        }
-      else if (p->req_l_drul_[START])
+    }
+  else if (p->req_l_drul_[STOP])
+    { 
+      if (pedaltype == ly_symbol2scm ("text"))
        {
-         p->start_req_ = p->req_l_drul_[START];
-         s = ly_car (strings);
-         if (pedaltype == ly_symbol2scm ("text"))
+         if (!p->start_req_)
            {
-             spanner_count_ ++;
-             previous_[spanner_count_] = p->line_spanner_;
-             if (spanner_count_ > 1)
-               // add extra space below the previous already-occuring pedal
-               Side_position_interface::add_support (p->line_spanner_,
-                                                    previous_[spanner_count_ - 1]);
+             p->req_l_drul_[STOP]->origin ()->warning (_f ("can't find start of piano pedal: `%s'", p->name_));
            }
+         else
+           {
+             s = ly_caddr (strings);
+             spanner_count_ --;
+             if (previous_.size ())
+               previous_.pop();
+           }
+         p->start_req_ = 0;
        }
-      
-      if (gh_string_p (s))
+    }
+  else if (p->req_l_drul_[START])
+    {
+      p->start_req_ = p->req_l_drul_[START];
+      s = ly_car (strings);
+      if (pedaltype == ly_symbol2scm ("text"))
        {
-         String propname = String (p->name_) + "Pedal";
-         b = get_property (propname.to_str0 ());
-         p->item_ = new Item (b);
-         p->item_->set_grob_property ("text", s);
-         Axis_group_interface::add_element (p->line_spanner_, p->item_);
+         spanner_count_ ++;
+
+         /*
+           Code dup?! see below.
+         */
+         if (previous_.size ())
+           // add extra space below the previous already-occuring pedal
+           Side_position_interface::add_support (p->line_spanner_,
+                                                 previous_.top ());
+         previous_.push ( p->line_spanner_);
+       }
+    }
+      
+  if (gh_string_p (s))
+    {
+      String propname = String (p->name_) + "Pedal";
+      b = get_property (propname.to_str0 ());
+      p->item_ = new Item (b);
+      p->item_->set_grob_property ("text", s);
+      Axis_group_interface::add_element (p->line_spanner_, p->item_);
          
-         announce_grob (p->item_,
-                        (p->req_l_drul_[START]
-                        ? p->req_l_drul_[START]
-                        : p->req_l_drul_[STOP])->self_scm ());
+      announce_grob (p->item_,
+                    (p->req_l_drul_[START]
+                     ? p->req_l_drul_[START]
+                     : p->req_l_drul_[STOP])->self_scm ());
          
-       }
-      if (pedaltype == ly_symbol2scm ("text")) 
-       {
-         p->req_l_drul_[START] = 0;
-         p->req_l_drul_[STOP] = 0;
-       }
+    }
+
+  if (pedaltype == ly_symbol2scm ("text")) 
+    {
+      p->req_l_drul_[START] = 0;
+      p->req_l_drul_[STOP] = 0;
     }
 }
 
@@ -305,8 +322,12 @@ Piano_pedal_engraver::create_bracket_grobs (Pedal_info *p, SCM pedaltype)
          p->req_l_drul_[STOP]->origin ()->warning (_f ("can't find start of piano pedal: `%s'", p->name_));
        }
       else if (!p->req_l_drul_[START])
-       spanner_count_ -- ;
-
+       {
+         spanner_count_ -- ;
+         if (previous_.size())
+           previous_.pop();
+       }
+      
       assert (!p->finished_bracket_ && p->bracket_);
 
       Grob *cmc = unsmob_grob (get_property ("currentMusicalColumn"));
@@ -339,6 +360,14 @@ Piano_pedal_engraver::create_bracket_grobs (Pedal_info *p, SCM pedaltype)
       */
 
       SCM ew = p->bracket_->get_grob_property ("edge-widen");
+
+      /*
+       WTF is this doing here?
+
+       This must go to the backend.
+
+       --HWN.
+       */
       edge_width_drul_[LEFT] =  ly_car (ew);
       edge_width_drul_[RIGHT] = ly_cdr (ew);
       
@@ -372,12 +401,16 @@ Piano_pedal_engraver::create_bracket_grobs (Pedal_info *p, SCM pedaltype)
 
       if (!p->req_l_drul_[STOP])
        {
-         spanner_count_ ++;
-         previous_[spanner_count_] = p->line_spanner_; 
 
-         if (spanner_count_ > 1) 
+         /*
+           code dup.
+          */
+         spanner_count_ ++;
+         if (previous_.size()) 
            // position new pedal spanner below the current one
-           Side_position_interface::add_support (p->line_spanner_, previous_[spanner_count_ - 1]);
+           Side_position_interface::add_support (p->line_spanner_, previous_.top());
+
+         previous_.push (p->line_spanner_);    
        }
     }
 
index 254ee1fe29e6cde31af8b9d6f2d5af7844b461f0..8432a6cd760d0ac791989b28705d21dc816fe5ab 100644 (file)
@@ -187,6 +187,15 @@ Text_spanner::brew_molecule (SCM smob)
 
   Perhaps make separate function for pedal-bracket.
  */
+/*
+  UGH UGH UGH .
+
+  This is broken broken.
+
+  All the tweak props should be unnecessary.
+
+  This should not be linked with Text_spanner.
+ */
 
 void 
 Text_spanner::setup_pedal_bracket(Spanner *me)
@@ -211,7 +220,7 @@ Text_spanner::setup_pedal_bracket(Spanner *me)
   Interval e;
   Real padding = 0;
 
-  if (gh_number_p (pa) )
+  if (gh_number_p (pa))
     padding = gh_scm2double (pa);
 
   do
@@ -226,11 +235,11 @@ Text_spanner::setup_pedal_bracket(Spanner *me)
       width[d]  =  0;
       height[d] =  0;
       shorten[d] = 0;
-      if ( ly_number_pair_p (ew) )
+      if (ly_number_pair_p (ew))
        width[d] +=  gh_scm2double (index_get_cell (ew, d));
-      if ( !broken[d] && (ly_number_pair_p (eh) ) )
+      if (!broken[d] && (ly_number_pair_p (eh)))
        height[d] += gh_scm2double (index_get_cell (eh, d));
-      if ( ly_number_pair_p (sp) )
+      if (ly_number_pair_p (sp))
        shorten[d] +=  gh_scm2double (index_get_cell (sp, d));
     }
   while (flip (&d) != LEFT);
@@ -238,7 +247,7 @@ Text_spanner::setup_pedal_bracket(Spanner *me)
   Real extra_short = 0;
   // For 'Mixed' style pedals, i.e.  a bracket preceded by text:  Ped._____|
   // need to shorten by the extent of the text grob
-  if ( to_boolean (me->get_grob_property ("text-start")) )
+  if (to_boolean (me->get_grob_property ("text-start")))
     {
       height[LEFT] = 0;
       extra_short = padding;
index 6cf4f8127f7388e683c920648faf75c4cb1d2c74..ed7f4193d9aebc6233cfa638077051d259467dd6 100644 (file)
@@ -44,12 +44,12 @@ Volta_bracket_interface::brew_molecule (SCM smob)
 
   Spanner *orig_span =  dynamic_cast<Spanner*> (me->original_);
 
-  bool first_bracket = orig_span && (orig_span->broken_intos_[0] == (Spanner*)me);
-  
-  bool last_bracket = orig_span && (orig_span->broken_intos_.top () == (Spanner*)me);
+  bool broken_first_bracket = orig_span && (orig_span->broken_intos_[0] == (Spanner*)me);
+
+  bool broken_last_bracket = orig_span && (orig_span->broken_intos_.top () == (Spanner*)me);
 
-  bool no_vertical_start = orig_span && !first_bracket;
-  bool no_vertical_end = orig_span && !last_bracket;
+  bool no_vertical_start = orig_span && !broken_first_bracket;
+  bool no_vertical_end = orig_span && !broken_last_bracket;
   SCM s = me->get_grob_property ("bars");
   Grob * endbar =   unsmob_grob (ly_car (s));
   SCM glyph = endbar->get_grob_property("glyph");
@@ -103,7 +103,7 @@ Volta_bracket_interface::brew_molecule (SCM smob)
   mol.add_molecule (start);
   mol.add_molecule (end);
 
-  if (first_bracket)
+  if (!orig_span || broken_first_bracket)
     {
       SCM text = me->get_grob_property ("text");
       SCM properties = me->get_property_alist_chain (SCM_EOL);
index 31afb71c3969e830f63f55892f532dd0ff1b74e3..e95718b12156e896dcb099de6bea87095dd9e991 100644 (file)
@@ -83,7 +83,8 @@ Volta_engraver::process_music ()
     {
       SCM c = ly_car (cs);
 
-      if (gh_pair_p (c) && ly_car (c) == ly_symbol2scm ("volta")
+      if (gh_pair_p (c)
+         && ly_car (c) == ly_symbol2scm ("volta")
          && gh_pair_p (ly_cdr (c)))
        {
          if (ly_cadr (c) ==  SCM_BOOL_F)
index 10c068a0ff74b9c037d1df8300b135af9eb1484e..b72e0f2061430f71e2ebdfeead708a58e6ff5e31 100644 (file)
@@ -144,7 +144,7 @@ scrollkeeper-update
 %doc DEDICATION
 %doc README.txt
 %doc AUTHORS.txt
-
+%doc INSTALL.txt
 
 %if %{info}
 %{_infodir}/*
index ddb2ceab08ca497f4732d9d98f0d2a35359ccf1a..df3aba4508d816b92d25ea2e3f7692573e3de7c7 100644 (file)
@@ -124,7 +124,7 @@ option_definitions = [
        (_ ("DIM"),  '', 'default-music-fontsize', _ ("default fontsize for music.  DIM is assumed to be in points")),
        (_ ("DIM"),  '', 'default-lilypond-fontsize', _ ("deprecated, use --default-music-fontsize")),
        (_ ("OPT"), '', 'extra-options', _ ("pass OPT quoted to the lilypond command line")),
-       (_ ("DIM"), '', 'force-music-fontsize', _ ("force fontsize for all inline lilypond. DIM is assumed be to in points")),
+       (_ ("DIM"), '', 'force-music-fontsize', _ ("force fontsize for all inline lilypond. DIM is assumed to be in points")),
        (_ ("DIM"), '', 'force-lilypond-fontsize', _ ("deprecated, use --force-music-fontsize")),
        ('', 'h', 'help', _ ("this help")),
        (_ ("DIR"), 'I', 'include', _ ("include path")),
index 6ad8eac3df14066f93b9274d767bb976be4d3de6..d8133ee21427e244d5a27b0cf500e974d3113b9f 100644 (file)
@@ -913,7 +913,7 @@ if 1:
                        if verbose_p:
                                traceback.print_exc ()
                        else:
-                               ly.warning (_("Running LaTeX falied. Rerun with --verbose for a trace."))
+                               ly.warning (_("Running LaTeX failed. Rerun with --verbose for a trace."))
                                
        if page_images_p:
                ly.make_ps_images (outbase + '.ps' )