> However, I noticed a new issue when embedding the score using
> \lilypondfile inside a LaTeX document (as part of a book I’m
> compiling). In this setup, both the copyright and tagline fields
> completely disappear, even though they are correctly rendered when
> compiling the score on its own.
>
> I was wondering:
> – Is this behavior expected when embedding LilyPond with LaTeX (e.g., via
> lilypond-book or lytex)?
Yes. You can find this in the lilypond-book documentation:
If a ‘tagline’ is required, either default or custom, the entire
snippet must be enclosed in a ‘\book { }’ construct.
\book {
\header { title = "A scale in LilyPond" }
\relative { c' d e f g a b c }
}
Werner