Re: Lilypond & Ubuntu Help

2008-08-18 Thread Jonathan Kulp
Hi Patrick, Thanks so much for this detailed explanation. I use bash so everything should work fine. I have so much to learn. Thanks :) Jon Patrick Horgan wrote: See the info manual for bash under 3.5.3 Shell Parameter Expansion. You could also do: srcfile=${1##*/}# subt

Re: Lilypond & Ubuntu Help

2008-08-18 Thread Patrick Horgan
Jonathan Kulp wrote: Nice!  Thanks for this, Patrick!  It works just right.  Now I have to look at it to figure out *why* it works the way it does ;-)  I haven't used that sort of construct before... Jonathan Patrick Horgan wrote: Instead of basename you could use the built

Re: Lilypond & Ubuntu Help

2008-08-18 Thread George_
___ > lilypond-user mailing list > lilypond-user@gnu.org > http://lists.gnu.org/mailman/listinfo/lilypond-user > > -- View this message in context: http://www.nabble.com/Lilypond---Ubuntu-Help-tp19022704p19035652.html Sent from the Gnu -

Re: Lilypond & Ubuntu Help

2008-08-18 Thread Jonathan Kulp
Nice! Thanks for this, Patrick! It works just right. Now I have to look at it to figure out *why* it works the way it does ;-) I haven't used that sort of construct before... Jonathan Patrick Horgan wrote: Instead of basename you could use the built in string manipulation stuff this: #

Re: Lilypond & Ubuntu Help

2008-08-17 Thread Patrick Horgan
Jonathan Kulp wrote: Ah. It never occurred to me to try to allow for anything but the standard "lilypond filename.ly" command. That's a good idea. I don't use anything but the standard command very often, though, so I won't lose any sleep over it. I *was* prepared to lose sleep over the fac

Re: Lilypond & Ubuntu Help

2008-08-17 Thread Jonathan Kulp
Ah. It never occurred to me to try to allow for anything but the standard "lilypond filename.ly" command. That's a good idea. I don't use anything but the standard command very often, though, so I won't lose any sleep over it. I *was* prepared to lose sleep over the fact that the output fil

Re: Lilypond & Ubuntu Help

2008-08-17 Thread Jay Anderson
On Sun, Aug 17, 2008 at 7:03 PM, Jonathan Kulp <[EMAIL PROTECTED]> wrote: > Ok I've come up with a completely different script that does what I > *thought* the original one was supposed to do. Searching around I found a > couple of commands that make the entire thing simpler and easier for me to >

Re: Lilypond & Ubuntu Help

2008-08-17 Thread Jonathan Kulp
Ok I've come up with a completely different script that does what I *thought* the original one was supposed to do. Searching around I found a couple of commands that make the entire thing simpler and easier for me to understand. I don't really understand how to use sed and only used it b/c I

Re: Lilypond & Ubuntu Help

2008-08-17 Thread Jay Anderson
Jonathan Kulp gmail.com> writes: > > Well, my face is red. Just tried my script from a different directory > and it doesn't put the output in the right place. I guess I've always > just cd'd to the right dir before running the script. Sorry about that! > I'll see if I can make it work rig

Re: Lilypond & Ubuntu Help

2008-08-17 Thread Jonathan Kulp
Well, my face is red. Just tried my script from a different directory and it doesn't put the output in the right place. I guess I've always just cd'd to the right dir before running the script. Sorry about that! I'll see if I can make it work right. Just have to figure out how to capture t

Re: Lilypond & Ubuntu Help

2008-08-17 Thread Jonathan Kulp
All of the output goes to your current working directory unless you specify otherwise. So, if you cd ~/Desktop as Graham suggests, then it'll end up there. If you're interested, you can try this little script I wrote that automatically places all of the output in the same directory as the li

Re: Lilypond & Ubuntu Help

2008-08-17 Thread Graham Percival
On Sun, 17 Aug 2008 12:44:20 -0700 (PDT) George_ <[EMAIL PROTECTED]> wrote: > I created a lilypond file on my Desktop, called, say, Test.ly. I go > to the terminal and type in > > lilypond --pdf /home/george/Desktop/Test.ly why not cd ~/Desktop lilypond Test.ly ? pdf is created by default. >

Lilypond & Ubuntu Help

2008-08-17 Thread George_
message in context: http://www.nabble.com/Lilypond---Ubuntu-Help-tp19022704p19022704.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/listinfo/lilypond-user

Re: Lilypond & Ubuntu

2008-05-14 Thread Francisco Vila
2008/5/13 Jonathan Kulp <[EMAIL PROTECTED]>: >>> Any help you can give me would be very much appreciated. I have used >>> this some >>> months ago on a colleagues pc and it looked superb, exactly what I need >>> for >>> scoring music written for our church. This could be a case for the "Where

Re: Lilypond & Ubuntu

2008-05-13 Thread Jonathan Kulp
Lilypond was one of the first things I installed when I did a fresh Ubuntu 8.04 upgrade. It worked fine immediately for me, and I think all I did was run the script (not as sudo--probably should have) by double-clicking the script's icon and choosing "run" when asked what it wanted me to do w

Re: Lilypond & Ubuntu

2008-05-13 Thread Joseph Haig
How exactly did you extract Lilypond? If you have downloaded the shell script (lilypond-2.10.33-1.linux-x86.sh) and run it as root, it should now be installed in /usr/local/. It is possible that /usr/local/bin is not in your path. What happens when you try: $ /usr/local/bin/lilypond I am using

Lilypond & Ubuntu

2008-05-13 Thread Peter Gifford
I am struggling to get Lilypond even running in the latest Ubuntu. It seems to have downloaded and extracted in a Lilypond folder but I cannot find a way to run it - even in terminal by typing Lilypond. Any help you can give me would be very much appreciated. I have used this some months ago on