[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
\keepWithTag bug, no output
From: |
Rick Hansen (aka RickH) |
Subject: |
\keepWithTag bug, no output |
Date: |
Thu, 14 Dec 2006 06:58:27 -0800 (PST) |
v2.11.2 Windows...
In the following example one tag filter works but the other fails.
If you use the "chordfret" filter name to generate the chord inversions it
fails, but if you use the "chordname" tag filter to generate those chord
inversions it works. Conversely I also tried \removeWithTag but got the
same results.
The syntax looks correct to me, in the end, I want to generate all the
\transpose statements unconditionally, but only generate those chord
inversions that would be appropriate for my desired tag filter.
<<<<<<<<<<<<<<<<<<<<<<<<< EXAMPLE BEGIN
\version "2.11.2"
\include "english.ly"
varNamesFrets = {
s4
\transpose c c
\tag #'chordname { <c e g a d'> }
\tag #'chordfret { \relative { <e\5 a d g c> } }
\transpose c df
\tag #'chordname { <c e g a d'> }
\tag #'chordfret { \relative { <e\5 a d g c> } }
\transpose c d
\tag #'chordname { <c e g a d'> }
\tag #'chordfret { \relative { <e\5 a d g c> } }
}
\new Staff
{
% this filter fails to produce a score...
\keepWithTag #'chordfret \varNamesFrets
% this filter works fine...
%\keepWithTag #'chordname \varNamesFrets
}
<<<<<<<<<<<<<<<<<<<<<<<<<<<< EXAMPLE END
--
View this message in context:
http://www.nabble.com/%5CkeepWithTag-bug%2C-no-output-tf2821080.html#a7873919
Sent from the Gnu - Lilypond - Bugs mailing list archive at Nabble.com.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- \keepWithTag bug, no output,
Rick Hansen (aka RickH) <=