[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scheme function doesn't work anymore

From: Mats Bengtsson
Subject: Re: scheme function doesn't work anymore
Date: Tue, 14 Jun 2005 17:30:41 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511

I hope you include \mychords within a \score{...} block,
otherwise you won't get any output. I tried your lines of code
extended with
and certainly get some output using 2.5.30.


VSD wrote:
I was successfully using the following simple scheme function in all the 2.5.x series until 2.5.29-1 (all win native under WXP):

ChordOffset = #(def-music-function (parser location offset) (pair?)
        \override ChordNames.ChordName #'extra-offset = #$offset

mychords = \chordmode
    \ChordOffset #'(-0.75 . 0)

    ges2:maj7.4+ des2:9 ...

but in version 2.5.29-2 this doesn't work anymore. The log file is:

# -*-compilation-*-
Changing working directory to `C:/music/tst'
Processing `C:/music/kk.ly'

... and I don't get any output file. If I replace the function call by the corresponding lilypond code:

\override ChordNames.ChordName #'extra-offset = #'(-0.75 . 0)

then it works as expected.

Is this a bug or am I doing something wrong?

Thanks and greetings,


bug-lilypond mailing list

        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe

reply via email to

[Prev in Thread] Current Thread [Next in Thread]