Re: path to lilypond executable

2015-03-12 Thread Urs Liska
Am 12.03.2015 15:38, schrieb Noeck: I assume python has a function abspath or similar. os.path.abspath Yes, but I'm looking for a Scheme solution (which I now have). -- Urs Liska u...@openlilylib.org ___ lilypond-user mailing list lilypond-user@gn

Re: path to lilypond executable

2015-03-12 Thread Noeck
> I assume python has a function abspath or similar. os.path.abspath ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: path to lilypond executable

2015-03-12 Thread Johan Vromans
On Thu, 12 Mar 2015 10:38:20 +0100 Urs Liska wrote: > OK, this means if the result points to "in the current dir" then I > should prepend it with the current dir (which is easily possible with > the tools I already have). To be more precise: when the result is not an absolute path name (i.e.,

Re: path to lilypond executable

2015-03-12 Thread Johan Vromans
On Thu, 12 Mar 2015 12:30:15 +0100 Urs Liska wrote: > Am 12.03.2015 11:40, schrieb Wilbert Berendsen: > > But you could always ask LilyPond for its datadir, it always returns > > the absolute path to the ly, svg, ps, scm etc files. > > > > #(display (ly:get-option 'datadir)) > > > Thank you very

Re: path to lilypond executable

2015-03-12 Thread Urs Liska
Am 12.03.2015 11:40, schrieb Wilbert Berendsen: But you could always ask LilyPond for its datadir, it always returns the absolute path to the ly, svg, ps, scm etc files. #(display (ly:get-option 'datadir)) Thank you very much, this is even closer to what I really want, namely the fonts dir, wh

Re: path to lilypond executable

2015-03-12 Thread Wilbert Berendsen
Op Thu, 12 Mar 2015 09:11:33 +0100 Johan Vromans schreef: > Please be aware that on vanilla *ix systems this only works if the > program is executed via a PATH search. > > E.g., if lilypond is in /usr/bin: > > cd /tmp > lilypond --> /usr/bin/lilypond > cd /usr/bin > ./lilypond --> .

Re: path to lilypond executable

2015-03-12 Thread Urs Liska
Am 12.03.2015 um 10:59 schrieb Noeck: Hi Urs, I get => /home/uliska/lilypond/usr/bin/lilypond with each of the following: cd ~ lilypond test-script.ly cd ~/bin lilypond test-script.ly cd ~/lilypond/usr/bin lilypond test-script.ly The difference was whether you use path search or not: lilypo

Re: path to lilypond executable

2015-03-12 Thread Noeck
Hi Urs, > I get > => /home/uliska/lilypond/usr/bin/lilypond > with each of the following: > > cd ~ > lilypond test-script.ly > cd ~/bin > lilypond test-script.ly > cd ~/lilypond/usr/bin > lilypond test-script.ly The difference was whether you use path search or not: lilypond (execute it wherever

Re: path to lilypond executable

2015-03-12 Thread Urs Liska
Am 12.03.2015 um 09:11 schrieb Johan Vromans: On Thu, 12 Mar 2015 08:29:33 +0100 Urs Liska wrote: Am 12.03.2015 um 01:14 schrieb Mattes: Hmm, are you looking for the path to the current lilypond executable or the current lilypond input file? For the first '(car (command-line))' might be all

Re: path to lilypond executable

2015-03-12 Thread Urs Liska
Am 12.03.2015 um 08:58 schrieb and...@andis59.se: On 2015-03-12 08:29, Urs Liska wrote: Could anybody please tell me what \version "2.18.2" #(display (car (command-line))) displays on Windows (i.e. how the string is formatted)? Using Frescobaldi C:\lilypond-2-18-2-1\usr\bin\lilypond-wind

Re: path to lilypond executable

2015-03-12 Thread Johan Vromans
On Thu, 12 Mar 2015 08:29:33 +0100 Urs Liska wrote: > Am 12.03.2015 um 01:14 schrieb Mattes: > > Hmm, are you looking for the path to the current lilypond executable > > or the current lilypond input file? > > For the first '(car (command-line))' might be all you need. > > Yes, this is what I'

Re: path to lilypond executable

2015-03-12 Thread and...@andis59.se
On 2015-03-12 08:29, Urs Liska wrote: Could anybody please tell me what \version "2.18.2" #(display (car (command-line))) displays on Windows (i.e. how the string is formatted)? Using Frescobaldi C:\lilypond-2-18-2-1\usr\bin\lilypond-windows.exe // Anders -- English isn't my first langu

Re: path to lilypond executable

2015-03-12 Thread Urs Liska
Am 12.03.2015 um 01:14 schrieb Mattes: Am Mittwoch, 11. März 2015 21:29 CET, Urs Liska schrieb: Sorry, but I don't seem to be able to find the right search terms ... How would I retrieve the path to the currently executed LilyPond from Scheme? Hmm, are you looking for the path to the

Re: path to lilypond executable

2015-03-11 Thread Mattes
Am Mittwoch, 11. März 2015 21:29 CET, Urs Liska schrieb: > Sorry, but I don't seem to be able to find the right search terms ... > > How would I retrieve the path to the currently executed LilyPond from > Scheme? Hmm, are you looking for the path to the current lilypond executable or the

path to lilypond executable

2015-03-11 Thread Urs Liska
Sorry, but I don't seem to be able to find the right search terms ... How would I retrieve the path to the currently executed LilyPond from Scheme? TIA Urs ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/l

Re: path to lilypond executable?

2002-09-29 Thread Jan Nieuwenhuizen
Didier LAIREZ <[EMAIL PROTECTED]> writes: [cc list] > Thank you! it is running now! Unfortunately the dvi output is not yet > correct. May be it's now a latex problem. How did you install lilypond, did you use fink? Did you install fink's tex package? Did you log out after installing it? You

Re: path to lilypond executable?

2002-09-29 Thread Jan Nieuwenhuizen
Didier LAIREZ <[EMAIL PROTECTED]> writes: > I have installed lilypond 1.6.0-2 on my MAC under OSX 10.1.5. Apparently the > installation succeeded but the following message appears when I try to run > Lylipond. Can you help me? Maybe... > [localhost:~] didierla% /sw/bin/ly2dvi -P /documents/musl