Menu

#5865 Add dynamic-interface to keepAliveInterfaces

New
None
needs_work
Enhancement
2020-03-31
2020-03-26
No

Add dynamic-interface to keepAliveInterfaces

This will prevent \Remove[All]EmptyStaves from removing
Dynamics contexts containing dynamics attached to spacer
rests but no actual notes (the standard use case for a
Dynamics context). Also document the keepAliveInterfaces
property.

Thus, the dynamics line will no longer be removed in this example:

\version "2.21.0"

\layout {
  \context {
    \Score
    \RemoveAllEmptyStaves
  }
}

<<
  \new Staff { c'1 }
  \new Dynamics { s1\p }
>>

Discussion

  • Werner LEMBERG

    Werner LEMBERG - 2020-03-26

    Please create a Rietveld issue with your patch – even if it's only a single line! If you are unsure how to do it, someone else can do this for you.

     
  • Jean Abou Samra

    Jean Abou Samra - 2020-03-26

    Please wait a minute, I'm having an issue with this. I'll be asking on devel.

     
  • Jean Abou Samra

    Jean Abou Samra - 2020-03-31
    • Patch: new --> needs_work
     

    Last edit: Jean Abou Samra 2020-05-11