Am 31.05.22 um 16:02 schrieb Damian leGassick:
That said, it is a good environment for embedding multiple Lilypond generated pdf/eps in a structured text document, because any changes in those pdf/eps files are picked up automatically without having to reimport them (cf MS Word) or even refresh Lyx - they just change.
Of course, since TeX takes what’s there in every run. Layout apps warning you that something has changed is sometimes helpful (but annoying in most cases).
be aware that multi-page lilypond scores need to be imported into Lyx one page at a time - it will not ‘flow’ a score between multiple boxes.
I don’t know how LyX does it, but you can select pages from multipage PDFs with the \includepdf command from the pdfpages package.
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.
I never liked LyX and its way to hide TeX behind a GUI, since you will get in trouble as soon as something happens or as you need something extra.
I’m also quite sure the usual way to include LilyPond scores is system by system, since lilypond-book produces them.
I actually don’t use LaTeX but ConTeXt where I wrote the LilyPond bridge myself (https://wiki.contextgarden.net/LilyPond; I should adapt it to a current LP version). It’s not as sophisticated as the collaboration between LaTeX and LilyPond, esp. if you look at Urs Liska’s work, but it was always enough for my songbooks.
Hraban