* scripts/lilypond-book.py (bindir): add bindir to $PATH.
+2006-08-08 Han-Wen Nienhuys <hanwen@lilypond.org>
+
+ * scm/translation-functions.scm (format-bass-figure): inspect stream-event.
+
+ * scripts/lilypond-book.py (bindir): add bindir to $PATH.
+
2006-08-08 Joe Neeman <joeneeman@gmail.com>
* lily/include/constrained-breaking.hh: add Line_details (Prob*)
* lily/paper-book.cc (pages): use the new page-breaking calling convention
+>>>>>>> 1.5227
2006-08-07 Erik Sandberg <mandolaerik@gmail.com>
* lily/lexer.ll, lily/source-file.cc: Add \sourcefileline command
;; Bass figures.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-(define-public (format-bass-figure figure event context)
- (let* ((fig (ly:music-property event 'figure))
+(define-public (format-bass-figure figure stream-event context)
+ (let* ((event (ly:event-property stream-event 'music-cause ))
+ (fig (ly:music-property event 'figure))
(fig-markup (if (number? figure)
;; this is not very elegant, but center-aligning all digits
# dynamic relocation, for GUB binaries.
bindir = os.path.abspath (os.path.split (sys.argv[0])[0])
+
+os.environ['PATH'] = bindir + ':' + os.environ['PATH']
for p in ['share', 'lib']:
datadir = os.path.abspath (bindir + '/../%s/lilypond/current/python/' % p)
sys.path.insert (0, datadir)