"Simons, Don" wrote:
> 
> This looks pretty deep, and I don't have a quick solution.  It's either a
> problem with MusiXTeX, or (more likely) with something PMX does at the
> movement break involving the macros \newnoi or \newmovement (in pmx.tex).
> [...]
> This is the example.
> The endbar is missing in staff 2 on the 1st system.
> If you remove the \\sepbarrules\ <file://\\sepbarrules\>  or the new
> movement, then the the bar is there.
> [...]
> -----
>     5   4    3    4   3   4   0  -1
>   1   2  20  .0
> 
> 
> 
> 
> btttt
> ./
> Arbd
> \\sepbarrules\ <file://\\sepbarrules\>
> a83 g f4 e /
> c85 b a4 g /
> e84 g  c4  c- /
> c84 b  a4  g /
> a84 g  f4  e /
> L2M+7n234tt
> m2222
> a24 a /
> a24 a /
> -----


Indeed - the problem seems to be missing synchronization of system break
and staff number change. The switch of instrument 1 from 2 staves to 1
staff becomes effective before the system is finished, therefore the
system-finishing routines ignore the 2nd staff.

Here's a fragment of the resulting TeX input file:

\newnoi{2}%
\setstaffs11%
...
% Bar count 2
\newmovement70%
\generalmeter{\meterfrac{2}{2}}%
\alaligne

If you change this to:

\newnoi{2}%
%\setstaffs11%
...
% Bar count 2
\newmovement70%
\generalmeter{\meterfrac{2}{2}}%
\stoppiece\setstaffs11\contpiece

the phenomenon vanishes.

Considering similar problems which have been discussed on the mailing
list, I'd suggest to generally enclose all stuff that affects
system-related properties in \stoppiece...\contpiece or some related
construct.

Regards,

Rainer

Reply via email to