lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: include header conflicts


From: David Kastrup
Subject: Re: include header conflicts
Date: Mon, 26 Nov 2012 07:49:45 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

Kieren MacMillan <address@hidden> writes:

> Hello all!
>
> I've got an individual .ly file for each cue (song or orchestral
> interlude) in my musical. I want to include them in a complete score
> .ly file, but when I do that the header variables conflict (e.g., the
> first or last 'title' or 'piece' value gets printed in the header of
> all scores).

You could suck the whole file into one score and get just the music back
out again using ly:score-music, something like

#(ly:score-music #{ \score { \include "xxx.ly" } #})

The music will already be "scorified" (repeat chords expanded, \\
replaced and other things), so you just need to add it to your book or
whatever.

-- 
David Kastrup




reply via email to

[Prev in Thread] Current Thread [Next in Thread]