2011/10/24 Don Simons <dsim...@roadrunner.com>:
> ...
> % Paragraph 5 line 26 bar 3
> L2
> \mtxZchar{10}{3.}\ f4 f4 e4 d4 f2 of c4d ba8 | /
>
> % Paragraph 6 line 30 bar 4
> \\\let\ept\endpiece\def\endpiece{\setrightrepeat\ept}\
> \mtxZchar{10}{4.}\ a2 g2 f0 of | Rb
>  /
>
> % Coded by M-Tx
> =============================
>
> I've confirmed that this gives the repeat, although I don't yet understand
> why. The PMX syntax "...| Rb /" is pretty flakey and I'd have thought either
> we'd get a PMX error or the "Rd" would be ignored. But neither is happening;
> the "Rd" causes \endpiece rather than \Endpiece , and the inline TeX
> redefinition of \endpiece does the trick.
>

This is a very old kludge and all I can remember about it is that I
tried many things before finding something that worked.  I'm sure that
PMX has much nicer ways of doing it nowadays, but if I ever revise
M-Tx thoroughly it will be a rewrite in Lua, not a patch to the Pascal
source.

> This all kinda makes me wonder how M-Tx users get double bars at the ends of
> pieces (since using "|" after the last line in the M-Tx evidently gave Rd in
> the PMX and \endpiece in the TeX) , and that'll be my next investigation.
>

They do nothing.  To get anything except the double bar, you do something.

Dirk

-------------------------------
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