\version "2.19.21" \include "openlilylib" \useLibrary ScholarLY \useModule scholarly.annotate #(display "loaded\n") %\registerOption documentation.include-file "scholarly/annotate" %\loadModule "_internal/doc-include/usage-example.ily" \setOption scholarly.annotate.export-targets #'("plaintext" "latex") musicStaffI = \relative c'' { \time 2/4 \override Staff.BarNumber.break-visibility = ##(#t #t #t) \repeat unfold 3 { \repeat unfold 6 c4 \break } c4 c c c c \criticalRemark \with { message = "GK's critical remark in S bar 12" context = "Some staff" } NoteHead c } musicStaffII = \relative c'' { \override Staff.BarNumber.break-visibility = ##(#t #t #t) \time 2/4 \repeat unfold 6 g4 \time 3/4 \repeat unfold 16 g4 \musicalIssue \with { message = "GK's musical issue in A bar 9" context = "Some staff" } NoteHead g g } \score { \context ChoirStaff << \context Staff = staffI << \set Staff.instrumentName = "S" \set Staff.shortInstrumentName = "S" \context Voice = voiceI \with { \consists "Bar_number_engraver" } \musicStaffI >> \context Staff = staffII << \set Staff.instrumentName = "A" \set Staff.shortInstrumentName = "A" \context Voice = voiceII \with { \consists "Bar_number_engraver" } \musicStaffII >> >> \layout { %%{ \context { \Score \remove "Timing_translator" \remove "Default_bar_line_engraver" \remove \annotationProcessor } \context { \Staff \consists "Timing_translator" \consists "Default_bar_line_engraver" \consists \annotationProcessor } %%} } }