Trying to clean up errors. I see this pattern a lot, so I assume it should work.
TrackAVoiceAMusic = #(define-music-function (parser location inTab) (boolean?) #{ \tempo 4=106 \clef #(if $inTab "tab" "treble_8") and then later \context Voice = "TrackAVoiceAMusic" { \TrackAVoiceAMusic ##f } or \context TabVoice = "TrackAVoiceAMusic" { \removeWithTag #'chords \removeWithTag #'texts \TrackAVoiceAMusic ##t } Originally had \version "2.14.0" changed to \version "2.18.0" Same result. Thanks for hints. _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user