Lilypond-LaTeX on Mac OS X (TeXShop Lilypond 2.11.x)

2008-06-23 Thread Kieren MacMillan
Hello all, Has anyone been able to get Lilypond-LaTeX to work on Mac OS X since '--psfonts' was deprecated (2.11.xx)? I'd appreciate hints on how to get it going again... Thanks, Kieren. ___ lilypond-user mailing list lilypond-user@gnu.org

Re: Lilypond-LaTeX on Mac OS X (TeXShop Lilypond 2.11.x)

2008-06-23 Thread Kieren MacMillan
Hi all, I've almost got it going, but I keep getting the error global name 'set' is not defined Any hints would be appreciated. Kieren. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Lilypond-LaTeX on Mac OS X (TeXShop Lilypond 2.11.x)

2008-06-23 Thread Graham Percival
See http://lists.gnu.org/archive/html/lilypond-devel/2008-03/msg00216.html Cheers, - Graham On Mon, 23 Jun 2008 15:58:34 -0400 Kieren MacMillan [EMAIL PROTECTED] wrote: Hi all, I've almost got it going, but I keep getting the error global name 'set' is not defined Any hints would

Re: Lilypond-LaTeX on Mac OS X (TeXShop Lilypond 2.11.x)

2008-06-23 Thread Kieren MacMillan
Graham: See http://lists.gnu.org/archive/html/lilypond-devel/2008-03/msg00216.html Thanks! Changing lilypond-book to start with #!/usr/bin/env python seems to fix the problem when lilypond-book is called (manually) from the command line... But I still get the same problem (as seen

Re: Lilypond + LaTex (on Mac)

2006-09-18 Thread nicola
In article [EMAIL PROTECTED], Walter Hofmeister [EMAIL PROTECTED] wrote: On 9/17/06 4:18 AM, nicola [EMAIL PROTECTED] wrote: Hi, I have written a very simple Lilypond engine for TeXShop, which you may find here: http://www.dimi.uniud.it/vitacolo/freesoftware.html Maybe this

Re: Lilypond + LaTex (on Mac)

2006-09-18 Thread Walter Hofmeister
On 9/18/06 3:07 AM, nicola [EMAIL PROTECTED] wrote: In article [EMAIL PROTECTED], Walter Hofmeister [EMAIL PROTECTED] wrote: On 9/17/06 4:18 AM, nicola [EMAIL PROTECTED] wrote: Hi, I have written a very simple Lilypond engine for TeXShop, which you may find here:

Re: Lilypond + LaTex (on Mac)

2006-09-17 Thread Peter O'Doherty
I'm not quite sure what I did wrong but I tried this a few times and it still doesn't want to work. I am able to run steps 1 - 4 but at step 5, the line already reads export PATH=$PATH:/Applications/LilyPond.app/Contents/Resources/bin so it doesn't seem to make sense to add

Re: Lilypond + LaTex (on Mac)

2006-09-17 Thread Graham Percival
Geoff Horton wrote: Thanks, Graham. So here's what Peter (and I) need to do, assuming that you moved the LilyPond app off your desktop and into the Applications folder: Werner mentioned altering the documentation. Just in case you don't have it handy, here's the link:

Re: Lilypond + LaTex (on Mac)

2006-09-17 Thread Peter O'Doherty
Thanks for this Graham (and your patience!). I think I messed it up somewhere. Here's what I have: 1) lilypond.app is in /applications folder 2) I call up a terminal and see this: ip5455a71f:~ peter$ cd '/Applications/' ip5455a71f:/Applications peter$ 3) Then I type: nano 4) next: I hit

Fwd: Lilypond + LaTex (on Mac)

2006-09-17 Thread Simon Dahlbacka
[Resending my mail to maillist, since Reply does not do the right thing]-- Forwarded message --From: Simon Dahlbacka [EMAIL PROTECTED]Date: Sep 17, 2006 12:51 PMSubject: Re: Lilypond + LaTex (on Mac)To: Peter O'Doherty [EMAIL PROTECTED]you have the .profile in the wrong place

Re: Lilypond + LaTex (on Mac)

2006-09-17 Thread nicola
Hi, I have written a very simple Lilypond engine for TeXShop, which you may find here: http://www.dimi.uniud.it/vitacolo/freesoftware.html Maybe this can help. Regards Nicola In article [EMAIL PROTECTED], Michael J Millett [EMAIL PROTECTED] wrote: I know this doesn't help, but I have had

Re: Lilypond + LaTex (on Mac)

2006-09-17 Thread Geoff Horton
export PATH=/opt/local/bin:/opt/local/sbin:/Applications/LilyPond.app/Contents/Resources/bin IMO, it's better to do this: export PATH=$PATH:$HOME/Apps/LilyPond.app/Contents/Resources/bin That way the existing path is still used, even if it's set somewhere else (say, /etc/profile). I agree.

Re: Lilypond + LaTex (on Mac)

2006-09-17 Thread Peter O'Doherty
Thanks for all your help.I eventually got it to work using Nicola Vitacolonna's Lilypond engine for TeXShop which can be found here: http://www.dimi.uniud.it/vitacolo/freesoftware.htmlI would definately recommend it - it works

Re: Lilypond + LaTex (on Mac)

2006-09-17 Thread Graham Percival
Peter O'Doherty wrote: ip5455a71f:~ peter$ cd '/Applications/' ip5455a71f:/Applications peter$ You edit/create the .profile in your home directory. Don't change directories; just open up a terminal and create the file. - Graham ___

Re: Lilypond + LaTex (on Mac)

2006-09-17 Thread Walter Hofmeister
On 9/17/06 4:18 AM, nicola [EMAIL PROTECTED] wrote: Hi, I have written a very simple Lilypond engine for TeXShop, which you may find here: http://www.dimi.uniud.it/vitacolo/freesoftware.html Maybe this can help. Regards Nicola In article [EMAIL PROTECTED], Michael J Millett

Lilypond + LaTex (on Mac)

2006-09-16 Thread Peter O'Doherty
I have been using lilypond for some time now, much to my satisfaction and without problems.Recently, I have also started using LaTex (on TeXShop) and have been trying to use lilypond-book, without succes.My problem is really a beginner's one I guess as my experience with LaTex is limited. If I use

Re: Lilypond + LaTex (on Mac)

2006-09-16 Thread Geoff Horton
I think you missed a significant step. That file can't run straight through LaTex. You need to run it through lilypond-book first, as described in section 12.6 of the Lilypond 2.6 manual. (Look for Invoking lilypond-book in the table of contents.) Geoff

Re: Lilypond + LaTex (on Mac)

2006-09-16 Thread Peter O'Doherty
Thanks for this. This is what I suspected.However, and my apologies for being so dim, how do I run it throught lilypond-book? In the section "Invoking lilypond-book" it also states in the first line "lilypond-book produces a file with one of the following extensions: .tex, .texi, or .html,

Re: Lilypond + LaTex (on Mac)

2006-09-16 Thread Geoff Horton
However, and my apologies for being so dim, how do I run it throught lilypond-book? Are you using Windows, Max OSX, Linux, or what? Also (though it shouldn't matter), what version of Lilypond are you using? Geoff ___ lilypond-user mailing list

Re: Lilypond + LaTex (on Mac)

2006-09-16 Thread Peter O'Doherty
I use Mac OS X. Lilypond version 2.8.5-1 Peter However, and my apologies for being so dim, how do I run it throught lilypond-book? Are you using Windows, Max OSX, Linux, or what? Also (though it shouldn't matter), what version of Lilypond are you using? Geoff

Re: Lilypond + LaTex (on Mac)

2006-09-16 Thread Michael J Millett
I know this doesn't help, but I have had the same problems trying to get LP to work with Mac TeXShop. I have read the manual over and over, searched other sites, and tried everything I can think of. But I must be missing something because I haven't been able to get it to work, either. So,

Re: Lilypond + LaTex (on Mac)

2006-09-16 Thread Geoff Horton
I use Mac OS X. Lilypond version 2.8.5-1 Cool. OK, then assume your input file is named sample.lytex. (Naming it sample.tex would also work, but you'll probably want that name for something else, as you'll see.) You probably can't do this within TexShop (I don't use it), so fire up a Terminal

Re: Lilypond + LaTex (on Mac)

2006-09-16 Thread Peter O'Doherty
Thanks a lot for this! As I expected, I fell at the first hurdle. Can you give me an idea of what should be in the sample.lytex files? When I type lilypond-book --psfonts sample.lytex I get this error: cd '/Users/peter/Piano course/Latex/' Welcome to Darwin! ip5455a71f:~ peter$ cd

Re: Lilypond + LaTex (on Mac)

2006-09-16 Thread Geoff Horton
Thanks a lot for this! As I expected, I fell at the first hurdle. Can you give me an idea of what should be in the sample.lytex files? When I type lilypond-book --psfonts sample.lytex I get this error: cd '/Users/peter/Piano course/Latex/' Welcome to Darwin! ip5455a71f:~ peter$ cd

Re: Lilypond + LaTex (on Mac)

2006-09-16 Thread Graham Percival
Geoff Horton wrote: The problem is not with your file. The problem is that the Mac can't find the lilypond-book program (that's what the -bash: lilypond-book: command not found means). I've got Lilypond installed on my Mac but I've never actually used it there, so I'm not sure if it sets things

Re: Lilypond + LaTex (on Mac)

2006-09-16 Thread Geoff Horton
Thanks, Graham. So here's what Peter (and I) need to do, assuming that you moved the LilyPond app off your desktop and into the Applications folder: 1) Open a new terminal window. 2) Type: nano 3) In the program that opens, type CtrlR. Type .profile and hit Enter. You'll probably get a

Re: Lilypond + LaTex (on Mac)

2006-09-16 Thread Werner LEMBERG
Thanks, Graham. So here's what Peter (and I) need to do, assuming that you moved the LilyPond app off your desktop and into the Applications folder: [...] Aah, this is *exactly* the style of answers needed for Mac users who have no idea how Unix works! It would be great if you could check