I've just uploaded PMX beta 2.507 to
 http://icking-music-archive.org/software/pmx/pmx2507.zip .
It has an enhancement to the new global option AK for vertical positioning
of rests in two-voice staves that I introduced in version 2.505: The option
L ("look left") in a rest will cause the vertical position of that rest to
be based on the preceding note, rather than the following one as is the
default when AK has been issued.

There is a bugfix allowing unbeamed xtups with two flags.

Finally there's a partial bugfix addressing a problem Cornelius recently
flagged: In unbeamed xtuplets, the length of the bracket and position of the
number are now adjusted horizontally to account for any inserted hardspaces.
The fix is only partial in that the bracket still can end before the last
stem. The algorithm is only approximate. The reason it's not exact is rather
complicated. It has to do with the fact that every inserted hardspace
decreases the space available for scaled space, but that in turn changes the
exact hardspace required, since the fixed-length gaps where hardspace must
be added have some scalable space in them too.
Basically you have to get to the end of the line before you have enough
information to compute the ratio of hardspace to scaled space. The brackets
span both hardspace and scaled space, but when the \ovbkt command is issued,
it has to give the length in \elemskips (which is the ratio of hardspace to
scaled space). If the bracket has to span any hardspace, then you can't know
the right number of \elemskips until you get to the end of the line. Instead
of working out the necessary logic, I have punted and calculated each
bracket length completely ignoring the effect of hardspace on \elemskip.

I can see two possible ways to a full solution. First I could work out the
necessary logic and programming, which I might do just for the challenge.
But it seems to me that the TeXperts (Stanislav, are you listening?) ought
to be able to design a two=part TeX command that draws a bracket like a
slur, i.e., "from point A to point B" rather than from point A then move 3
inches to the right and 1 inch up." That would then make drawing these
brackets so much easier that PMX could learn to do it really quick.

--Don Simons


_______________________________________________
TeX-music mailing list
TeX-music@icking-music-archive.org
http://icking-music-archive.org/mailman/listinfo/tex-music

Reply via email to