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 Last login: Sat Jul 9 23:46:54 on ttys001 Raphi:~ raphaelthoene$ /Users/raphaelthoene/bin/lilybook ; exit; Usage: lilypond-book [OPTION]... FILE Process LilyPond snippets in hybrid HTML, LaTeX, texinfo or DocBook document. Examples: $ lilypond-book --filter="tr '[a-z]' '[A-Z]'" BOOK $ lilypond-book -F "convert-ly --no-version --from=2.0.0 -" BOOK $ lilypond-book --process='lilypond -I include' BOOK Options: -F, --filter=FILTER pipe snippets through FILTER [default: `convert-ly -n -'] -f, --format=FORMAT use output format FORMAT (texi [default], texi-html, latex, html, docbook) -h, --help show this help and exit -I, --include=DIR add DIR to include path --info-images-dir=DIR format Texinfo output so that Info will look for images of music in DIR --left-padding=PAD pad left side of music to align music inspite of uneven bar numbers (in mm) --lily-loglevel=LOGLEVEL Print lilypond log messages according to LOGLEVEL --lily-output-dir=DIR write lily-XXX files to DIR, link into --output dir --load-custom-package=PACKAGE Load the additional python PACKAGE (containing e.g. a custom output format) -l, --loglevel=LOGLEVEL Print log messages according to LOGLEVEL (NONE, ERROR, WARNING, PROGRESS (default), DEBUG) -o, --output=DIR write output to DIR -P, --process=COMMAND process ly_files using COMMAND FILE... --redirect-lilypond-output Redirect the lilypond output -s, --safe Compile snippets in safe mode --skip-lily-check do not fail if no lilypond output is found --skip-png-check do not fail if no PNG images are found for EPS files --use-source-file-names write snippet output files with the same base name as their source file -V, --verbose be verbose --version show version number and exit -w, --warranty show warranty and copyright Options only for the latex and texinfo backends: --latex-program=PROG run executable PROG instead of latex, or in case --pdf option is set instead of pdflatex --texinfo-program=PROG run executable PROG instead of texi2pdf --pdf create PDF files for use with PDFTeX Report bugs via http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs logout Saving session... ...copying shared history... ...saving history...truncating history files... ...completed. [Prozess beendet] 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$ Thanks again for your help, Raphael. Am 09.07.2016 um 22:14 schrieb flup2 <phili...@philmassart.net<mailto:phili...@philmassart.net>>: 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<http://nabble.com>. _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org<mailto: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