+2003-04-13 Jan Nieuwenhuizen <janneke@gnu.org>
+
+ * scm/pdf.scm (use-modules): Include lily.
+
+ * scm/pdftex.scm (start-system): Bugfix: add closing brace (Beernd
+ Noordkamp).
+ (use-modules): Include lily.
+ (lily-def): Bugfix: include tex-val in let.
+
2003-04-12 Heikki Junes <hjunes@cc.hut.fi>
* lilypond-mode.el: sensible error if lilypond.words not found.
;currently no font commands; this is a helper for pdftex.scm.
-(define-module (scm pdf)
- )
+(define-module (scm pdf))
(define this-module (current-module))
(use-modules
(guile)
- )
+ (lily))
(use-modules (scm pdf)
(guile)
(ice-9 regex)
- (ice-9 string-fun)
- )
+ (ice-9 string-fun)
+ (lily))
+
(define font-name-alist '())
(define this-module (current-module))
(define (lily-def key val)
(let ((tex-key
(regexp-substitute/global
- #f "_" (output-tex-string key) 'pre "X" 'post)
-
- ))
+ #f "_" (output-tex-string key) 'pre "X" 'post))
(tex-val (output-tex-string val)))
(if (equal? (sans-surrounding-whitespace tex-val) "")
(string-append "\\let\\" tex-key "\\undefined\n")
- (string-append "\\def\\" tex-key "{" tex-val "}%\n")))
+ (string-append "\\def\\" tex-key "{" tex-val "}%\n"))))
(define (number->dim x)
(string-append
" {\\advance\\scoreshift by -\\lilypondscoreshift}%\n"
"\\lybox{"
(ly:number->string wd) "}{"
- (ly:number->string ht) "{%\n"))
+ (ly:number->string ht) "}{%\n"))
(define (stop-system)
"}%\n%\n\\interscoreline\n%\n")