lilypond-user
[Top][All Lists]
Advanced

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

Re: Lilypond-book question


From: Urs Liska
Subject: Re: Lilypond-book question
Date: Sun, 10 Jul 2016 00:03:40 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1

Hi Raphael,

nice to see you here as well ;-)


Am 09.07.2016 um 23:52 schrieb Dr. Raphael D. Thöne:
Hello Philippe, hello Jeffrey,

thanks for your help.

I used the right path (I typed the whole path) and then run a test file, compiling it with lilybook and then finally with latexpdf. It worked!
/Applications/LilyPond.app/Contents/Resources/bin/lilypond-book --output=out --pdf lily/lily.lytex

Adding the path:
You mentioned pico.profile (why pico? Or can I use any name?) 
I first created a lilybook file in a folder called bin and when I run it in the Terminal (Mac), it works

...

I created then a file called pico.profile and saved it in my home directory. I only consists of two lines:
export PATH=$PATH:~/bin
BLANK LINE

When I now directly try to run lilybook with the path, it tells me that lilybook cannot still be found.
Last login: Sat Jul  9 23:47:38 on ttys000
Raphi:~ raphaelthoene$ lilypond-book --output=out --pdf lily/lily.lytex
-bash: lilypond-book: command not found
Raphi:~ raphaelthoene$

I don't know exactly how things go on Mac, but simply changing/adding a configuration file won't change anything on a UNIX system. You also have to make sure that the shell (the one that is actually executing the command) has read that file. I'm not sure about that "pico" either, but on Linux any profiles may only be read upon the start of a shell - or by explicitly calling "source pico.profile" on it. OTOH there are different types of profiles that are read in different contexts so I won't make any concrete suggestions.

But as you *are* using LaTeX already please let me point you to two packages that are valuable for the use-case of writing seminar texts and other mixed documents which we talked about: lilyglyphs and musicexamples.
lilyglyphs is in CTAN and TeXLive, so it should be available on your LaTeX distribution, otherwise consult ftp://ftp.rrzn.uni-hannover.de/pub/mirror/tex-archive/macros/luatex/latex/lilyglyphs/documentation/lilyglyphs.pdf
musicexamples is not fully ready yet - that is, it *is* ready but not extremely useful yet. Nevertheless it provides a few cool things for inserting music in LaTeX documents. It is not released yet but you can find it at https://github.com/uliska/musicexamples.

Best
Urs




Thanks again for your help,
Raphael.


Am 09.07.2016 um 22:14 schrieb flup2 <address@hidden>:

Hello,

At first look, it seems that your terminal settings do not include the path
to lilypond-book.

There are multiple ways to solve it:
- use the complete command (quite boring...). If lilypond is placed in your
Applications folder, the complete path should be

- add lilypond-book path in the PATH. Usually, this is done by editing the
.profile file in your user folder, using the terminal (I use "pico
.profile")

Regarding TeXmaker, I cannot help now (I would need time to look at), but I
guess you need to show the complete path of lilypond-book to TeXMaker

Philippe



--
View this message in context: http://lilypond.1069038.n5.nabble.com/Lilypond-book-question-tp192449p192461.html
Sent from the User mailing list archive at Nabble.com.

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