lilypond-user
[Top][All Lists]
Advanced

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

Re: cadence font and lilypond-book


From: Urs Liska
Subject: Re: cadence font and lilypond-book
Date: Tue, 17 Mar 2015 11:50:50 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.5.0



Am 17.03.2015 um 11:20 schrieb Marc Hohl:
Am 17.03.2015 um 10:57 schrieb Urs Liska:


Am 17.03.2015 um 10:53 schrieb Marc Hohl:
Am 17.03.2015 um 10:27 schrieb Urs Liska:
[...]

does not help here, lilypond-book has ceased to work, obviously.


I checked the contents of lilypond-book in a number of installations and
have the impression there's a quite serious bug (if I'm not completely
mistaken) as all paths seem to be hardcoded in the script, independently
from the path where LilyPond is actually installed:

2.18.2 (binary release)
installation root: /shared/software/lilyponds/lilypond-stable
appends to sys.path:
- /usr/share/lilypond/2.18.2/python
- /usr/lib/lilypond/2.18.2/python
lilypond_binary: /usr/bin/lilypond

2.19.16 (binary release)
installations root: /shared/software/lilyponds/lilypond-devel
appends to sys.path:
- /usr/share/lilypond/2.19.16/python
- /usr/lib/lilypond/2.19.16/python
lilypond_binary: /usr/bin/lilypond

2.19.18 (build from current master)
build root: ~/git/lilypond/lilypond-builds/current
appends to sys.path:
- / usr/local/share/lilypond/2.19.18/python
- /usr/local/lib/lilypond/2.19.18/python
lilypond_binary: /usr/local/bin/lilypond

THanks for checking! I think that there is something fishy with the
paths here...

Yes, as I've written on the bug-lilypond thread (forgot to add the
lilypond-user to CC ...) I think
the paths should be determined relative to the realpath of the
lilypond-book script and not use these
arbitrary hardcoded values.

Could you please provide me with a small example .lytex file so I can
test it and try to make a patch?

Ok, see the attachments. I cannot test whether cadencetest.lytex compiles, since my lilypond-book does not work anymore.

Hmm.

address@hidden:~/aktuell/lily-bugs/lilypond-book$ lilypond-book cadencetest.lytex
lilypond-book (GNU LilyPond) 2.19.16
Reading cadencetest.lytex...
Running `latex' on file `/tmp/tmprrYBzN.tex' to detect default page settings.

Dissecting...
Writing snippets...
Processing...
Running lilypond...
GNU LilyPond 2.19.16
»./snippet-map-1299016167.ly« wird verarbeitet
Analysieren...
»./d7/lily-dbf6a28c.ly« wird verarbeitet
Analysieren...
Eingabe in »cadencesong.ly« umbenannt
Interpretation der Musik...
Vorverarbeitung der grafischen Elemente...
Zeilenumbrüche werden berechnet...
Systeme erstellen...
Layout nach »./d7/lily-dbf6a28c.eps« ausgeben...
Layout nach »./d7/lily-dbf6a28c-1.eps« ausgeben...
./d7/lily-dbf6a28c-systems.texi wird geschrieben...
./d7/lily-dbf6a28c-systems.tex wird geschrieben...
./d7/lily-dbf6a28c-systems.count wird geschrieben...
Kompilation erfolgreich beendet
Linking files...
Compiling /home/uliska/aktuell/lily-bugs/lilypond-book/cadencetest.tex...
Writing `/home/uliska/aktuell/lily-bugs/lilypond-book/cadencetest.tex'...

and compiling with lualatex afterwards also gives the expected results.

So it seems my interpretation of the code is somehow wrong, and it seems the problem is somewhere else in your installation.

Sorry, I don't know more ATM
Urs

Marc



_______________________________________________
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]