Don,

thanks for your rapid solution. This would solve my problem. But for some reason or other it does not work on my Computer (Windows7 ,64 bit). I include the PMX file and error message.
=================================================================
 This is PMX, Version 2.7  , 3 Apr 13
 Opening donexample.pmx
 Starting first PMX pass
  Bar 1  Bar 2  Bar 3
 Done with first pass
 Starting second PMX pass
 WARNING
   In a title block, you have specified instrument and/or
   composer but no title for the piece.
  Bar 1  Bar 2  Bar 3
 Writing .\donexample.tex
 Done with second PMX pass.
D:\MUSIX\Jonah>if errorlevel 1 goto pmxerr
D:\MUSIX\Jonah>if exist donexample.pml del donexample.pml
D:\MUSIX\Jonah>if exist donexample.mx2 del donexample.mx2
D:\MUSIX\Jonah>if exist donexample.mx1 del donexample.mx1
D:\MUSIX\Jonah>Call "C:\miktex2.9\miktex\bin\etex" donexample
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (MiKTeX 2.9)
entering extended mode
(D:\MUSIX\Jonah\donexample.tex (c:\miktex2.9\tex\generic\musixtex\musixtex.tex
MusiXTeX(c) 1.15 <3 April 2011>
maxinstruments=6 max128beams=6 maxgroups=3 maxslurs=6 maxtrills=6
maxoctlines=6) (c:\miktex2.9\tex\generic\pmx\pmx.tex
PMX, a Preprocessor for MusiXTeX, Version 2.7a <3 April 13>
) maxslurs=24
Normal \dimen register pool exhausted, switching to extended pool.
maxinstruments=24 (c:\miktex2.9\tex\generic\musixtex\musixps.tex
MusiXPS PostScript slurs, ties and crescendos 0.92 (12.5.2002)
Normal \count register pool exhausted, switching to extended pool.)
Runaway argument?
{\titles {2.0}{\\input musixper\}{2.0}{}{2.0}{}{0}}\en \endeq \pnotes \ETC.
! Forbidden control sequence found while scanning use of \C@ch.
<inserted text>
                \par
<to be read again>
                   \bye
l.52 \bye

?
=======================================================================
What did I do wrong? Do you have an idea?

Thanks! Dieter

Am 11.03.2015 um 03:41 schrieb Don Simons:

Dieter—

Here’s an example of how to use inline TeX to do what you did in musixper_test. You could enhance macros /startper and /endper to include all the other kinds of notes; you could make alternate macros for the other kinds of percussion symbols, and you could include them all in a single tex file which you could input from within the PMX source. The \global declarations aren’t necessary when you use these as type 3 inline tex (at the start of a PMX input block, as in the example), but they also allow you to use them as type 1 inline tex (within an input block, for example for one note at a time)

--Don

% nstaves ninstr mtrnuml mtrdenl mtrnump mtrdenp

1

1

3

4

3

4

% npickup nkeys

0

0

% npages nsystems musicsize fracindent

0

4

20

0.05

Drum

t

.\

Ti

\\input musixper\

\\let\qbt\qb\let\qut\qu\

\\def\startper{\global\let\qb\dcqb\global\let\qu\dcqu}\

\\def\endper{\global\let\qb\qbt\global\let\qu\qut}\

% Body

% Header

AbepI1.0

% Av

% space before first note of bar

% big accidentals

% equalizes interstaff spacing

% type K slurs

%\\setclef2{\treble}\settrebleclefsymbol{2}\treblelowoct\

% Bars 1

g4 g8 g8 g8 g8 | /

\\\startper\

g4 g8 g8 g8 g8 | /

\\\endper\

g4 g8 g8 g8 g8 | /

*From:*TeX-Music [mailto:[email protected]] *On Behalf Of *Dieter
*Sent:* Tuesday, March 10, 2015 10:23 AM
*To:* [email protected]
*Subject:* Re: [Tex-music] Fwd: percussion notes with PMX and musixper

Hi Don,

please find attached a simple example. The pmx generated Tex file is "musixper_test_nodrum.tex" and the modified Tex-file is "musixper_test.tex". The differences are the input command for "musixper.tex" and a decoration of the concerned notes with "dc" after the backslash. There exists a variety of percussion fonts, please see in the musixtex documentation on page 96 (section 2.23.18) .

Regards,
Dieter

Am 10.03.2015 um 15:09 schrieb Don Simons:

    Hi, Dieter—

    Please make a sample available, including both the PMX file and
    the altered TeX file. I will consider this, but I cannot make any
    promises.

    I’m guessing there may be ways to do most if not everything you
    need within the PMX file, using inline TeX. I realize that’s not
    as slick as having PMX commands, but it is a lot better than
    having to edit the TeX file. So that will be the first thing I
    explore.

    --Don Simons

    *From:*TeX-Music [mailto:[email protected]] *On Behalf Of
    *Dieter
    *Sent:* Tuesday, March 10, 2015 1:23 AM
    *To:* Werner Icking Music Archive
    *Subject:* [Tex-music] Fwd: percussion notes with PMX and musixper


        

        

        

        

    Hi,

    finally (after an interruption of several years ) I managed to produce

    percussion notes with PMX and musixper, following an advice by Philipp 
Neukel.

    This is great, but it requires to manually change the "final" PMX generated 
TeX

    -version.

    And if this version is not 100 % final, then I have to do this more than

    once.

    Would it not be beautiful to have  PMX-commands for bracketing a group

    of percussion notes and  to include this information in the PMX file?

    Maybe with such a mechanism one could give other formatting hints to a

    group of notes.

    What do you think, Don?

    Regards,

    Dieter




    -------------------------------

    [email protected]  <mailto:[email protected]>  mailing list

    If you want to unsubscribe or look at the archives, go 
tohttp://tug.org/mailman/listinfo/tex-music





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


--
____________________________________
Dr. Dieter Glötzel
Im Rosengarten 27
64367 Mühltal
Tel.: 06151 / 360 82 72

% nstaves ninstr mtrnuml mtrdenl mtrnump mtrdenp
    1
    1
    3
    4
    3
    4
% npickup nkeys
0
    0
% npages nsystems musicsize fracindent
    0
    4
   20
0.05
Drum
t
.\
Ti
\\input musixper\
\\let\qbt\qb\let\qut\qu\
\\def\startper{\global\let\qb\dcqb\global\let\qu\dcqu}\
\\def\endper{\global\let\qb\qbt\global\let\qu\qut}\
% Body
% Header
AbepI1.0
% Av
% space before first note of bar
% big accidentals
% equalizes interstaff spacing
% type K slurs
%\\setclef2{\treble}\settrebleclefsymbol{2}\treblelowoct\
% Bars 1
g4  g8 g8 g8 g8 | /
\\\startper\
g4  g8 g8 g8 g8 | /
\\\endper\
g4  g8 g8 g8 g8 | /
-------------------------------
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to 
http://tug.org/mailman/listinfo/tex-music

Reply via email to