Closed Skelbti closed 3 years ago
I found a solution. As mentioned in the log, I was using MikTeX and it was working fine until this error. So I looked for what had changed on my computer before the error. I had also installed TexLive to see the differences but since I was not using it primarily, I uninstalled it. Finally, I reinstalled it to check if LyLuaLatex works again and it does. I don't have enough knowledge of Lua to tell precisely what changes. Conclusion: the script works with TexLive only.
This isn’t the first time we face an error on MikTeX only. It seems not to find lilypond
executable the same way as TeXLive does. The problem is I’m running on Linux, and though I had already installed a Windows VM to test on MikTeX, I couldn’t find time to do it last months. If you could give me a MWE that throws this error, I’d look at it ASAP (which doesn’t necessarily mean tomorrow !).
I encountered the error of not being able to find the Lilypond executable on Windows. My guess is that when installing Lilypond on Windows, the installer set the following path in the system environment as C:\Program Files (x86)\LilyPond\usr\bin\lilypond-windows.exe. This causes a problem that I fixed by changing the PATH variable to C:\Program Files (x86)\LilyPond\usr\bin only.
Any Lilypond file would raise this error but I tested with this one:
\documentclass{article}
\usepackage{lyluatex}
\begin{document}
Here comes some music:
\begin{lilypond}
music = {c' e' g'}
\score {
\new Staff <<
\clef bass
\music
>>
}
\end{lilypond}
More text.
\end{document}
Hello, While everything was working properly until now, I have an error that I do not understand. I really need help! Here is the log after the attempt to compile a document: