---

** [issues:#5378] Temporary staff not ending**

**Status:** New
**Created:** Fri Jul 13, 2018 02:51 PM UTC by Palmer Ralph
**Last Updated:** Fri Jul 13, 2018 02:51 PM UTC
**Owner:** nobody


I'm labelling this as Type: Documentation, because that is the quicker fix, I 
think, even though I think the problem should also be treated as a bug.

Ralph

Urs Liska wrote :

In NR 3.1.3 Nesting music expressions

the following example is given for a temporary staff:

~~~~
\new Staff {
   \relative {
     r4 g'8 g c4 c8 d |
     e4 r8
     <<
       { f8 c c }
       \new Staff {
         f8 f c
       }
     >>
     r4 |
   }
}
~~~~

While this looks mostly right it is wrong because the temporary staff 
isn't properly ended, which you can see if you add more music:

~~~~
\new Staff {
   \relative {
     r4 g'8 g c4 c8 d |
     e4 r8
     <<
       { f8 c c }
       \new Staff {
         f8 f c
       }
     >>
     r4 |
     c1
  }
}
~~~~

If I'm not mistaken this temporary staff is only ended automatically if 
the polyphonic section aligns with a barline:

~~~~
\new Staff {
   \relative {
     r4 g'8 g c4 c8 d |
     e4 r8
     <<
       { f8 c c r4 }
       \new Staff {
         f8 f c s4
       }
     >>
     c2
   }
}
~~~~

If this behaviour is considered a bug it should be addressed.

Otherwise the documentation should be changed:

a) the cheap solution would be to simply make the example work properly 
by aligning it to a full measure
b) the proper solution would be to explain that when the polyphony 
doesn't align with a bar the temporary staff has to be stopped 
explicitly with \stopStaff.

The same is true for the second example in that section.



---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/testlilyissues/issues/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/testlilyissues/admin/issues/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Testlilyissues-auto mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto
  • [Lilypond-... Auto mailings of changes to Lily Issues via Testlilyissues-auto
    • [Lily... Auto mailings of changes to Lily Issues via Testlilyissues-auto

Reply via email to