Re: [tablatures] \hideNotes in TabStaff |
[ Thread Index |
Date Index
| More lilynet.net/tablatures Archives
]
- To: Trevor Daniels <t.daniels@xxxxxxxxxxx>
- Subject: Re: [tablatures] \hideNotes in TabStaff
- From: Marc Hohl <marc@xxxxxxxxxx>
- Date: Fri, 29 Jan 2010 11:53:50 +0100
- Cc: tablatures@xxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1264762432; l=2099; s=domk; d=hohlart.de; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References: Subject:CC:To:MIME-Version:From:Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=ObMBwwO/f3/kwjyuBGb0bVWQ0Ug=; b=QvLev8izTKXaWke5lTzXuc6xwt5Idj4J5y5sVYrOCUv0mxf5gWH8yXdOCxeOLSvfyeF BD1Pq6nXNBdzc4LyrNDTCYHu3Gy2fI6Clas0RYY0Gbx46MxMuG0T293vB52nq8YFhSiFR KXGyxbkjerMkE9VevZTJIlNSC6k/N0tUn4I=
Trevor Daniels schrieb:
Moved to tab list from -user ..
Marc Hohl wrote Thursday, January 28, 2010 8:27 AM
Trevor Daniels schrieb:
\hideNotes and \unHideNotes are designed to work only with
ordinary staves and voices. In TabStaff they will hide
stems, beams, dots, etc (if these are being displayed)
but not the fret labels from TabNoteHead. Maybe they should,
or are there situations where you would want to hide notes
in the normal staff but not in TabStaff or vice versa?
I have not used \hideNotes very often, but as we want to use the input
both for normal staves and tablature staves without tweaking too much,
I think it would make sense to include the functionality into
\hideNotes,
but it seems that this would not be straightforward, as, for example,
\revert Stem #'transparent would make the tablature stems visible, too.
It would, which you would not want to do normally but
which would be correct if you were displaying stems in
tab before calling \hideNotes. This is not so much a
problem with \hideNotes as with the way \tabFullNotation
is implemented. You would have exactly the same problem
with \hideTabNotes (or whatever it might be called).
You are right, this is a serious limitation of the current implementation.
This is a limitation of using predefined commands - when
several changes interact there is no means of testing
anything. The fix would be to use context properties
rather than \hideNotes and \tabFullNotation. These
could then be tested in the engravers, and the engravers
could work out what values the properties should have.
So ideally, we would have a context property switching from
\tabFullNotation to \tabNumbersOnly behavior?
Could you specify in more detail how this could be done, so
1) this could be added to the tracker (I think #810 is the proper place
for it)
2) someone could start implementing it (perhaps this way I can learn
some more about
how engravers work)
Thanks,
Marc
Trevor