I guess the location isn't the matter, since I can point it to a wrong place (no executable, given me the error "LilyPond could not be started") or a correct path (i.e, path to executable, which outputs the error "LilyPond failed to compile the score"). For what I can perceive, the executable nor the path isn't the problem - I've tried with the system standard location (/usr/bin), on my downloads folder or my backup on versions. The output log is practically the same as the one I sent....
Em dom., 11 de mai. de 2025 às 15:41, Alexander Weidner < alexander.weid...@posteo.de> escreveu: > In the preamble I have this: > > \usepackage[program=/opt/homebrew/bin/lilypond]{lyluatex} > > Maybe you need your path to the lilypond-engine. > > Best regards! Alexander > > Am 11.05.2025 um 15:22 schrieb Lucas Cavalcanti <lucaspi...@gmail.com>: > > Karl and Alexender, thank you very much for the contribution. I'm not an > EMACS or VIM user, but it still is useful information. > > Valentin, and everyone who might be intrigued, I would appreciate some > help with regards to the .tex file.... I've added the lyluatex package, > specified the magic command for the compiler (% !TeX program = lualatex) > and have run the command as instructed by the lyluatex's documentation > (lualatex --shell-escape). > The compiler throws errors of "The score doesn't contain any music", even > using the "nofragment" argument of the package's call. > > Any help would be appreciated! > > > > Em dom., 11 de mai. de 2025 às 05:12, Valentin Petzel <valen...@petzel.at> > escreveu: > >> > Hello! I'm starting a task that requires LaTeX, so I've decided to use >> the >> > lilypond-book. I've managed to successfully use the command and compile >> all >> > examples shown in the learning material. Now, I've found myself in a >> tricky >> > spot: I'd like to use a Tex editor directly on the .lytex file to reduce >> > steps, especially when hopping between the editor, the shell terminal >> and >> > the PDF output. Do you guys have an editor to recommend, or an effective >> > process you have developed? >> > >> > Many thanks, >> > Lucas >> >> Hello Lucas, >> >> You could instead try using LuaLaTeX which has a native package by >> Jacques >> Peron and Urs Liska called `lyluatex`. This would allow you to work >> directly >> in TeX environment with the stuff `lilypond-book` would do instead being >> done >> in a lua extension. >> >> Else any TeX-Editor that allows setting a custom TeX command should be >> fine. >> >> Cheers, >> Tina > > <test.log><test.tex><96d258f1d0b184738c2c9ba6a3092b15.ly> > <96d258f1d0b184738c2c9ba6a3092b15.log> > > >