lilypond-user
[Top][All Lists]
Advanced

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

Re: Scheme-sandbox on MAC


From: Wim van Dommelen
Subject: Re: Scheme-sandbox on MAC
Date: Fri, 19 Apr 2013 22:02:13 +0200


On 19 Apr 2013, at 21:41 , Joseph Austin wrote:

I'm a relative newbie to Lilypond,
using 2.16.2-1 on Mac OSX 10.6 (Snow Leopard).

I want to try some modifications,
and am trying to work through the tutorial in:
Manuals > Extending > Scheme Tutorial.

I haven't been able to get the scheme-sandbox to work.

I've downloaded:
lilypond-2.16.2-1.darwin-x86.tar.bz2 Dated Jan 4, 2013, 3:47 pm 

and copied the file:
lilypond.app
to my Application folder: Macintosh HD /Applications

I can start Lilypond from the Terminal window with:

MacTechDaddy:~ josephaustin$ open -a lilypond.app

create a script with the following contents (the exec line is 1 line!):

#!/bin/bash
exec /Applications/LilyPond.app/Contents/Resources/bin/lilypond / Applications/LilyPond.app/Contents/Resources/share/lilypond/current/ly/ scheme-sandbox.ly

make sure it is in your path and set to excutable (chmod u+x). This will get you in the sandbox right-away. Alternatively you can make a script to call Lilypond:

#!/bin/bash
exec /Applications/LilyPond.app/Contents/Resources/bin/lilypond "$@"

and do:

lilypond scheme-sandbox.ly

The sandbox-file can be editied to contain files to be loaded, so you should look to the directory, path, etc. Make a copy first.


But when I try to start the sandbox, I get a "file not found" error:

MacTechDaddy:~ josephaustin$ open -a lilypond.app scheme-sandbox
The file /Users/josephaustin/scheme-sandbox does not exist.

Is there something missing from my Lilypond installation?
or do I need a different command syntax?

Otherwise, Lilypond seems to be working.
It generates scores, and even outputs scheme per the tutorial, for example:

{
#(with-output-to-file "C.txt"
(lambda () #{ \displayMusic { c'4\f } #}))
}

(The scheme output goes to C.txt in the same directory as the source .ly file.)


Any help will be appreciated.

Joe


Regards,
Wim.




_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user




reply via email to

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