Sorry, I forgot saying that the code between backticks should be saved to a "test.tex" file.
Le mar. 31 mai 2022 à 17:19, Jacques Peron <catac...@hotmail.com> a écrit : > Le mar. 31 mai 2022 à 16:18, Kevin Cole <dc.l...@gmail.com> a écrit : > >> On Tue, May 31, 2022 at 10:02 AM Damian leGassick >> <damianlegass...@mac.com> wrote: >> >> > My sense is also that for smaller documents, learning Lyx is actually >> more work than just learning lilypond-book as tweaks outside of what Lyx >> provides (and there could be many) require you to know your way around >> normal ()TeX. >> >> Uh-oh. That's a bit worrisome, since I was stymied by lilypond-book >> alone... Since you're the only person so far who seems to have spent >> time with LyX, I'll take that under serious advisement... >> >> Depending on your needs, you could probably try with [lyluatex]( > https://github.com/jperon/lyluatex). For simple docs, it can be as simple > as (backticks excluded): > > ``` > \documentclass{article} > \usepackage{libertine} > \usepackage{lyluatex} > > \begin{document} > > \lilypond{a b c} > > % To include external test.ly, uncomment next line > %\lilypondfile{test.ly} > > \end{document} > ``` > > Then, assuming you have a proper installation of LilyPond and TeXLive (the > simple way: apt install lilypond texlive-full): > lualatex --shell-escape test > > Good luck! > > >