bug-lilypond
[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 10:27:01 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.5.0



Am 17.03.2015 um 09:57 schrieb Marc Hohl:
Am 17.03.2015 um 09:36 schrieb Urs Liska:


Am 17.03.2015 um 09:32 schrieb Marc Hohl:
Hi list, hi Abraham,

I asked about this subject before, but now I think I did everything
right, but still ...

I use the self-compiled lilypond and install it after complilation:

sudo make install

After that, there is

/usr/local/share/lilypond/2.19.18/

on my system (Ubuntu 14.04 LTS, by the way).

I put the cadence font files in the directories

/usr/local/share/lilypond/2.19.18/fonts/otf
/usr/local/share/lilypond/2.19.18/fonts/svg

as stated in the docs for the cadence font.

Now, if I compile a score that uses the cadence font, everything is
ok, and acroread shows that the cadence font is embedded.

If I include the same .ly file in my LaTeX-file by using
\lilypondfile{...}
and process this by lilypond-book, I got errors like the following:

Layout nach »./3f/lily-c4c745f6.eps« ausgeben...
Warnung: "cadence-20"="cadence-20" kann nicht eingebettet werden
Konvertierung nach »./3f/lily-c4c745f6.pdf«...
Layout nach »./3f/lily-c4c745f6-1.eps« ausgeben...
Warnung: "cadence-20"="cadence-20" kann nicht eingebettet werden
Layout nach »./3f/lily-c4c745f6-2.eps« ausgeben...
Warnung: "cadence-20"="cadence-20" kann nicht eingebettet werden
Layout nach »./3f/lily-c4c745f6-3.eps« ausgeben...
Warnung: "cadence-20"="cadence-20" kann nicht eingebettet werden
Layout nach »./3f/lily-c4c745f6-4.eps« ausgeben...
Warnung: "cadence-20"="cadence-20" kann nicht eingebettet werden

Is there anybody having experience with the alternative fonts in
combination with lilypond-book?


Unfortunately not, but I'd be interested in the subject too.
Do you know how lilypond-book actually invokes LilyPond?

Hey, good point!

$ lilypond-book --version
2.19.18

$ which lilypond-book
/usr/local/bin/lilypond-book

$ more /usr/local/bin/lilypond-book
[...]
for d in ['/usr/local/share/lilypond/2.19.17',
      '/usr/local/lib/lilypond/2.19.17']:
    sys.path.insert (0, os.path.join (d, 'python'))
[...]

That's strange.

If I call lilypond-book, I got
[...]
lilypond-book (GNU LilyPond) 2.19.17
Sieben_Prinzessinnen.lytex lesen...
»lualatex« für Datei »/tmp/tmpWFcTPG.tex« aufrufen, um Standardseiteneinstellungen zu ermitteln.

Zerlegen...
Auszüge werden geschrieben...
Verarbeiten...
lilypond wird ausgeführt...
GNU LilyPond 2.19.18
[...]

That's even more strange, I think.

I just copied the otf/woff/svg files into the 2.19.17 directory (just in case), but the error message persists.

Now I deleted every version directory (there were 2.19.16 and 2.19.17)
in /usr/local/share/lilypond/

Now I get

$ which lilypond-book
/usr/local/bin/lilypond-book

$ lilypond-book --version
Traceback (most recent call last):
  File "/usr/local/bin/lilypond-book", line 81, in <module>
    import lilylib as ly
ImportError: No module named lilylib

Another call of
$ sudo make install

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

Of course in all these places there isn't anything LilyPond related.
So it seems clear that lilypond-book can't work on either binary or custom-build version, isn't it? I can't test it because I don't have any .lytex files available, but obviously there should be some point in the build/installation process that determines the correct paths relative to the installation directory.

(CCing to bug-lilypond)

Urs


Marc





Marc



Urs

TIA,

Marc

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


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


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