Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nesting of <group-barline> #576

Open
lemzwerg opened this issue Mar 2, 2025 · 2 comments
Open

nesting of <group-barline> #576

lemzwerg opened this issue Mar 2, 2025 · 2 comments

Comments

@lemzwerg
Copy link
Contributor

lemzwerg commented Mar 2, 2025

This is a documentation issue.

The description of <group-barline> says:

The <group-barline> element indicates if the group should have common barlines.

However, it is not covered what to do with nested groups, AFAICS – has the inner or the outer group higher priority?

<part-group number="1" type="start">
  <group-barline>yes</group-barline>
</part-group>
  <part-group number="2" type="start">
    <group-barline>no</group-barline>
  </part-group>
...

Here is what both Finale and MuseScore do:

outer inner bar lines
yes yes all connected
yes no all connected
no yes inner group connected
no no not connected

As can be seen, only 'no' can be overridden by an inner group, which is not obvious from the description, and which thus should be documented.

@mdgood
Copy link

mdgood commented Mar 2, 2025

I'm sorry, I don't see the need here. There's no "erase" option for this element, so if any <part-group> has a "yes" for <group-barline>, that barline is present across all the staves in the group.

@lemzwerg
Copy link
Contributor Author

lemzwerg commented Mar 2, 2025

OK, thanks. What you say is exactly the same as what I say, just using different words 🙂 And I still think it should be emphasized that nested groups cannot override the outermost group's setting. Better to be a bit on the verbose side to avoid people like me asking such questions...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants