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.