Good point.

I did this and after some error management I got the compiling going fine.
Thanks.

2017-07-18 14:44 GMT+02:00 Phil Holmes <m...@philholmes.net>:

> It seems clear that the system cannot find the lilypond executable.  Have
> you tried adding the path to lilypond to your PATH variable?
>
> --
> Phil Holmes
>
>
>
> ----- Original Message -----
> *From:* 410172 Chief <410...@gmail.com>
> *To:* lilypond-user@gnu.org
> *Sent:* Tuesday, July 18, 2017 1:17 PM
> *Subject:* Need help with lilypond-book
>
> Dear all,
>
> I need some help on getting Lilypond to work with LaTeX. I have worked
> with both for quite some time now, but am unable to compile my .lytex.
>
> For a start, I did not write my own scripts, but tried examples from
> different websites like:
> https://martin-thoma.com/how-to-write-music-with-latex/
> https://tex.stackexchange.com/questions/280287/how-to-
> easily-include-ly-files-in-a-tex-document
>
> I understand that the compiling code should be entered via the command
> prompt, and figured out that (probably) I will need to specify paths to my
> Lilypond and LaTeX installations.. but commands inside the lilybook-script
> seem to apply to the working directory.. I'm confused.
>
> I have probably miswritten or forgotten something small. If you can help
> me, this would be greetly apprieciated! Thanks!
>
> This is my command prompt input and output:
> PS C:\Users\jc410\OneDrive\Documenten\Music\LaTeX Projects\Test>
> C:\"Program Files (x86)"\Lilypond\usr\bin\lilypond-book --pdf
> lilybook.lytex
> lilypond-book.py (GNU LilyPond) 2.18.2
> Reading lilybook.lytex...
> Running `pdflatex' on file `c:\users\jc410\appdata\local\temp\tmp1ii2fk.tex'
> to detect default page settings.
>
> Dissecting...
> Writing snippets...
> Processing...
> Running lilypond...
> 'lilypond' is not recognized as an internal or external command,
> operable program or batch file.
> command failed: lilypond --formats=ps -dbackend=eps  -I  "." --formats=eps
> --pdf -dinclude-eps-fonts -dgs-load-fonts  -deps-box-padding=3.000000
> -dread-file-list -dno-strip-output-dir
>  "C:\Users\jc410\OneDrive\Documenten\Music\LaTeX Projects\Test\
> snippet-names-1880200976.ly"
> Child returned 1
>
>
> Greetings,
> Jonne
>
> ------------------------------
>
> _______________________________________________
> 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

Reply via email to