[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: parser location inTab
From: |
Thomas Morley |
Subject: |
Re: parser location inTab |
Date: |
Sat, 26 Jan 2019 10:24:02 +0100 |
Am Sa., 26. Jan. 2019 um 08:18 Uhr schrieb Gack McShite <address@hidden>:
>
> 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.
Run 'convert-ly'
Cheers,
Harm
Re: parser location inTab,
Thomas Morley <=
Re: parser location inTab, David Kastrup, 2019/01/26