Thanks, Bob.

Commenting out that line in musixtex.tex worked. My apologies for not sending 
along a really minimal example (this was my first attempt at something like 
that).

And many thanks for taking the time to figure out a solution and for responding 
so quickly to my plea. I appreciate it very much, since I rely heavily on 
musixtex for producing musical examples, day in and day out.

Cheers,

Robert


On 19 Jan 2021, at 8:14 PM, Bob Tennent 
<[email protected]<mailto:[email protected]>> wrote:

|Did something inadvertent happen to \doublebar in the
|most recent update? Some files that use that command were
|working prior to the upgrade, but now that command is
|throwing an error: Undefined control sequence.

Hi. Thanks for the report and the example, which
unfortunately was not very "minimal". But there is indeed a
bug in musixtex.tex-131 which I think only manifests when
using \doublebar in an "extract" in a latex file.

I believe the fix is to comment out line 2314 in
musixtex.tex; i.e., \let\doublebar\doublebar@II. Somehow
that line appeared between 1.30 and 1.31 but I don't recall
why.

A simple workaround for you is to use \setdoublebar instead.
Here is a more minimal example:

 \documentclass[10pt]{article}
 \usepackage{musixtex}
 \begin{document}
 \begin{music}
 
\instrumentnumber{1}\setstaffs1{2}\setclef1{60}\generalmeter{\meterC}\nobarnumbers\generalsignature{2}%
 \startextract
 \NOtes\zwh a\wh c\nextstaff\zwh e\wh h\en
 \doublebar%   %PROBLEMATIC!  use \setdoublebar
 \endextract
 \end{music}
 \end{document}


Bob T.

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