+pl 43.crypton1
+ - bf: repeat :| placement + core dump
+ input/test/repeat.ly
+ input/test/coda-kludge.ly
+ - bf: mf without ljfour
+
pl 43.jcn1
- configure, set-lily.sh, release stuff
. * ps/lily.ps see comments.
. * devise standard for functioning of Vertical_align_element.
. * midi key.
-
+. * Repeats
+. * unfold broken:
+. * without alternatives: repeat unfold 4 { a b c d }
+. * count > alternatives: repeat unfold 79 { a b c d }
+\alternative { { c c c c } { d d d d } }
+. * kind of 'initial property' iso fold/volta(semi)/unfold strings
. * fix singleStaffBracket
. * declare performers in \midi
. * fix MIDI
MAJOR_VERSION=1
MINOR_VERSION=1
PATCH_LEVEL=43
-MY_PATCH_LEVEL=jcn1
+MY_PATCH_LEVEL=crypton1
# use the above to send patches: MY_PATCH_LEVEL is always empty for a
# released version.
AC_CHECK_PROGS(METAPOST, mp, no)
if test "x$METAPOST" = "xno"; then
AC_CHECK_PROGS(MPOST, mpost, -echo no mp or mpost)
+
METAPOST=$MPOST
fi
INIMETAPOST=$INIMPOST
fi
+ AC_MSG_CHECKING(for working metafont mode)
+ modelist='ljfour lj4 lj3 lj2 ljet laserjet'
+ for MFMODE in $modelist; do
+ $METAFONT "\mode:=$MFMODE; mode_setup; end." > /dev/null 2>&1
+ if test -f mfput.tfm; then
+ break;
+ fi
+ done
+ rm -f mfput.*
+ AC_MSG_RESULT($MFMODE)
+
AC_SUBST(METAFONT)
AC_SUBST(METAPOST)
+ AC_SUBST(MFMODE)
AC_SUBST(INIMETAFONT)
AC_SUBST(INIMETAPOST)
])
LN = @LN@
LN_S = @LN_S@
METAFONT = @METAFONT@
+MFMODE = @MFMODE@
METAPOST = @METAPOST@
MSGFMT = @MSGFMT@
PATHSEP = @PATHSEP@
done
rm -f afm; ln -sf $LILYPONDPREFIX/mf/out afm
rm -f tfm; ln -sf $LILYPONDPREFIX/mf/out tfm
-rm -f cmtfm; ln -sf `dirname $TEX_TFMDIR` cmtfm
+rm -f cmtfm; ln -sf $TEX_TFMDIR cmtfm
AC_MSG_RESULT(ok)
AC_STEPMAKE_END
--- /dev/null
+\score{
+ \context Staff \notes\relative c'{
+ % compare this to 'semi' with numbered voltas:
+ % 1-3: alternative 1
+ % 4: alternative 2
+ \repeat unfold 4 { g a b c }
+ \alternative {
+ { c c c c }
+ { d d d d }
+ }
+ }
+}
--- /dev/null
+\score{
+ \context Staff \notes\relative c'{
+ \repeat unfold 4 { g a b c }
+ }
+}
c c c c
% coda-klugde: let volta span only one bar
\property Staff.voltaSpannerDuration = "1"
- \repeat 5 { d d d d }
+ \repeat semi 5 { d d d d }
\alternative { { e e e e f f f f }
{ g g g g } }
}
\context Lyrics \lyrics{
intro1
- \repeat 5 {}
- \alternative <
+ \repeat fold 5 {}
+ \alternative {
{ chorus1 one verse1 }
{ chorus1 two verse1 }
{ chorus1 three verse }
{ chorus1 four verse }
- >
+ }
five1
}
>
}
>
}
-
-\version "1.0.16";
{
if (New_repeated_music* r = dynamic_cast<New_repeated_music *> (m))
{
+ if (!r->semi_fold_b_)
+ return true;
+
Music_sequence* alt = r->alternatives_p_;
Moment repeat_length_mom = r->repeat_body_p_->length_mom ();
Moment stop_mom = now_mom () + repeat_length_mom;
Moment alt_mom = now_mom () + repeat_length_mom;
+
+ /*
+ if there's a repeat block, we'll need a stop-repeat :|
+ */
if (repeat_length_mom)
{
- stop_mom += r->alternatives_length_mom ();
+ /*
+ if there are alternatives, the :| comes before last alternative
+ (only for semi-unfolded, but otherwise we're not here anyway?)
+ */
+ if (alt)
+ {
+ for (Cons<Music> *i (alt->music_p_list_p_->head_); i && i->next_; i = i->next_)
+ {
+ stop_mom += i->car_->length_mom ();
+ if (r->fold_b_)
+ break;
+ }
+ }
repeated_music_arr_.push (r);
stop_mom_arr_.push (stop_mom);
}
if (prop.length_i ())
span_mom = prop.to_rat ();
+ if (!alt)
+ return true;
+
int alt_i = r->repeats_i_ + 1 - cons_list_size_i (alt->music_p_list_p_->head_ ) >? 1;
for (Cons<Music> *i = alt->music_p_list_p_->head_; i ; i = i->next_)
{
% -*- Fundamental -*-
accreg_dot_size# := .5interline#;
-accreg_linethickness# := 1.3stafflinethickness#;
+
+% 'strange turning path' in accBayanbase:
+% mf '\mode=laserjet; input feta11'
+% accreg_linethickness# := 1.3stafflinethickness#;
+
+% so, do thinner lines, for now
+accreg_linethickness# := 1.2stafflinethickness#;
% This dimention is the same on all registersymbols.
% The different symbols should calculate their other
AC_CHECK_PROGS(METAPOST, mp, no)
if test "x$METAPOST" = "xno"; then
AC_CHECK_PROGS(MPOST, mpost, -echo no mp or mpost)
+
METAPOST=$MPOST
fi
INIMETAPOST=$INIMPOST
fi
+ AC_MSG_CHECKING(for working metafont mode)
+ modelist='ljfour lj4 lj3 lj2 ljet laserjet'
+ for MFMODE in $modelist; do
+ $METAFONT "\mode:=$MFMODE; mode_setup; end." > /dev/null 2>&1
+ if test -f mfput.tfm; then
+ break;
+ fi
+ done
+ rm -f mfput.*
+ AC_MSG_RESULT($MFMODE)
+
AC_SUBST(METAFONT)
AC_SUBST(METAPOST)
+ AC_SUBST(MFMODE)
AC_SUBST(INIMETAFONT)
AC_SUBST(INIMETAPOST)
])
rm $(basename $< ).*gf
$(outdir)/%.tfm: %.mf
- $(METAFONT) '\mode:=ljfour; input $<;'
+ $(METAFONT) "\mode:=$(MFMODE); input $<;"
mv $(@F) $(outdir)
rm $(basename $<).*gf $(basename $<).*log