Thank you very much Don,
The problem is that in a real piece it is difficult to know the number of
the beam.
But on your saying: 'Remember, by using numbers for pitches instead of
letters, you preserve the octave register.', i have put accolades around all
'\ibbu##1{##2}0' to make any possible changes in the octave register locally
and now it seems to work.
So you made me very happy (once more).
Andre
=======
2 1 1 4 1 4 0 0 1 1 20 0
bt
./
\\interstaff{14}\
\\let\qbsav\qb\let\tbusav\tbu\
% terminate beam up
\\def\tuptu{\def\qb##1##2{\
\\let\qb\qbsav\tbu##1\qb{##1}{##2}}}\
% start beam up
\\def\tupsu{\def\qb##1##2{\
\\let\qb\qbsav{\ibbu##1{##2}0}\qb##1{##2}}}\
\\def\tupsut#1{\def\qb##1##2{\
\\let\qb\qbsav\ibbu##1{##2}0\qb##1{##2}}}\
%
c43x5 \tuptu\ c \tupsu\ c c c
c43x5 \tuptu\ c \tupsu\ c c c
[u c4x5 \tuptu\ c \tupsut2\ g c c ] /
r4
b43x4 \tuptu\ b \tupsu\ b b
b4x4 \tuptu\ b \tupsu\ b b /
m5858
% no tuplets: same error
[ c1 c \tuptu\ c \tupsu\ c c c c8 c ] /
b1da b8+ b3a b8d bda /
[ c1 c \tuptu\ c \tupsut2\ g c c c8 c ] /
[ b8 b3 b8 b3 b b8d b1 b3 ] /
%
=========
----- Original Message -----
From: "Don Simons" <[EMAIL PROTECTED]>
To: "Typesetting music with TeX" <[email protected]>
Sent: Saturday, September 30, 2006 9:57 PM
Subject: RE: [TeX-music] pmx - splitting a row of beamed notes
Someone with more patience than I have may be able to work out exactly how
the octave register is getting screwed up. But I'll just suggest that for
simply stopping and restarting an existing beam, you could use a
completely
different and much simpler method. It's based on the fact that \ibbu and
\tbu are non-spacing commands. For example, in the bass clef bar 2,
c43x5 \tbu1\ c \ibbu130\ c c c
works just fine. Remember, by using numbers for pitches instead of
letters,
you preserve the octave register.
--Don Simons
_______________________________________________
TeX-music mailing list
[email protected]
http://icking-music-archive.org/mailman/listinfo/tex-music