On Sat, Apr 12, 2025 at 8:06 AM James Harkins <jamshar...@zoho.com> wrote:
> I have \enablePolymeter in my layout block. > > In a minimal example, this prevents warnings about time signatures in the > middle of a bar. > > In my actual score, I get: > > warning: mid-measure time signature without \partial > \time 2/4 > > The main difference is that the minimal example doesn't use variables, > while the proper score does. I'd suggest that you make a minimal example that uses variables, and see if the use of variables is the issue. I'd be surprised if that is the case. But IMO you should test your hypotheses. > I'd have thought that variables used in the \score block would inherit > properties from that score's layout block, even if they are defined in the > included file. Is that not the case? > I'm not sure exactly what this means. It appears that you have a difference that goes beyond the use of variables and includes the use of an include file. When I have these issues, I make a simple example with the same file and variable structure. I almost always find out that there is a problem in my lilypond code, rather than a problem in lilypond. Using simple examples to test things out is a great tool. HTH, Carl