\version "2.19.21" \include "openlilylib" \useLibrary ScholarLY \useModule scholarly.annotate #(display "Scholarly loaded\n") \setOption scholarly.annotate.export-targets #'("plaintext" "latex") \score { \context ChoirStaff << \context Staff = staffI << \set Staff.instrumentName = "S" \set Staff.shortInstrumentName = "S" \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 } >> \context Staff = staffII << \set Staff.instrumentName = "A" \set Staff.shortInstrumentName = "A" \relative c'' { \time 2/4 \repeat unfold 18 c4 } >> >> \layout { \context { \Staff \RemoveEmptyStaves } } }