IIUC: As in a separate thread here recently I, like some others, have put all my structure in a separate variable which all the separate parts use.

timing = {

 \repeat volta 2 s1*8

}

vlnNotes = \fixed c'' {

  [violin notes]

}

vlaNotes = \fixed c' {

  [viola notes]

}

violin = << \timing \vlnNotes >>

viola = << \timing \vlaNotes >>

with all of the above in a file which is included in a file for each voice/instrument which has

labeling information and other specific information such as header.

\include "musicFile"

...

\score{ \vlnNotes }


This enforces that all parts have the same structure.

Hope  that makes sense,

Paul



On 11/23/25 9:41 AM, Mats Bengtsson wrote:

A challenge for the Lilypond hacker gurus: Would it be possible to design a custom engraver/function/..., that triggers a warning if you typeset a score where some, but not all the parts have a repeat at the same spot?

As you may guess, I just found a missing repeat in one part of a piece I have typeset, where I had carefully proof read all the original parts against the LilyPond generated score, but hadn't proof read the individual parts.

Obviously, there are many situations where this warning wouldn't be desired, for example when you have different lyrics in the repeats, so it shouldn't be triggered by default. Still, it would be a nice feature to be able to activate from time to time.

   /Mats


Reply via email to