+2002-06-05 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+
+ * lily/beam.cc (shift_region_to_valid): fix stupido bug.
+
+ * buildscripts/lilypond-profile.sh: override settings if
+ LILYPONDPREFIX is set.
+
2002-06-04 Mats Bengtsson <mats.bengtsson@s3.kth.se>
* scripts/ly2dvi.py (non_path_environment): Fix typo
# If run by hand or from you .profile, run as follows
# . lilypond-profile
-datadir=`echo "@datadir@" | sed 's!//!/!g'`
+if [ "$LILYPONDPREFIX" == "" ] ; then
+ datadir=`echo "@datadir@" | sed 's!//!/!g'`
+else
+
+## to support development from ~/usr/src/lilypon.
+ datadir=$LILYPONDPREFIX
+fi
+
# For direct ps output: ps/lilyponddefs.ps
GS_LIB="$datadir/ps:"${GS_LIB:=""}
export GS_LIB
-# bit silly. for ly2dvi, overrules compiled-in datadir...
-# Better comment this out. Compiled-in datadir serves exactly the
-# same purpose, but is more likely to be correct (think multiple
-# versions of lilypond).
-# LILYPONDPREFIX="$datadir"
-# export LILYPONDPREFIX
# Add the installation directory to the teTeX system tree,
# see Documentation/misc/fontinstallation
Direction d = Stem::get_direction (s);
- /*
- TODO: use real beam space function
- */
Real left_y = Stem::calc_stem_info (s).shortest_y_
- - dydx * (x_posns [i] - x0);
+ - dydx * x_posns [i];
Interval flp ;
flp.set_full ();