[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
parser location inTab
From: |
Gack McShite |
Subject: |
parser location inTab |
Date: |
Fri, 25 Jan 2019 22:22:30 -0500 |
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.
- parser location inTab,
Gack McShite <=
Re: parser location inTab, Thomas Morley, 2019/01/26
Re: parser location inTab, David Kastrup, 2019/01/26