\version "2.19.21" \include "openlilylib" \useLibrary ScholarLY \useModule scholarly.annotate #(display "Scholarly loaded\n") \setOption scholarly.annotate.export-targets #'("plaintext" "latex") \score { \relative c'' { \time 2/4 g4 g g g g \musicalIssue \with { message = "last note, A. bar 3" context = "Some staff" } NoteHead g \break R2*3 \break g4 g g g g g } \layout { %{ %Toggle this block comment to reveal problem: \context { \RemoveEmptyStaffContext } %} } }