[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Avoid treating x as relative in \relative { \autochange {x} } (issue
From: |
Keith OHara |
Subject: |
Re: Avoid treating x as relative in \relative { \autochange {x} } (issue 250170043 by address@hidden) |
Date: |
Sat, 04 Jul 2015 11:07:58 -0700 |
User-agent: |
Opera Mail/12.16 (Win32) |
On Sat, 04 Jul 2015 05:45:04 -0700, <address@hidden> wrote:
Nobody knew \autochange was broken until Thomas found an unused
variable, so these test are useful if \autochange is useful.
Well, \autochange could have been useful, even to users of \relative if they
used their \relative inside the \autochange. You don't have a very strong
argument for yet another regression test.
It is nice if the behavior matches the documentation, and if it stays that way.
Your method of "these two measures should look the same" helps a lot.
You could make the music look a little more normal, though:
% \autochange needs to be given pitches in their final octaves,
% so if \relative is used it must be applied inside \autochange.
% The pitches in \autochange are unaffected by an outer \relative,
% so that the printed output shows the pitches that \autochange used.
\new PianoStaff {
\autochange \absolute {g4 c g' c}
\relative \autochange {g4 c g' c} % relative is ignored
\autochange \relative {g4 c, g'' c,,}
}