Wish for short version function

2014-01-10 Thread Noeck
Hi all, I have a wish for a scheme function integrated in LilyPond: A function that returns the short form of the version used: e.g. 2.18 (and not 2.18.0) I don’t know if that already exists, I couldn’t find it anywhere. The reason why I want this function is below. It would be very easy to

Re: Wish for short version function

2014-01-10 Thread David Kastrup
Noeck noeck.marb...@gmx.de writes: Hi all, I have a wish for a scheme function integrated in LilyPond: A function that returns the short form of the version used: e.g. 2.18 (and not 2.18.0) I don’t know if that already exists, I couldn’t find it anywhere. The reason why I want this

Re: Wish for short version function

2014-01-10 Thread Noeck
Hi David, Am 10.01.2014 10:15, schrieb David Kastrup: guile (format LilyPond ~:@{~a.~a~} (ly:version)) LilyPond 2.19 That does not really require a command of its own. That is indeed quite short and usable. I am still a stranger to scheme. I suppose it does something like in python