Can you add \\tracingmacros1\ after the \\makeatother\ and attach the resulting 
TeX log file? Maybe it'll be obvious from the expansions what's getting in the 
way? (sorry - my MiKTeX installation is lazily out-of-date, and I haven't got 
an easy-to-hand VirtualBox at the moment to put a latest-and-greatest one with 
PMX on!)


David 

> -----Original Message-----
> From: TeX-Music [mailto:tex-music-boun...@tug.org] On Behalf Of Don Simons
> Sent: 23 September 2015 01:56
> To: 'Werner Icking Music Archive'
> Subject: Re: [Tex-music] musixjaz challenges
> 
> Thanks for the suggestion, David. Unfortunately, I can't seem to get
> anywhere by redefining \@sa. Here's an example illustrating the
> difficulty:
> it gives exactly the same result whether or not I redefine \@sa. (To
> ensure it was using \sh etc., I had to redefine \bigsh etc because PMX
> uses the
> latter.) That suggests to me that the TeX code for the example is never
> using \@sa.
> 
> ==============================
> 1 1 4 4 4 4 0 1
> 1 1 20 0
> 
> t
> .\
> \\let\bigsh\sh\let\bigna\na\let\bigfl\fl\
> \\makeatletter\
> \\def\@sa{~}\
> \\makeatother\
> Ar
> c44 ds ef ff g af an b c0 /
> ==============================
> 
> I've stared at the MusiXTeX coding for accidentals, but it'll be a very
> long time before I can make any sense out of it at all, if ever.
> 
> The good news is that the transposition project demands lots of manual
> intervention for other reasons (such as transposing the chord symbols), so
> fixing the accidentals is no additional big deal.
> 
> --Don Simons
> 
> > -----Original Message-----
> > From: TeX-Music [mailto:tex-music-boun...@tug.org] On Behalf Of David
> > Allsopp
> > Sent: Sunday, September 20, 2015 12:24 PM
> > To: Werner Icking Music Archive <tex-music@tug.org>
> > Subject: Re: [Tex-music] musixjaz challenges
> >
> > Don Simons wrote:
> > > Some months ago I posted some fonts and a file musixjaz.tex with
> > > macros that enable typesetting in a way that emulates a jazz fake
> > > book. I've had very little feedback. Nevertheless, I'd like to point
> > > out shortcoming and ask if anyone is interested in pursuing a fix. I
> > > had created a book of original jazz compositions by a friend and
> > > myself (http://www.pchpublish.com/bbbxv/jasdas.pdf). While visiting
> > > him we played thru some of them with me on clarinet. It was very
> > > taxing to do the necessary transposition, so later I sat down and
> > > tried transposing the pmx/musixtex score. But I discovered that
> > > relative accidentals don't work :-( . The reason is that in
> > > musixjaz.tex, the macros \fl, \sh, and \na are redefined in a
> > > simplistic way to create accidentals in the jazz font. The challenge
> > > is to figure out a way to preserve the same functionality with basic
> > > untransposed scores, but also to get relative accidentals to work
> properly
> > with the jazz font accidentals, so jazz scores can be tra!
> > >  nsposed.
> > >
> > > Any takers?
> > >
> > > A related and even greater challenge is to figure out a way to
> > > transpose the jazz chord symbols.
> >
> > Rather than overriding \sh, \bigsh, etc. I think you want to override
> > \@sa
> and
> > leave the accidental macros as they are. The process in musixtex.tex
> > for determining which accidental to use ultimately leaves the
> > character index
> to
> > display in \n@v (see the calls in \@sa to \musixchar\n@v and also all
> > the \ifcase in \@Na, \@Fl, \@Sh, etc.). You can then alter the call to
> \musixchar
> > to use your font and character indexes instead. The mapping is
> >
> > \n@v=50 => flat
> > [\n@v=51 => double flat]
> > \n@v=52 => sharp
> > [\n@v=53 => double sharp]
> > \n@v=54 => natural
> >
> > Hope that might help...
> >
> >
> > David
> >
> > -------------------------------
> > 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