[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lilypond-auto] Issue 4083 in lilypond: \keepWithTag does not nest w
From: |
lilypond |
Subject: |
Re: [Lilypond-auto] Issue 4083 in lilypond: \keepWithTag does not nest well |
Date: |
Mon, 01 Sep 2014 22:16:50 +0000 |
Comment #13 on issue 4083 by address@hidden: \keepWithTag does not
nest well
https://code.google.com/p/lilypond/issues/detail?id=4083
<http://lsr.di.unimi.it/LSR/Item?id=871> has a few functions to solve this
problem.
I attached a \chooseWithTag above because that function was not already in
the LSR (and already I wish I had written \chooseWithTag to keep untagged
material).
One of the functions (if generalized to work with a list of tags) is
similar to (a)
\cleansedKeepOrRemoveWithTag tags tagLayer music
"keep the music with a tag in 'tags' or without any tag among 'tagLayer',
and remove the tags themselves in 'tagLayer' from the result; thus 'tags'
can be included in 'tagLayer' to keep its music, but clean the tags so the
music is not caught by other filters."
Instead of a global registry of tagLayers, we need to explicitly list
tagLayer on every use of \cleansedKeepOrRemoveWithTag that we want to
restrict. That repeating, however, does not seem to be a problem in
practice. Cleaning up after ourselves lets other uses of \keepWithTag
remain innocent of whatever new tags we define.
A new function similar to (maybe simplified) \cleansedKeepOrRemoveWithTag,
while keeping the old \keepWithTag, seems wise.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
- Re: [Lilypond-auto] Issue 4083 in lilypond: \keepWithTag does not nest well, lilypond, 2014/09/01
- Message not available
- Re: [Lilypond-auto] Issue 4083 in lilypond: \keepWithTag does not nest well, lilypond, 2014/09/01
- Message not available
- Re: [Lilypond-auto] Issue 4083 in lilypond: \keepWithTag does not nest well,
lilypond <=
- Message not available
- Re: [Lilypond-auto] Issue 4083 in lilypond: \keepWithTag does not nest well, lilypond, 2014/09/02
- Message not available
- Re: [Lilypond-auto] Issue 4083 in lilypond: \keepWithTag does not nest well, lilypond, 2014/09/02
- Message not available
- Re: [Lilypond-auto] Issue 4083 in lilypond: \keepWithTag does not nest well, lilypond, 2014/09/02
- Message not available
- Re: [Lilypond-auto] Issue 4083 in lilypond: \keepWithTag does not nest well, lilypond, 2014/09/02
- Message not available
- Re: [Lilypond-auto] Issue 4083 in lilypond: \keepWithTag does not nest well, lilypond, 2014/09/02
- Message not available
- Re: [Lilypond-auto] Issue 4083 in lilypond: \keepWithTag does not nest well, lilypond, 2014/09/03
- Message not available
- Re: [Lilypond-auto] Issue 4083 in lilypond: \keepWithTag does not nest well, lilypond, 2014/09/03
- Message not available
- Re: [Lilypond-auto] Issue 4083 in lilypond: \keepWithTag does not nest well, lilypond, 2014/09/05
- Message not available
- Re: [Lilypond-auto] Issue 4083 in lilypond: \keepWithTag does not nest well, lilypond, 2014/09/05
- Message not available
- Re: [Lilypond-auto] Issue 4083 in lilypond: \keepWithTag does not nest well, lilypond, 2014/09/05