>|How risky is this for backward compatibility? 

With any change there is some risk. Has anyone ever
used braces or hboxes to localize the effect of ` and '
transposition? The workaround is to use ! before the closing
brace.

 >|I'll try to do some testing. The first thing I'll test is
 >|whether the proposed changes make ' and ` fully global,
 >|or if on the other hand the musixdoc description would
 >|still apply and the effect would still be restricted as
 >|described there.

I believe the first modification I listed would have
the desired effect, but of course any testing would be
worthwhile.

Bob


 >|> -----Original Message-----
 >|> From: TeX-Music [mailto:tex-music-boun...@tug.org] On Behalf Of Bob
 >|> Tennent
 >|> Sent: Friday, February 24, 2017 7:47 AM
 >|> To: tex-music@tug.org
 >|> Subject: [Tex-music] globalizing ` and '
 >|>
 >|> According to musixdoc.pdf,
 >|>
 >|>   These characters have cumulative effects but in a somewhat
 >|>   restricted sense. They will alter the value of \transpose,
 >|>   but only until changing to a different staff or instrument
 >|>   or encountering \en, at which time it will be reset to the
 >|>   value it had before the accents were used. (That value is
 >|>   stored in another register called \normaltranspose).
 >|>
 >|> In fact, with current musixtex.tex, the effect of these characters will
 >|also be
 >|> undone automatically if used within a { } brace-pair or an \hbox. This
 >|would
 >|> seem to be incorrect behaviour and I'm proposing making the changes to
 >|> \transpose effected by ` and ' to be "global" and undone only as
 >|described
 >|in
 >|> musixdoc.
 >|>
 >|> Comments?
 >|>
 >|> If anyone wants to test the proposed changes, here they are:
 >|>
 >|> \def\@ndstaff{\egroup\transpose\normaltranspose ...
 >|>                      ^^^^^^^^^^^^^^^^^^^^^^^^^^ \def\xgetn@i
 >|>   :
 >|>   \if '\t@ruc \global\advance\transpose\s@v@n   \C@Get \fi
 >|>   \if `\t@ruc \global\advance\transpose-\s@v@n  \C@Get \fi
 >|>               ^^^^^^^
 >|>
 >|>
 >|> Bob T.
 >|> -------------------------------
 >|> TeX-music@tug.org mailing list
 >|> If you want to unsubscribe or look at the archives, go to
 >|> http://tug.org/mailman/listinfo/tex-music
 >|
 >|-------------------------------
 >|TeX-music@tug.org mailing list
 >|If you want to unsubscribe or look at the archives, go to
 >|http://tug.org/mailman/listinfo/tex-music
 >|
-------------------------------
TeX-music@tug.org mailing list
If you want to unsubscribe or look at the archives, go to 
http://tug.org/mailman/listinfo/tex-music

Reply via email to