]> git.donarmstrong.com Git - lilypond.git/commitdiff
patch::: 1.1.20.jcn2: Re: patsje
authorJan Nieuwenhuizen <janneke@gnu.org>
Tue, 12 Jan 1999 15:52:47 +0000 (16:52 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Tue, 12 Jan 1999 15:52:47 +0000 (16:52 +0100)
pl 20.jcn2
- mutopia fixes; see preludes-1.ly for cross-staff beams and slurs
- bf: broken interstaff slur
- sm66: check for gmake

16 files changed:
NEWS
TODO
VERSION
aclocal.m4
config.make.in
input/test/slur-interstaff.ly
lily/encompass-info.cc
lily/include/encompass-info.hh
lily/slur.cc
mutopia/J.S.Bach/Petites-Preludes/preludes-1.ly
mutopia/J.S.Bach/Petites-Preludes/preludes-5.ly
mutopia/J.S.Bach/wtk1-fugue2.ly
stepmake/NEWS
stepmake/VERSION
stepmake/aclocal.m4
stepmake/config.make.in

diff --git a/NEWS b/NEWS
index 50c2ba76d9b000e8ea9469087283fb8625b7ab20..f873ed1d485e7b9b3b967d04904d68e98ead05fa 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,8 @@
+pl 20.jcn2
+       - mutopia fixes; see preludes-1.ly for cross-staff beams and slurs
+       - bf: broken interstaff slur
+       - sm66: check for gmake
+
 pl 20.jcn1
        - interstaff slurs v0: preludes-1.ly
        - warnings for silly interbeam settings
diff --git a/TODO b/TODO
index 31ee656807a304b91eb52e14f57e87f8667e3a47..6b95103793dfc98a7aff6bbf32623016259f9c14 100644 (file)
--- a/TODO
+++ b/TODO
@@ -47,7 +47,7 @@ BUGS:
 
        * fix:  cello suites
 
-       * fix:  petites preludes (rediculous dims)
+       * fix:  text on rests: rediculous dims
 
        * fix extender
 
@@ -68,7 +68,7 @@ BUGS:
        * gallina barlines.
 
        * fix height of / collisions with lyrics (chords), 
-          see input/test/vertical-text.ly
+          see input/test/vertical-text.ly; input/test/repeat.ly
 
        * repeat/volta:
          - one volta spanner per score
diff --git a/VERSION b/VERSION
index f5155c60a8688fd3be255eefd0dc9661b2362a25..1fe877848ddf8efddb2a9a3751cacbc9d96ed85c 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -2,7 +2,7 @@ PACKAGE_NAME=LilyPond
 MAJOR_VERSION=1
 MINOR_VERSION=1
 PATCH_LEVEL=20
-MY_PATCH_LEVEL=jcn1
+MY_PATCH_LEVEL=jcn2
 
 # use the above to send patches: MY_PATCH_LEVEL is always empty for a
 # released version.
index 15d012b7a4d0094113e7eb7b46d8d639f0e1ba18..c6bcc95f0811c63a4526207c964a4c0f09c4e8df 100644 (file)
@@ -267,10 +267,9 @@ AC_DEFUN(AC_STEPMAKE_INIT, [
     AC_SUBST(CONFIGSUFFIX)
      
     AC_CANONICAL_HOST
-    AC_CHECK_PROGS(MAKE, make, error)
+    AC_CHECK_PROGS(MAKE, make gmake, error)
     AC_CHECK_PROGS(FIND, find, error)
 
-
 dnl system supplied INSTALL is unsafe; use our own install.
 dnl    AC_PROG_INSTALL
 dnl    if test "$INSTALL" = "bin/install-sh"; then
@@ -283,10 +282,8 @@ dnl    fi
     AC_PATH_PROG(PYTHON, ${PYTHON:-python}, -echo no python)
     AC_SUBST(PYTHON)
 
-
-    AC_CHECK_SEARCH_RESULT($MAKE, GNU make,  You should install GNU make)
     if test $MAKE != "error" ; then
-       $MAKE -v| grep GNU > /dev/null
+       $MAKE -v 2> /dev/null | grep GNU > /dev/null
        if test "$?" = 1
        then
                AC_STEPMAKE_WARN(Please install *GNU* make) 
@@ -450,6 +447,7 @@ AC_DEFUN(AC_STEPMAKE_GETTEXT, [
 
 AC_DEFUN(AC_STEPMAKE_MAN, [
     AC_CHECK_PROGS(TROFF, troff, -echo no troff)
+    AC_CHECK_PROGS(TBL, tbl, cat)
 ])
 
 AC_DEFUN(AC_STEPMAKE_MSGFMT, [
index a2a43b481f36c5799fa97b00e60eb7d169f8069c..442d65c0a41b3df960cbaf59ba70d211f5e6750b 100644 (file)
@@ -53,8 +53,9 @@ MSGFMT = @MSGFMT@
 PATHSEP = @PATHSEP@
 PERL = @PERL@
 PYTHON = @PYTHON@
-TAR= @TAR@
 STRIPROFF = @STRIPROFF@
+TAR= @TAR@
+TBL = @TBL@
 TROFF = @TROFF@
 YODL= @YODL@
 YODL2HTML= @YODL2HTML@
index 2d6ccbf2818adb5ab498b451196b75c8eee02add..4670c827013193591abfbce5e11e758549b6f991 100644 (file)
@@ -1,23 +1,25 @@
 \score{
        \type GrandStaff <
        \type Staff=one \notes\relative c'{
-               \stemup c8( c \translator Staff=two \stemup c )c
-               r2
+               \stemup c4( c \translator Staff=two c )c
                \translator Staff=one
-               \stemdown c8( c \translator Staff=two \stemup c )c
-               r2
-               \stemdown c8( c \translator Staff=one \stemdown c )c
+               \stemup c4( c \translator Staff=two c )c
+               \stemup c4( c \translator Staff=one c )c
+               \translator Staff=two
+               \stemup c4( c \translator Staff=one c )c
+               \translator Staff=two
+               \stemup c4( \translator Staff=one c c )c
                r2
                \translator Staff=two
-               \stemup c8( c \translator Staff=one \stemdown c )c
+               \stemup c4( \translator Staff=one c \break c )c
                r2
+               r1
+               r1
+               r1
        }
        \type Staff=two \notes\relative c'{
                \clef bass;
-               s1
-               s1
-               s1
-               s1
+               s1 s1 s1 s1 s1 s1 s1 s1 s1 s1
        }
        >
        \paper{
@@ -28,6 +30,6 @@
                        minVerticalAlign = 3.0*\staffheight;
                        maxVerticalAlign = 3.0*\staffheight;
                }
-               linewidth=-1.;
+               %linewidth=100.\mm;
        }
 }
index f8854f0292dd91443fcf8e6987efac77a03799ea..6adca21c22cb47bda6251b862338d7b5a76bf787 100644 (file)
@@ -29,15 +29,15 @@ Encompass_info::Encompass_info (Note_column const* note, Direction dir)
   Real notewidth = paper->note_width () * 0.8;
   Real internote = interline / 2;
 
-  Stem* stem_l_ = note->stem_l_;
+  Stem* stem_l = note->stem_l_;
   /* 
     set o_.x () to middle of notehead or on the exact position of stem,
     according to slur direction
    */
-  o_.x () = stem_l_->hpos_f ();
+  o_.x () = stem_l->hpos_f ();
 
   /*
-     stem_l_->dir == dir
+     stem_l->dir == dir
                       ________
            |   |     /        \
           x|  x|       |x  |x
@@ -45,25 +45,25 @@ Encompass_info::Encompass_info (Note_column const* note, Direction dir)
 
    */
 
-  if (stem_l_->dir_ != dir)
-    o_.x () -= 0.5 * notewidth * stem_l_->dir_;
+  if (stem_l->dir_ != dir)
+    o_.x () -= 0.5 * notewidth * stem_l->dir_;
 
-  o_.y () = stem_l_->extent (Y_AXIS)[dir];
+  o_.y () = stem_l->extent (Y_AXIS)[dir];
   /*
    leave a gap: slur mustn't touch head/stem
    */
   o_.y () += 2.5 * internote * dir;
 
-  if (stem_l_->dir_ != dir)
+  if (stem_l->dir_ != dir)
     o_.y () += 1.0 * internote * dir;
 
-  Slur* slur_l_ = stem_l_->slur_l_;
+  Slur* slur_l_ = stem_l->slur_l_;
   if (slur_l_->encompass_arr_.size ()
-      && stem_l_->staff_sym_l_ != slur_l_->encompass_arr_[0]->stem_l_->staff_sym_l_)
+      && stem_l->staff_sym_l_ != slur_l_->encompass_arr_[0]->stem_l_->staff_sym_l_)
     {
-      if (stem_l_->staff_sym_l_->dim_cache_[Y_AXIS].valid_b ())
+      if (stem_l->staff_sym_l_->dim_cache_[Y_AXIS].valid_b ())
        {
-         slur_l_->interstaff_f_ = stem_l_->staff_sym_l_->absolute_coordinate (Y_AXIS)
+         interstaff_f_ = stem_l->staff_sym_l_->absolute_coordinate (Y_AXIS)
            - slur_l_->encompass_arr_[0]->stem_l_->staff_sym_l_->absolute_coordinate (Y_AXIS);
        }
       else
@@ -72,12 +72,12 @@ Encompass_info::Encompass_info (Note_column const* note, Direction dir)
          if (slur_l_->vertical_align_drul_[MIN] != 
              slur_l_->vertical_align_drul_[MAX])
            warning (_ ("minVerticalAlign != maxVerticalAlign: interstaff slurs may be broken"));
-         slur_l_->interstaff_f_ = slur_l_->vertical_align_drul_[MIN];
+         interstaff_f_ = slur_l_->vertical_align_drul_[MIN];
          // urg, guess staff order:
          // if our stem ends higher, our staff is probably lower...
-         if (stem_l_->chord_start_f () > slur_l_->encompass_arr_[0]->stem_l_->chord_start_f ())
-           slur_l_->interstaff_f_ *= -1;
+         if (stem_l->chord_start_f () > slur_l_->encompass_arr_[0]->stem_l_->chord_start_f ())
+           interstaff_f_ *= -1;
        }
-      o_.y () += slur_l_->interstaff_f_;
+      o_.y () += interstaff_f_;
     }
 }
index 511a24404d96046e0f7a66dbf59485f3f799b5ec..3b0d65f59369e9fbd0e619aa468827620c7dfec1 100644 (file)
@@ -20,6 +20,7 @@ struct Encompass_info
   Encompass_info (Note_column const*, Direction);
 
   Offset o_;
+  Real interstaff_f_;
 };
 
 #endif // ENCOMPASS_INFO_HH
index f8a0fc3672654490bc0a9ac953128b7672af47e9..e5b9f4d88d5f81336d0188cc0be6989b9067d32b 100644 (file)
@@ -265,13 +265,13 @@ Slur::get_encompass_offset_arr () const
   int last = encompass_arr_.size () - 1;
 
   // prebreak
-  if (encompass_arr_[0] != spanned_drul_[LEFT])
-    first--;
-
-  // postbreak
   if (encompass_arr_.top () != spanned_drul_[RIGHT])
     last++;
 
+  // postbreak
+  if (encompass_arr_[0] != spanned_drul_[LEFT])
+    first--;
+
   Array<Offset> notes;
   notes.push (Offset (0,0));
 
@@ -280,7 +280,19 @@ Slur::get_encompass_offset_arr () const
       Encompass_info info (encompass_arr_[i], dir_);
       notes.push (info.o_ - left);
     }
+  Encompass_info info (encompass_arr_[encompass_arr_.size () - 1], dir_);
+  // urg:
+  Slur* urg = (Slur*)this;
+  urg->interstaff_f_ = info.interstaff_f_;
   d.y () += interstaff_f_;
+
+  // prebreak
+  if (interstaff_f_ && (encompass_arr_.top () != spanned_drul_[RIGHT]))
+    {
+      Encompass_info info (encompass_arr_[encompass_arr_.size () - 1], dir_);
+      d.y () -= info.o_.y () - interstaff_f_;
+    }
+
   notes.push (d);
 
   return notes;
index bc7bd540d0021e9fa3ab6b0581ffd0e7befc28de..d544c730f772e9fef7e633e1cc925c9ba49cbf13 100644 (file)
@@ -18,17 +18,19 @@ copyright =  "public domain";
 % howto get rid of these ridiculous dimensions????
 % to view the output, subsitute 0.0 with 0.0 in the .tex file...
 
-% one = \type Voice=one \notes\relative c {
-% one = \notes\relative c {
-one = \type Staff=treble \notes\relative c {
+one = \type Voice=one \notes\relative c {
        \property Voice . textstyle =  "italic"
-       r16\p_"legato"\< [g''-1( c-3 )e-5] r [g,-1( c )e]
+% rediculous dim...
+%      r16\p_"legato"\< [g''-1( c-3 )e-5] r [g,-1( c )e]
+       r16\p\< [g''-1( c-3 )e-5] r [g,-1( c )e]
        r [g,( c )d] r [b-1( d-2 \!)g-5] |
-       r\mf [a,( d-2 ) g-5] r [a,(\< d )f-4]
+       r16\mf [a,( d-2 ) g-5] r [a,(\< d )f-4]
        r [a,( d )e-3] r [c-1( e-2 \!)a-5] |
-       r\f [b, e a-5] r [b, e-3 g-5] 
+       r16\f [b, e a-5] r [b, e-3 g-5] 
        r [c,-1 e-3 f-4] r [g, d'-3 f-5] |
-       r [g,-"poco a poco dim." d'-4 e] r [g, c-2 e]
+% all text is fat currently...
+%      r [g,-"poco a poco dim." d'-4 e] r [g, c-2 e]
+       r [g, d'-4 e] r [g, c-2 e]
        r [a,-1 c-3 d-4] r [e, b'-3 d-5] |
        r [e, b' c-4] r [e, a-2 c]
        r [f,-1 a-3 bes-4] r [c, g'-3 bes-5] |
@@ -39,17 +41,13 @@ one = \type Staff=treble \notes\relative c {
        r [b, d a'-5] r [b, d g-4]
        r [a, c g'-5] r [a, c f!-4] |
        % ugh arpeggio
-       <
+       \type Staff=treble <
                { \voiceone  f4 r }
                { \voicetwo  <g,4 d'> r }
        >
        \onevoice 
        % s
        % ugh beam across staffs slur starts at lower staff
-%      r16 [g,-1( b d] |
-%      \voiceone 
-%      )b s4 [g'16-1( b-2 d] )b s s s [f'-2 g-3 b-5 f-2] |
-%      \onevoice 
        \translator Staff=bass\stemup
        r16 [g,,-5( b-4 d ] 
        [f-1 \translator Staff=treble\stemdown g16-1 b d] | \stemup )b
@@ -78,39 +76,30 @@ one = \type Staff=treble \notes\relative c {
        [d c'-5 b-4 a] [b-4 g-2 d'-5 f,-1] |
        [g-4 e-2 f-1 d'-5] [c-4 b a g]
        [f'-5 d-3 es-4 c-2] [fis,-1 es'-4 d-3 c-2] |
-       [b-1 d-5 b-3 g-1] [as-4-"cresc. e rall." f-2 g-3 d-1]
+%      [b-1 d-5 b-3 g-1] [as-4-"cresc. e rall." f-2 g-3 d-1]
+       [b-1 d-5 b-3 g-1] [as-4 f-2 g-3 d-1]
        [es-2 fis-3 a-4 c-5] 
-       < 
+       \type Staff=treble 
                { \voiceone  r [c8 b16] }
-               %%% urg urg ?{ \voicetwo  [d,8 f-2] }
+               { \voicetwo  [d,8 f-2] }
        >
        \onevoice  |
        <c1\mf g e>
        \bar "|.";
 }
 
-% two = \notes\relative c{
-% two = \type Voice=three \notes\relative c{
-two = \type Staff=bass \notes\relative c{
+two = \type Voice=three \notes\relative c{
        \property Voice . textstyle =  "roman"
        c4-5 e-3 g-\mordent^"(\\textsharp)" g,4 |
-       d'-\mordent-5 f-3 a-\mordent^"(\\textsharp)" a,4 |
+       d'4-\mordent-5 f-3 a-\mordent^"(\\textsharp)" a,4 |
        e'-5 e'-\mordent-1 a,-4 b-\upprall |
        c4 e,-4 fis gis-\downprall |
        a4 c,-4 d e-\upprall |
        f4-1 e d-3-\prall c |
        g'-\mordent^"(\\textsharp)" g, g'-\mordent g, |
        g'-\mordent g, g'-\mordent g, |
-%      % ugh f should be at upper staff
-%      g'-\mordent r r16 [g,-5( b-4 d] )f-1 s s s |
-%      g'-\mordent r r16 [g,-5( b-4 d \translator Staff=treble )f-1 ] s s s |
-%      \translator Staff=bass
-%      s [g-5( b-4 d-2] )f-1 s s s s \clef "violin"; [g-4 b-2 d-1] 
-%      s s s s \clef bass; |
        g' r s s | s s s s \clef bass; |
-       <
-%              { \voiceone  g,,1 ~ g ~ g ~ g ~ g ~ g ~ g }
-%              { \voicetwo  g,1 ~ g ~ g ~ g ~ g ~ g ~ g }
+       \type Staff=bass <
                { \voicethree  g1 ~ g ~ g ~ g ~ g ~ g ~ g }
                { \voicefour  g,1 ~ g ~ g ~ g ~ g ~ g ~ g }
        >
@@ -128,7 +117,6 @@ treble_staff = \type Staff = treble <
 >
 
 bass_staff = \type Staff = bass <
-% bass = Staff <
        \clef "bass";
        \global
        \two
index 0a793324313f1fe66fc8f1837c1c1fb90dbe45dd..9238f1324b8efc2678b1591e707c8371ea84fa7c 100644 (file)
@@ -87,7 +87,7 @@ one = \notes\relative c{
        <
                {
                        \voiceone 
-                       f4-4\> ~ | \![f8 e] [e32-4 f e8. ~] [e8 d-3]
+                       f4-4\> ~ | [\!f8 e] [e32-4 f e8. ~] [e8 d-3]
                }
                { \voicetwo  <d4 a> r4 cis-2 }
        > |
index 946ffbe4d795a07dce0d3b385cb03a6168c0c949..3ad507b208084f3146143e20f93181a1897cff9e 100644 (file)
@@ -25,7 +25,7 @@ global = \notes {
   \bar "|."; |
 }
   
-dux = \notes \relative c''{
+dux = \type Voice=two \notes \relative c''{
   \voicetwo
   \clef violin;
 
@@ -77,7 +77,7 @@ dux = \notes \relative c''{
 }
 
 
-comes = \notes \relative c''  {
+comes = \type Voice=one \notes \relative c''  {
   \voiceone
   R1 |
   R1 |
@@ -119,9 +119,8 @@ comes = \notes \relative c''  {
 }
 
 
-bassdux = \notes \relative c' {
+bassdux = \type Voice=three \notes \relative c' {
   \clef bass;
-
   R1 |
   R |
   R |
@@ -159,12 +158,9 @@ bassdux = \notes \relative c' {
   [f,16 g] as4 [g16 f] es4 r8 es' |
   [d c g' g,]
 %%30
-  %urg
-  %using only \type Staff or \voiceone/two don't work anymore?
-  %moreover, the ties are not fooled by this anymore
-  \type Staff <
-    {\voiceone c2 ~ | c1 ~ | c1 }
-    {\voicetwo c,2 ~ | c1 ~ | c1 }
+  \type Staff=bass <
+    {\voicethree c2 ~ | c1 ~ | c1 }
+    {\voicefour c,2 ~ | c1 ~ | c1 }
   >
 }
 
index 97e21a5ad45a2914f9d8373cec32556b4428fa64..c2935e25aba7f06f44e95a91f616873864242434 100644 (file)
@@ -1,3 +1,6 @@
+pl 66
+       - check for tbl and gmake
+
 pl 65
        - unix style pathsep/dirsep for cygwin
 
index a2ba4512106c49e53d57e5f21cf876e1a501ad53..77de07ba243e5060b7f75c6d6bacc3ef363c064e 100644 (file)
@@ -1,7 +1,7 @@
 PACKAGE_NAME=StepMake
 MAJOR_VERSION=0
 MINOR_VERSION=1
-PATCH_LEVEL=65
+PATCH_LEVEL=66
 MY_PATCH_LEVEL=
 
 # use the above to send patches, always empty for released version:
index 3df8f7b6c84da5c1d67cc3897c57a8956635115c..ff733a0c2d9a3b3ce70be43f3526b7d4bd3caf5a 100644 (file)
@@ -265,10 +265,9 @@ AC_DEFUN(AC_STEPMAKE_INIT, [
     AC_SUBST(CONFIGSUFFIX)
      
     AC_CANONICAL_HOST
-    AC_CHECK_PROGS(MAKE, make, error)
+    AC_CHECK_PROGS(MAKE, make gmake, error)
     AC_CHECK_PROGS(FIND, find, error)
 
-
 dnl system supplied INSTALL is unsafe; use our own install.
 dnl    AC_PROG_INSTALL
 dnl    if test "$INSTALL" = "bin/install-sh"; then
@@ -281,10 +280,8 @@ dnl    fi
     AC_PATH_PROG(PYTHON, ${PYTHON:-python}, -echo no python)
     AC_SUBST(PYTHON)
 
-
-    AC_CHECK_SEARCH_RESULT($MAKE, GNU make,  You should install GNU make)
     if test $MAKE != "error" ; then
-       $MAKE -v| grep GNU > /dev/null
+       $MAKE -v 2> /dev/null | grep GNU > /dev/null
        if test "$?" = 1
        then
                AC_STEPMAKE_WARN(Please install *GNU* make) 
@@ -448,6 +445,7 @@ AC_DEFUN(AC_STEPMAKE_GETTEXT, [
 
 AC_DEFUN(AC_STEPMAKE_MAN, [
     AC_CHECK_PROGS(TROFF, troff, -echo no troff)
+    AC_CHECK_PROGS(TBL, tbl, cat)
 ])
 
 AC_DEFUN(AC_STEPMAKE_MSGFMT, [
index a2a43b481f36c5799fa97b00e60eb7d169f8069c..442d65c0a41b3df960cbaf59ba70d211f5e6750b 100644 (file)
@@ -53,8 +53,9 @@ MSGFMT = @MSGFMT@
 PATHSEP = @PATHSEP@
 PERL = @PERL@
 PYTHON = @PYTHON@
-TAR= @TAR@
 STRIPROFF = @STRIPROFF@
+TAR= @TAR@
+TBL = @TBL@
 TROFF = @TROFF@
 YODL= @YODL@
 YODL2HTML= @YODL2HTML@