Re: cadence font and lilypond-book
Am 17.03.2015 um 21:14 schrieb Urs Liska: [...] Well, almost. The minimal example I sent works as expected, but now I run into a strange problem: I still got these error messages concerning cadence in my real-life-project, and the first included song is displayed with the cadence font, all other songs in my project have stems only. I think I'll just use emmentaler as long as my system does not seem to like cadence :-( That's a pity because very soon it will become *significantly* more convenient to handle fonts in LilyPond :-) I did some more tests today, including multiple files, and it seems that the problem occurs only if I say '--pdf' when invoking lilypond-book. Ok, this is superfluous when using lualatex, but it is strange that this option causes the font mechanism to get confused. DOes anyone know why this happens? Marc ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: cadence font and lilypond-book
Am 17.03.2015 um 20:49 schrieb Marc Hohl: Am 17.03.2015 um 20:14 schrieb Marc Hohl: Am 17.03.2015 um 20:02 schrieb Urs Liska: Am 17.03.2015 um 20:00 schrieb Marc Hohl: Am 17.03.2015 um 11:56 schrieb Urs Liska: Am 17.03.2015 um 09:57 schrieb Marc Hohl: Now I deleted every version directory (there were 2.19.16 and 2.19.17) in /usr/local/share/lilypond/ Did you also remove the entries in /usr/local/bin? Yes, but there's only *one* entry for lilypond and lilypond-book, generated at the time I ran 'sudo make install'. Yes, that's what I assumed. I think you can't have multiple lilys installed in the /usr places. CLeaning out this directory and running make install again gives me a working lilypond, but lilypond-book is still aborting with an error message :-( Sorry, no idea. Somehow there must be something unclean left ... No problem. Well, almost. The minimal example I sent works as expected, but now I run into a strange problem: I still got these error messages concerning cadence in my real-life-project, and the first included song is displayed with the cadence font, all other songs in my project have stems only. I think I'll just use emmentaler as long as my system does not seem to like cadence :-( That's a pity because very soon it will become *significantly* more convenient to handle fonts in LilyPond :-) Urs Marc I removed all entries in /usr/local/... and installed lilypond (latest unstable version from lilypond.org) locally from scratch – now it works as expected. Cheers, Marc Urs Marc ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user -- Urs Liska www.openlilylib.org ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: cadence font and lilypond-book
Am 17.03.2015 um 20:14 schrieb Marc Hohl: Am 17.03.2015 um 20:02 schrieb Urs Liska: Am 17.03.2015 um 20:00 schrieb Marc Hohl: Am 17.03.2015 um 11:56 schrieb Urs Liska: Am 17.03.2015 um 09:57 schrieb Marc Hohl: Now I deleted every version directory (there were 2.19.16 and 2.19.17) in /usr/local/share/lilypond/ Did you also remove the entries in /usr/local/bin? Yes, but there's only *one* entry for lilypond and lilypond-book, generated at the time I ran 'sudo make install'. Yes, that's what I assumed. I think you can't have multiple lilys installed in the /usr places. CLeaning out this directory and running make install again gives me a working lilypond, but lilypond-book is still aborting with an error message :-( Sorry, no idea. Somehow there must be something unclean left ... No problem. Well, almost. The minimal example I sent works as expected, but now I run into a strange problem: I still got these error messages concerning cadence in my real-life-project, and the first included song is displayed with the cadence font, all other songs in my project have stems only. I think I'll just use emmentaler as long as my system does not seem to like cadence :-( Marc I removed all entries in /usr/local/... and installed lilypond (latest unstable version from lilypond.org) locally from scratch – now it works as expected. Cheers, Marc Urs Marc ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: cadence font and lilypond-book
Am 17.03.2015 um 20:02 schrieb Urs Liska: Am 17.03.2015 um 20:00 schrieb Marc Hohl: Am 17.03.2015 um 11:56 schrieb Urs Liska: Am 17.03.2015 um 09:57 schrieb Marc Hohl: Now I deleted every version directory (there were 2.19.16 and 2.19.17) in /usr/local/share/lilypond/ Did you also remove the entries in /usr/local/bin? Yes, but there's only *one* entry for lilypond and lilypond-book, generated at the time I ran 'sudo make install'. Yes, that's what I assumed. I think you can't have multiple lilys installed in the /usr places. CLeaning out this directory and running make install again gives me a working lilypond, but lilypond-book is still aborting with an error message :-( Sorry, no idea. Somehow there must be something unclean left ... No problem. I removed all entries in /usr/local/... and installed lilypond (latest unstable version from lilypond.org) locally from scratch – now it works as expected. Cheers, Marc Urs Marc ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: cadence font and lilypond-book
Am 17.03.2015 um 20:00 schrieb Marc Hohl: Am 17.03.2015 um 11:56 schrieb Urs Liska: Am 17.03.2015 um 09:57 schrieb Marc Hohl: Now I deleted every version directory (there were 2.19.16 and 2.19.17) in /usr/local/share/lilypond/ Did you also remove the entries in /usr/local/bin? Yes, but there's only *one* entry for lilypond and lilypond-book, generated at the time I ran 'sudo make install'. Yes, that's what I assumed. I think you can't have multiple lilys installed in the /usr places. CLeaning out this directory and running make install again gives me a working lilypond, but lilypond-book is still aborting with an error message :-( Sorry, no idea. Somehow there must be something unclean left ... Urs Marc ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user -- Urs Liska www.openlilylib.org ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: cadence font and lilypond-book
Am 17.03.2015 um 11:56 schrieb Urs Liska: Am 17.03.2015 um 09:57 schrieb Marc Hohl: Now I deleted every version directory (there were 2.19.16 and 2.19.17) in /usr/local/share/lilypond/ Did you also remove the entries in /usr/local/bin? Yes, but there's only *one* entry for lilypond and lilypond-book, generated at the time I ran 'sudo make install'. CLeaning out this directory and running make install again gives me a working lilypond, but lilypond-book is still aborting with an error message :-( Marc ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: cadence font and lilypond-book
Am 17.03.2015 um 09:57 schrieb Marc Hohl: Now I deleted every version directory (there were 2.19.16 and 2.19.17) in /usr/local/share/lilypond/ Did you also remove the entries in /usr/local/bin? ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: cadence font and lilypond-book
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. uliska@debian-laptop:~/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 lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: cadence font and lilypond-book
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. Marc \version "2.19.0" \paper { #(define fonts (set-global-fonts #:music "cadence" )) } \score { \new Staff { c1 } } \documentclass{article} \begin{document} Here's the song: \lilypondfile{cadencesong.ly} \end{document} ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: cadence font and lilypond-book
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? Urs Marc 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 lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: cadence font and lilypond-book
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... Marc 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 lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: cadence font and lilypond-book
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 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 lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: cadence font and lilypond-book
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 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. Marc Marc Urs TIA, Marc ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: cadence font and lilypond-book
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? Urs TIA, Marc ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Cadence font and lilypond-book
Am 24.10.2014 10:44, schrieb Marc Hohl: Am 24.10.2014 um 09:59 schrieb Urs Liska: Am 24.10.2014 08:35, schrieb Marc Hohl: Am 23.10.2014 um 20:55 schrieb Abraham Lee: Try putting them in "/home/marc/.local/share/fonts" instead. I've noticed that things seem to work a little better in there. No, doesn't work either ... :-( What I'm asking myself is *which* part is actually causing the error. Maybe you could look into lilypond-book-preamble.ly and try to follow what is happening there. Maybe this gives a clue to some hidden setting that may be done differently when compiling in this context? Just an idea: I always use the bleeding-edge self-compiled version of lilypond and found in my makefile the call to lilypond-book with an explicit path: /home/marc/git/lilypond/out/bin/lilypond-book --output=out --pdf --latex-program=xelatex $SOURCEFILE Perhaps that's the culprit? Well, maybe. Just try it out with a binary release then. Marc Urs Marc -Abraham Sent from my iPhone On Oct 23, 2014, at 12:31 PM, Marc Hohl wrote: Am 23.10.2014 um 16:43 schrieb Abraham Lee: Marc, I've never done anything with lilypondbook, so I can't say definitively, but it sounds like the fonts need to be put in your system font directory. Abraham, this is what I had in mind, too, and copied the .otf files in my ~/.fonts directory and called fc-cache afterwards. $ fc-list | grep adence /home/marc/.fonts/cadence-16.otf: cadence\-16:style=16 /home/marc/.fonts/cadence-26.otf: cadence\-26:style=26 /home/marc/.fonts/cadence-14.otf: cadence\-14:style=14 /home/marc/.fonts/cadence-13.otf: cadence\-13:style=13 /home/marc/.fonts/cadence-23.otf: cadence\-23:style=23 /home/marc/.fonts/cadence-11.otf: cadence\-11:style=11 /home/marc/.fonts/cadence-18.otf: cadence\-18:style=18 /home/marc/.fonts/cadence-20.otf: cadence\-20:style=20 Cadence seems to be known by my system, but not by ghostscript in combination with lilypond-book. That's not a big problem, since Cadence is not optimal in combination with the text fonts used in my project, but it would be great if the new fonts were available within lilypond-book, too. Marc Only LilyPond uses it's own fonts folder, so if you are using another program for this, it will be looking for them in the system font folder. -Abraham Sent from my iPhone On Oct 23, 2014, at 3:29 AM, Marc Hohl wrote: Hi list, I wanted to give the new alternative font "Cadence" a try in my current project, which is based on lilypond-book and xelatex. Unfortunately, I got dozens of lines like Layout nach »./de/lily-510b5f50.eps« ausgeben... Warnung: "cadence-18"="cadence-18" kann nicht eingebettet werden Warnung: "cadence-20"="cadence-20" kann nicht eingebettet werden Warnung: "cadence-20"="cadence-20" kann nicht eingebettet werden and therefore, the note head glyphs are missing in the resulting document. Compiling a standalone lilypond document like the following: \version "2.19.16" \paper { #(define fonts (set-global-fonts #:music "cadence" )) } \score { \new Staff { c'' d'' e'' } } runs without error (and includes the note heads in the output). Do I have to move the .otf font files in a directory where ghostscript can find them? TIA, Marc ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Cadence font and lilypond-book
Am 24.10.2014 10:35, schrieb Marc Hohl: Am 24.10.2014 um 09:59 schrieb Urs Liska: Am 24.10.2014 08:35, schrieb Marc Hohl: Am 23.10.2014 um 20:55 schrieb Abraham Lee: Try putting them in "/home/marc/.local/share/fonts" instead. I've noticed that things seem to work a little better in there. No, doesn't work either ... :-( What I'm asking myself is *which* part is actually causing the error. Maybe you could look into lilypond-book-preamble.ly and try to follow what is happening there. Maybe this gives a clue to some hidden setting that may be done differently when compiling in this context? Ok. I thought that #(ly:set-option 'backend 'eps) may be the culprit, but apparently, it isn't. I included even the whole content of lilypond-book-preamble.ly in my sample file and it works without errors. OK, then it looks like the Python script (it *is* a Python script, isn't it?) is doing something when compiling the music examples). Urs Marc Urs Marc -Abraham Sent from my iPhone On Oct 23, 2014, at 12:31 PM, Marc Hohl wrote: Am 23.10.2014 um 16:43 schrieb Abraham Lee: Marc, I've never done anything with lilypondbook, so I can't say definitively, but it sounds like the fonts need to be put in your system font directory. Abraham, this is what I had in mind, too, and copied the .otf files in my ~/.fonts directory and called fc-cache afterwards. $ fc-list | grep adence /home/marc/.fonts/cadence-16.otf: cadence\-16:style=16 /home/marc/.fonts/cadence-26.otf: cadence\-26:style=26 /home/marc/.fonts/cadence-14.otf: cadence\-14:style=14 /home/marc/.fonts/cadence-13.otf: cadence\-13:style=13 /home/marc/.fonts/cadence-23.otf: cadence\-23:style=23 /home/marc/.fonts/cadence-11.otf: cadence\-11:style=11 /home/marc/.fonts/cadence-18.otf: cadence\-18:style=18 /home/marc/.fonts/cadence-20.otf: cadence\-20:style=20 Cadence seems to be known by my system, but not by ghostscript in combination with lilypond-book. That's not a big problem, since Cadence is not optimal in combination with the text fonts used in my project, but it would be great if the new fonts were available within lilypond-book, too. Marc Only LilyPond uses it's own fonts folder, so if you are using another program for this, it will be looking for them in the system font folder. -Abraham Sent from my iPhone On Oct 23, 2014, at 3:29 AM, Marc Hohl wrote: Hi list, I wanted to give the new alternative font "Cadence" a try in my current project, which is based on lilypond-book and xelatex. Unfortunately, I got dozens of lines like Layout nach »./de/lily-510b5f50.eps« ausgeben... Warnung: "cadence-18"="cadence-18" kann nicht eingebettet werden Warnung: "cadence-20"="cadence-20" kann nicht eingebettet werden Warnung: "cadence-20"="cadence-20" kann nicht eingebettet werden and therefore, the note head glyphs are missing in the resulting document. Compiling a standalone lilypond document like the following: \version "2.19.16" \paper { #(define fonts (set-global-fonts #:music "cadence" )) } \score { \new Staff { c'' d'' e'' } } runs without error (and includes the note heads in the output). Do I have to move the .otf font files in a directory where ghostscript can find them? TIA, Marc ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Cadence font and lilypond-book
Am 24.10.2014 um 09:59 schrieb Urs Liska: Am 24.10.2014 08:35, schrieb Marc Hohl: Am 23.10.2014 um 20:55 schrieb Abraham Lee: Try putting them in "/home/marc/.local/share/fonts" instead. I've noticed that things seem to work a little better in there. No, doesn't work either ... :-( What I'm asking myself is *which* part is actually causing the error. Maybe you could look into lilypond-book-preamble.ly and try to follow what is happening there. Maybe this gives a clue to some hidden setting that may be done differently when compiling in this context? Just an idea: I always use the bleeding-edge self-compiled version of lilypond and found in my makefile the call to lilypond-book with an explicit path: /home/marc/git/lilypond/out/bin/lilypond-book --output=out --pdf --latex-program=xelatex $SOURCEFILE Perhaps that's the culprit? Marc Urs Marc -Abraham Sent from my iPhone On Oct 23, 2014, at 12:31 PM, Marc Hohl wrote: Am 23.10.2014 um 16:43 schrieb Abraham Lee: Marc, I've never done anything with lilypondbook, so I can't say definitively, but it sounds like the fonts need to be put in your system font directory. Abraham, this is what I had in mind, too, and copied the .otf files in my ~/.fonts directory and called fc-cache afterwards. $ fc-list | grep adence /home/marc/.fonts/cadence-16.otf: cadence\-16:style=16 /home/marc/.fonts/cadence-26.otf: cadence\-26:style=26 /home/marc/.fonts/cadence-14.otf: cadence\-14:style=14 /home/marc/.fonts/cadence-13.otf: cadence\-13:style=13 /home/marc/.fonts/cadence-23.otf: cadence\-23:style=23 /home/marc/.fonts/cadence-11.otf: cadence\-11:style=11 /home/marc/.fonts/cadence-18.otf: cadence\-18:style=18 /home/marc/.fonts/cadence-20.otf: cadence\-20:style=20 Cadence seems to be known by my system, but not by ghostscript in combination with lilypond-book. That's not a big problem, since Cadence is not optimal in combination with the text fonts used in my project, but it would be great if the new fonts were available within lilypond-book, too. Marc Only LilyPond uses it's own fonts folder, so if you are using another program for this, it will be looking for them in the system font folder. -Abraham Sent from my iPhone On Oct 23, 2014, at 3:29 AM, Marc Hohl wrote: Hi list, I wanted to give the new alternative font "Cadence" a try in my current project, which is based on lilypond-book and xelatex. Unfortunately, I got dozens of lines like Layout nach »./de/lily-510b5f50.eps« ausgeben... Warnung: "cadence-18"="cadence-18" kann nicht eingebettet werden Warnung: "cadence-20"="cadence-20" kann nicht eingebettet werden Warnung: "cadence-20"="cadence-20" kann nicht eingebettet werden and therefore, the note head glyphs are missing in the resulting document. Compiling a standalone lilypond document like the following: \version "2.19.16" \paper { #(define fonts (set-global-fonts #:music "cadence" )) } \score { \new Staff { c'' d'' e'' } } runs without error (and includes the note heads in the output). Do I have to move the .otf font files in a directory where ghostscript can find them? TIA, Marc ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Cadence font and lilypond-book
Am 24.10.2014 um 09:59 schrieb Urs Liska: Am 24.10.2014 08:35, schrieb Marc Hohl: Am 23.10.2014 um 20:55 schrieb Abraham Lee: Try putting them in "/home/marc/.local/share/fonts" instead. I've noticed that things seem to work a little better in there. No, doesn't work either ... :-( What I'm asking myself is *which* part is actually causing the error. Maybe you could look into lilypond-book-preamble.ly and try to follow what is happening there. Maybe this gives a clue to some hidden setting that may be done differently when compiling in this context? Ok. I thought that #(ly:set-option 'backend 'eps) may be the culprit, but apparently, it isn't. I included even the whole content of lilypond-book-preamble.ly in my sample file and it works without errors. Marc Urs Marc -Abraham Sent from my iPhone On Oct 23, 2014, at 12:31 PM, Marc Hohl wrote: Am 23.10.2014 um 16:43 schrieb Abraham Lee: Marc, I've never done anything with lilypondbook, so I can't say definitively, but it sounds like the fonts need to be put in your system font directory. Abraham, this is what I had in mind, too, and copied the .otf files in my ~/.fonts directory and called fc-cache afterwards. $ fc-list | grep adence /home/marc/.fonts/cadence-16.otf: cadence\-16:style=16 /home/marc/.fonts/cadence-26.otf: cadence\-26:style=26 /home/marc/.fonts/cadence-14.otf: cadence\-14:style=14 /home/marc/.fonts/cadence-13.otf: cadence\-13:style=13 /home/marc/.fonts/cadence-23.otf: cadence\-23:style=23 /home/marc/.fonts/cadence-11.otf: cadence\-11:style=11 /home/marc/.fonts/cadence-18.otf: cadence\-18:style=18 /home/marc/.fonts/cadence-20.otf: cadence\-20:style=20 Cadence seems to be known by my system, but not by ghostscript in combination with lilypond-book. That's not a big problem, since Cadence is not optimal in combination with the text fonts used in my project, but it would be great if the new fonts were available within lilypond-book, too. Marc Only LilyPond uses it's own fonts folder, so if you are using another program for this, it will be looking for them in the system font folder. -Abraham Sent from my iPhone On Oct 23, 2014, at 3:29 AM, Marc Hohl wrote: Hi list, I wanted to give the new alternative font "Cadence" a try in my current project, which is based on lilypond-book and xelatex. Unfortunately, I got dozens of lines like Layout nach »./de/lily-510b5f50.eps« ausgeben... Warnung: "cadence-18"="cadence-18" kann nicht eingebettet werden Warnung: "cadence-20"="cadence-20" kann nicht eingebettet werden Warnung: "cadence-20"="cadence-20" kann nicht eingebettet werden and therefore, the note head glyphs are missing in the resulting document. Compiling a standalone lilypond document like the following: \version "2.19.16" \paper { #(define fonts (set-global-fonts #:music "cadence" )) } \score { \new Staff { c'' d'' e'' } } runs without error (and includes the note heads in the output). Do I have to move the .otf font files in a directory where ghostscript can find them? TIA, Marc ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Cadence font and lilypond-book
Am 24.10.2014 08:35, schrieb Marc Hohl: Am 23.10.2014 um 20:55 schrieb Abraham Lee: Try putting them in "/home/marc/.local/share/fonts" instead. I've noticed that things seem to work a little better in there. No, doesn't work either ... :-( What I'm asking myself is *which* part is actually causing the error. Maybe you could look into lilypond-book-preamble.ly and try to follow what is happening there. Maybe this gives a clue to some hidden setting that may be done differently when compiling in this context? Urs Marc -Abraham Sent from my iPhone On Oct 23, 2014, at 12:31 PM, Marc Hohl wrote: Am 23.10.2014 um 16:43 schrieb Abraham Lee: Marc, I've never done anything with lilypondbook, so I can't say definitively, but it sounds like the fonts need to be put in your system font directory. Abraham, this is what I had in mind, too, and copied the .otf files in my ~/.fonts directory and called fc-cache afterwards. $ fc-list | grep adence /home/marc/.fonts/cadence-16.otf: cadence\-16:style=16 /home/marc/.fonts/cadence-26.otf: cadence\-26:style=26 /home/marc/.fonts/cadence-14.otf: cadence\-14:style=14 /home/marc/.fonts/cadence-13.otf: cadence\-13:style=13 /home/marc/.fonts/cadence-23.otf: cadence\-23:style=23 /home/marc/.fonts/cadence-11.otf: cadence\-11:style=11 /home/marc/.fonts/cadence-18.otf: cadence\-18:style=18 /home/marc/.fonts/cadence-20.otf: cadence\-20:style=20 Cadence seems to be known by my system, but not by ghostscript in combination with lilypond-book. That's not a big problem, since Cadence is not optimal in combination with the text fonts used in my project, but it would be great if the new fonts were available within lilypond-book, too. Marc Only LilyPond uses it's own fonts folder, so if you are using another program for this, it will be looking for them in the system font folder. -Abraham Sent from my iPhone On Oct 23, 2014, at 3:29 AM, Marc Hohl wrote: Hi list, I wanted to give the new alternative font "Cadence" a try in my current project, which is based on lilypond-book and xelatex. Unfortunately, I got dozens of lines like Layout nach »./de/lily-510b5f50.eps« ausgeben... Warnung: "cadence-18"="cadence-18" kann nicht eingebettet werden Warnung: "cadence-20"="cadence-20" kann nicht eingebettet werden Warnung: "cadence-20"="cadence-20" kann nicht eingebettet werden and therefore, the note head glyphs are missing in the resulting document. Compiling a standalone lilypond document like the following: \version "2.19.16" \paper { #(define fonts (set-global-fonts #:music "cadence" )) } \score { \new Staff { c'' d'' e'' } } runs without error (and includes the note heads in the output). Do I have to move the .otf font files in a directory where ghostscript can find them? TIA, Marc ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Cadence font and lilypond-book
Am 23.10.2014 um 20:55 schrieb Abraham Lee: Try putting them in "/home/marc/.local/share/fonts" instead. I've noticed that things seem to work a little better in there. No, doesn't work either ... :-( Marc -Abraham Sent from my iPhone On Oct 23, 2014, at 12:31 PM, Marc Hohl wrote: Am 23.10.2014 um 16:43 schrieb Abraham Lee: Marc, I've never done anything with lilypondbook, so I can't say definitively, but it sounds like the fonts need to be put in your system font directory. Abraham, this is what I had in mind, too, and copied the .otf files in my ~/.fonts directory and called fc-cache afterwards. $ fc-list | grep adence /home/marc/.fonts/cadence-16.otf: cadence\-16:style=16 /home/marc/.fonts/cadence-26.otf: cadence\-26:style=26 /home/marc/.fonts/cadence-14.otf: cadence\-14:style=14 /home/marc/.fonts/cadence-13.otf: cadence\-13:style=13 /home/marc/.fonts/cadence-23.otf: cadence\-23:style=23 /home/marc/.fonts/cadence-11.otf: cadence\-11:style=11 /home/marc/.fonts/cadence-18.otf: cadence\-18:style=18 /home/marc/.fonts/cadence-20.otf: cadence\-20:style=20 Cadence seems to be known by my system, but not by ghostscript in combination with lilypond-book. That's not a big problem, since Cadence is not optimal in combination with the text fonts used in my project, but it would be great if the new fonts were available within lilypond-book, too. Marc Only LilyPond uses it's own fonts folder, so if you are using another program for this, it will be looking for them in the system font folder. -Abraham Sent from my iPhone On Oct 23, 2014, at 3:29 AM, Marc Hohl wrote: Hi list, I wanted to give the new alternative font "Cadence" a try in my current project, which is based on lilypond-book and xelatex. Unfortunately, I got dozens of lines like Layout nach »./de/lily-510b5f50.eps« ausgeben... Warnung: "cadence-18"="cadence-18" kann nicht eingebettet werden Warnung: "cadence-20"="cadence-20" kann nicht eingebettet werden Warnung: "cadence-20"="cadence-20" kann nicht eingebettet werden and therefore, the note head glyphs are missing in the resulting document. Compiling a standalone lilypond document like the following: \version "2.19.16" \paper { #(define fonts (set-global-fonts #:music "cadence" )) } \score { \new Staff { c'' d'' e'' } } runs without error (and includes the note heads in the output). Do I have to move the .otf font files in a directory where ghostscript can find them? TIA, Marc ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Cadence font and lilypond-book
Try putting them in "/home/marc/.local/share/fonts" instead. I've noticed that things seem to work a little better in there. -Abraham Sent from my iPhone > On Oct 23, 2014, at 12:31 PM, Marc Hohl wrote: > >> Am 23.10.2014 um 16:43 schrieb Abraham Lee: >> Marc, >> >> I've never done anything with lilypondbook, so I can't say definitively, but >> it sounds like the fonts need to be put in your system font directory. > > Abraham, > > this is what I had in mind, too, and copied the .otf files in my ~/.fonts > directory and called fc-cache afterwards. > > $ fc-list | grep adence > /home/marc/.fonts/cadence-16.otf: cadence\-16:style=16 > /home/marc/.fonts/cadence-26.otf: cadence\-26:style=26 > /home/marc/.fonts/cadence-14.otf: cadence\-14:style=14 > /home/marc/.fonts/cadence-13.otf: cadence\-13:style=13 > /home/marc/.fonts/cadence-23.otf: cadence\-23:style=23 > /home/marc/.fonts/cadence-11.otf: cadence\-11:style=11 > /home/marc/.fonts/cadence-18.otf: cadence\-18:style=18 > /home/marc/.fonts/cadence-20.otf: cadence\-20:style=20 > > Cadence seems to be known by my system, but not by ghostscript in combination > with lilypond-book. > > That's not a big problem, since Cadence is not optimal in combination with > the text fonts used in my project, but it would be great if the new fonts > were available within lilypond-book, too. > > Marc > > Only LilyPond uses it's own fonts folder, so if you are using another program > for this, it will be looking for them in the system font folder. >> >> -Abraham >> >> Sent from my iPhone >> >>> On Oct 23, 2014, at 3:29 AM, Marc Hohl wrote: >>> >>> Hi list, >>> >>> I wanted to give the new alternative font "Cadence" a try in my current >>> project, which is based on lilypond-book and xelatex. >>> >>> Unfortunately, I got dozens of lines like >>> Layout nach »./de/lily-510b5f50.eps« ausgeben... >>> Warnung: "cadence-18"="cadence-18" kann nicht eingebettet werden >>> Warnung: "cadence-20"="cadence-20" kann nicht eingebettet werden >>> Warnung: "cadence-20"="cadence-20" kann nicht eingebettet werden >>> >>> and therefore, the note head glyphs are missing in the resulting document. >>> >>> Compiling a standalone lilypond document like the following: >>> >>> \version "2.19.16" >>> >>> \paper { >>> #(define fonts >>>(set-global-fonts >>>#:music "cadence" >>> )) >>> } >>> >>> \score { >>> \new Staff { c'' d'' e'' } >>> } >>> >>> runs without error (and includes the note heads in the output). >>> >>> Do I have to move the .otf font files in a directory where ghostscript can >>> find them? >>> >>> TIA, >>> >>> Marc >>> >>> ___ >>> lilypond-user mailing list >>> lilypond-user@gnu.org >>> https://lists.gnu.org/mailman/listinfo/lilypond-user > ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Cadence font and lilypond-book
Am 23.10.2014 um 16:43 schrieb Abraham Lee: Marc, I've never done anything with lilypondbook, so I can't say definitively, but it sounds like the fonts need to be put in your system font directory. Abraham, this is what I had in mind, too, and copied the .otf files in my ~/.fonts directory and called fc-cache afterwards. $ fc-list | grep adence /home/marc/.fonts/cadence-16.otf: cadence\-16:style=16 /home/marc/.fonts/cadence-26.otf: cadence\-26:style=26 /home/marc/.fonts/cadence-14.otf: cadence\-14:style=14 /home/marc/.fonts/cadence-13.otf: cadence\-13:style=13 /home/marc/.fonts/cadence-23.otf: cadence\-23:style=23 /home/marc/.fonts/cadence-11.otf: cadence\-11:style=11 /home/marc/.fonts/cadence-18.otf: cadence\-18:style=18 /home/marc/.fonts/cadence-20.otf: cadence\-20:style=20 Cadence seems to be known by my system, but not by ghostscript in combination with lilypond-book. That's not a big problem, since Cadence is not optimal in combination with the text fonts used in my project, but it would be great if the new fonts were available within lilypond-book, too. Marc Only LilyPond uses it's own fonts folder, so if you are using another program for this, it will be looking for them in the system font folder. -Abraham Sent from my iPhone On Oct 23, 2014, at 3:29 AM, Marc Hohl wrote: Hi list, I wanted to give the new alternative font "Cadence" a try in my current project, which is based on lilypond-book and xelatex. Unfortunately, I got dozens of lines like Layout nach »./de/lily-510b5f50.eps« ausgeben... Warnung: "cadence-18"="cadence-18" kann nicht eingebettet werden Warnung: "cadence-20"="cadence-20" kann nicht eingebettet werden Warnung: "cadence-20"="cadence-20" kann nicht eingebettet werden and therefore, the note head glyphs are missing in the resulting document. Compiling a standalone lilypond document like the following: \version "2.19.16" \paper { #(define fonts (set-global-fonts #:music "cadence" )) } \score { \new Staff { c'' d'' e'' } } runs without error (and includes the note heads in the output). Do I have to move the .otf font files in a directory where ghostscript can find them? TIA, Marc ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Cadence font and lilypond-book
Marc, I've never done anything with lilypondbook, so I can't say definitively, but it sounds like the fonts need to be put in your system font directory. Only LilyPond uses it's own fonts folder, so if you are using another program for this, it will be looking for them in the system font folder. -Abraham Sent from my iPhone > On Oct 23, 2014, at 3:29 AM, Marc Hohl wrote: > > Hi list, > > I wanted to give the new alternative font "Cadence" a try in my current > project, which is based on lilypond-book and xelatex. > > Unfortunately, I got dozens of lines like > Layout nach »./de/lily-510b5f50.eps« ausgeben... > Warnung: "cadence-18"="cadence-18" kann nicht eingebettet werden > Warnung: "cadence-20"="cadence-20" kann nicht eingebettet werden > Warnung: "cadence-20"="cadence-20" kann nicht eingebettet werden > > and therefore, the note head glyphs are missing in the resulting document. > > Compiling a standalone lilypond document like the following: > > \version "2.19.16" > > \paper { > #(define fonts >(set-global-fonts >#:music "cadence" > )) > } > > \score { > \new Staff { c'' d'' e'' } > } > > runs without error (and includes the note heads in the output). > > Do I have to move the .otf font files in a directory where ghostscript can > find them? > > TIA, > > Marc > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user