Hi all,

I found a small error in musixper.tex: If you load musixper.tex and
musixdia.tex is not yet loaded then the catcode of @ will not be reset
correctly, because musixdia will overwrite the definition of \catcodeat.
I've written a small patch (see below) and the new version is also
attached (the file is small enough). I'm not sure whom to contact about
such changes. Is there an official maintainer for MusiXTeX?

Best Regards,
David


da...@osgiliath:~/Lieder/texmf$ diff -u musixper.tex.old  musixper.tex.new
--- musixper.tex.old    2010-09-27 16:08:21.787411269 +0200
+++ musixper.tex.new    2010-09-27 16:10:37.392187396 +0200
@@ -16,16 +16,16 @@
 %   the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 %   Boston, MA 02111-1307, USA.
 %
-\immediate\write16{MusiXPERcussion T.60\space<23 September 1996>}%
-
 \ifx\undefined\drumclef \else \endinput \fi
 
-\edef\catcodeat{\the\catcod...@}\catcode`\@=11
+\immediate\write16{MusiXPERcussion T.60\space<27 September 2010>}%
 
 \ifx\undefined\dqb
   \input musixdia
 \fi
 
+\edef\catcodeat{\the\catcod...@}\catcode`\@=11
+
 % if you need pointed percussion notes, say '\p[p][p]t n\xqu n' or '\xqu{.n}'
 % if you need them more often define them by your one



%
%   This file is part of MusiXTeX
%
%   MusiXTeX is free software; you can redistribute it and/or modify
%   it under the terms of the GNU General Public License as published by
%   the Free Software Foundation; either version 2, or (at your option)
%   any later version.
%
%   MusiXTeX is distributed in the hope that it will be useful,
%   but WITHOUT ANY WARRANTY; without even the implied warranty of
%   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
%   GNU General Public License for more details.
%
%   You should have received a copy of the GNU General Public License
%   along with MusiXTeX; see the file COPYING.  If not, write to
%   the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
%   Boston, MA 02111-1307, USA.
%
\ifx\undefined\drumclef \else \endinput \fi

\immediate\write16{MusiXPERcussion T.60\space<27 September 2010>}%

\ifx\undefined\dqb
  \input musixdia
\fi

\edef\catcodeat{\the\catcod...@}\catcode`\@=11

% if you need pointed percussion notes, say '\p[p][p]t n\xqu n' or '\xqu{.n}'
% if you need them more often define them by your one

\def\drumclef{\raise2\internote\hbox{\keychar77}}

%%% notes with a circled diagonal cross head, for closed hihat ...

\def...@symbol{\def\q@u{\musixchar113}}

\def\dcqu{...@symbol\@qu}
\def\dcql{...@symbol\@ql}

\def\dcqb{...@symbol\@qb}

\def\dczq{...@symbol\@zq}

\def\dccu{...@symbol\@cu}
\def\dcccu{...@symbol\@ccu}
%\def\dccccu{...@symbol\@cccu}
%\def\dcccccu{...@symbol\@ccccu}
\def\dccl{...@symbol\@cl}
\def\dcccl{...@symbol\@ccl}
%\def\dccccl{...@symbol\@cccl}
%\def\dcccccl{...@symbol\@ccccl}

%%% notes with a diagonal cross half circle head, for half open hihat ...

\def...@symbol{\def\q@u{\musixchar112}}

\def\dhqu{...@symbol\@qu}
\def\dhql{...@symbol\@ql}

\def\dhqb{...@symbol\@qb}

\def\dhzq{...@symbol\@zq}

\def\dhcu{...@symbol\@cu}
\def\dhccu{...@symbol\@ccu}
%\def\dhcccu{...@symbol\@cccu}
%\def\dhccccu{...@symbol\@ccccu}
\def\dhcl{...@symbol\@cl}
\def\dhccl{...@symbol\@ccl}
%\def\dhcccl{...@symbol\@cccl}
%\def\dhccccl{...@symbol\@ccccl}

%%% notes with a diagonal cross head, for open hihat ...

\def...@symbol{\def\q@u{\musixchar111}}

\def\doqu{...@symbol\@qu}
\def\doql{...@symbol\@ql}

\def\doqb{...@symbol\@qb}

\def\dozq{...@symbol\@zq}

\def\docu{...@symbol\@cu}
\def\doccu{...@symbol\@ccu}
%\def\docccu{...@symbol\@cccu}
%\def\doccccu{...@symbol\@ccccu}
\def\docl{...@symbol\@cl}
\def\doccl{...@symbol\@ccl}
%\def\docccl{...@symbol\@cccl}
%\def\doccccl{...@symbol\@ccccl}

%%% notes with a doublesharp-head

\de...@symbol{\def\q@u{\musixchar114}}

\def\xqu...@symbol\@qu}
\def\xql...@symbol\@ql}

\def\xqb...@symbol\@qb}

\def\xzq...@symbol\@zq}

\def\xcu...@symbol\@cu}
\def\xccu...@symbol\@ccu}
%\def\xcccu...@symbol\@cccu}
%\def\xccccu...@symbol\@ccccu}
\def\xcl...@symbol\@cl}
\def\xccl...@symbol\@ccl}
%\def\xcccl...@symbol\@cccl}
%\def\xccccl...@symbol\@ccccl}

%%% notes with a circled doublesharp-head

\def...@symbol{\def\q@u{\musixfo...@cxv}}

\def\oxqu{...@symbol\@qu}
\def\oxql{...@symbol\@ql}

\def\oxqb{...@symbol\@qb}

\def\oxzq{...@symbol\@zq}

\def\oxcu{...@symbol\@cu}
\def\oxccu{...@symbol\@ccu}
%\def\oxcccu{...@symbol\@cccu}
%\def\oxccccu{...@symbol\@ccccu}
\def\oxcl{...@symbol\@cl}
\def\oxccl{...@symbol\@ccl}
%\def\oxcccl{...@symbol\@cccl}
%\def\oxccccl{...@symbol\@ccccl}

%%% notes with a RhOmbus head, for shaker ...

\de...@symbol{\def\q@u{\musixchar118}}

\def\roqu...@symbol\@qu}
\def\roql...@symbol\@ql}

\def\roqb...@symbol\@qb}

\def\rozq...@symbol\@zq}

\def\rocu...@symbol\@cu}
\def\roccu...@symbol\@ccu}
%\def\rocccu...@symbol\@cccu}
%\def\roccccu...@symbol\@ccccu}
\def\rocl...@symbol\@cl}
\def\roccl...@symbol\@ccl}
%\def\rocccl...@symbol\@cccl}
%\def\roccccl...@symbol\@ccccl}

%%% notes with a TrianGle head, for rattle ...

\de...@symbol{\def\q@u{\musixchar116}}

\def\tgqu...@symbol\@qu}
\def\tgql...@symbol\@ql}

\def\tgqb...@symbol\@qb}

\def\tgzq...@symbol\@zq}

\def\tgcu...@symbol\@cu}
\def\tgccu...@symbol\@ccu}
%\def\tgcccu...@symbol\@cccu}
%\def\tgccccu...@symbol\@ccccu}
\def\tgcl...@symbol\@cl}
\def\tgccl...@symbol\@ccl}
%\def\tgcccl...@symbol\@cccl}
%\def\tgccccl...@symbol\@ccccl}

%%% notes with a + head, for bongos ...

\de...@symbol{\def\q@u{\musixchar117}}

\def\kqu...@symbol\@qu}
\def\kql...@symbol\@ql}

\def\kqb...@symbol\@qb}

\def\kzq...@symbol\@zq}

\def\kcu...@symbol\@cu}
\def\kccu...@symbol\@ccu}
%\def\kcccu...@symbol\@cccu}
%\def\kccccu...@symbol\@ccccu}
\def\kcl...@symbol\@cl}
\def\kccl...@symbol\@ccl}
%\def\kcccl...@symbol\@cccl}
%\def\kccccl...@symbol\@ccccl}

\catcod...@=\catcodeat
\endinput
_______________________________________________
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to 
http://mailman.nfit.au.dk/mailman/listinfo/icking-music-archive.org-tex-music

Reply via email to