Carl D. Sorensen wrote:
I think you should pick a version and write for it. And then, if you want
to change versions, you should use convert-ly.
Unfortunately, this only works one way (2.10 - 2.12, but not backwards).
/Mats
___
--
View this message in context:
http://www.nabble.com/Command-switch-based-on-Lily-version--tp22646853p22646853.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.
___
lilypond-user mailing list
lilypond-user@gnu.org
http
I embed Lily in a shell script for that kind of thing (I'm running on
Unix):
Something like this which is meant to make MIDI only output:
---
#!/bin/sh
LILY=/usr/local/bin/lilypond
LILYVERSION=`$LILY | sed -n 's/^GNU Lilypond \([12]\.[0-9]*\.[0-9]*\).*$/\1/p'`
case $LILYVERSION in
Peter == Peter Chubb lily-u...@chubb.wattle.id.au writes:
Peter I embed Lily in a shell script for that kind of thing (I'm
Peter running on Unix):
(I've just noticed you're using Windows ... you'll need to ask someone
who's a Windows expert as to how to script it, as you won't
necessarily have
in context:
http://www.nabble.com/Command-switch-based-on-Lily-version--tp22646853p22652534.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman
On 3/22/09 6:26 PM, MonAmiPierrot pierofaust...@hotmail.com wrote:
Peter Chubb-6 wrote:
Peter == Peter Chubb lily-u...@chubb.wattle.id.au writes:
Peter I embed Lily in a shell script for that kind of thing (I'm
Peter running on Unix):
Thanks Peter, but it seems I
On 3/22/09 6:26 PM, MonAmiPierrot pierofaust...@hotmail.com wrote:
Thanks Peter, but it seems I didn't explain myself:
what I need is sometihng like this (the syntax is invented: I don't know
scheme] directly IN lily files:
LilyVers = [Get lilypond version: 2.10 or 2.12]
IF LilyVers =