A small change log for .56, but, big changes!  The routines that do
the final output of a graphical element (like note head or clef), are
now invoked via Scheme, allowing you to write Scheme code to override
LilyPond output routines (well, in theory anyway.)

sample of the idea (untested code!)

        #(define (foo-bar x)
                 (string-concat "\\hrule width " (number->string x) "pt"))

        #(define (my-hyphen-func score-element)
                 (let ((w (ly-get-elt-property score-element 'width )))
                      (cons
                        `(foo-bar ,w)
                        `((0.0 . ,w) (0.0 0.0)))
                 )
         )


        ..........


         \property Lyrics . basicHyphenSpannerProperties = #`(molecule-callback
            .  ,my-hyphen-func)

        .........


alas the mysterious disappearing lyrics problem has surfaced
again. Sorry 'bout that.




1.3.55.hwn1
===========

* Molecules are now generated via callbacks exclusively; most calls to
set_elt_property ("transparent) have been replaced by suicide().

-- 

Han-Wen Nienhuys, [EMAIL PROTECTED] ** GNU LilyPond - The Music Typesetter 
      http://www.cs.uu.nl/people/hanwen/lilypond/index.html 

Reply via email to