Dear all,

I have no solution, only a comment:
Removing the '&' in the lines:
%\def\atnextbar{\znotes|\centerbar{\liftpause0}\en&}%
\def\atnextbar{\znotes|\centerbar{\pause}\en&}%
to become
%\def\atnextbar{\znotes|\centerbar{\liftpause0}\en}%
\def\atnextbar{\znotes|\centerbar{\pause}\en}%
voids the error message.

I do not understand why ther is a bar 2


Andre
-----Oorspronkelijk bericht----- From: Don Simons
Sent: Monday, April 15, 2019 12:45 AM
To: 'Werner Icking Music Archive'
Subject: [Tex-music] A mystery for the TeXperts

I had hoped someone would resolve this when it arose in the recent thread
"PMX: Changing of numbers of instruments" but no one did. So I'm trying
again, with a boiled-down version of the puzzle, with all the PMX-specific
stuff stripped away. The following MusiXTeX file works OK as is, but if line
15 is replaced by line 16, it fails. The only thing that changes is the
argument of \centerbar within the \atnextbar command, from \liftpause0 to
\pause . I would very much appreciate having one of the TeXperts explain why
it works in one case but not the other.

--Don Simons

=====================================
\input musixtex
\normalmusicsize%
\hsize=524pt
\vsize740pt
\def\nbinstruments{2}
\setstaffs12
\setclef1{60}
\setstaffs21
\setclef20
\generalsignature{ 0}%
\generalmeter{\meterfrac{4}{4}}%
\startmuflex\startpiece\addspace\afterruleskip%
% Bar count 1
\notes\wh{''C}|&\wh c\en%
\def\atnextbar{\znotes|\centerbar{\liftpause0}&%
%\def\atnextbar{\znotes|\centerbar{\pause}&%
% If above line is uncommented and one above that commented, fails.
\en}%
\setstaffs11%
\setclef10%
\def\nbinstruments{1}%
% Bar count 2
\stoppiece\startpiece
\notes\wh c\en%
\Endpiece
\vfill\eject\endmuflex
\bye
=====================================================

-------------------------------
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to https://tug.org/mailman/listinfo/tex-music
-------------------------------
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to 
https://tug.org/mailman/listinfo/tex-music

Reply via email to