2012/12/23 martinwguy <martinw...@gmail.com>: > On 23 December 2012 18:56, Thomas Morley <thomasmorle...@googlemail.com> > wrote: >> I've only 6 versions on my laptop. >> Most of them in my home-directory. >> To distuingish them, I renamed the folder and the programm (to be >> found in <folder-name>/usr/bin) and created shortcuts for the >> different programs. >> These shortcuts are per default found in /home/bin: >> among them `lilypond´. >> I pasted renamed files and changed the pathes. >> >> So I've >> the folder `lilypond-2-14-2´ containing the program `lilypond-2-14-2´ >> to be called with `lilypond 2-14-2´ >> the folder `lilypond´ (the current stable) containing the program >> `lilypond´ to be called with `lilypond´ >> the folder `lilydevel´ (the latest devel-version) containing the >> grogram `lily-devel´ to be called with `lily-devel´ >> >> There might be better methods but it works. > > ...or make "lilypond" a script that check the required version in the > .ly file and calls the appropriate one?
I often need to check code with different versions. Example: I use \version "2.12.3" in the file and test compiling with different versions. Or test convert-ly with it etc. A script reading out the stated version would be of no help for me. But it might be very helpful for others. Not sure, but I think Frescobaldi has this too. Cheers, Harm _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user