This is a nice doing, i will try this out

a few remarks
- this def is not universal, one have to adapt it to the number of instruments and staffs ( here there ar 4 setsize's and 6 setinstruments) - The hsize and vsize may not be defined here, the hight and width must be given in pmx (h and w), otherwise there will be troubles with the spreading of the systems. Perhaps an input file with an "A"command can be used.

Andre

----- Original Message ----- From: "Robert Hennig" <[EMAIL PROTECTED]>
To: "Typesetting music with TeX" <[email protected]>
Sent: Friday, July 01, 2005 9:18 AM
Subject: RE: [TeX-music] concatenating musixtex files


I found a better place for the resetting of musixtex parameters:

\input musixtex

\def\endOfSheet{%
 \resetlayout \normalmusicsize
 \setsize1{\normalvalue}\setsize2{\normalvalue}
 \setsize3{\normalvalue}\setsize4{\normalvalue}
 \generalsignature{0}\generalmeter{} \instrumentnumber1
 \setinterinstrument1{0\Interligne}\setinterinstrument2{0\Interligne}
 \setinterinstrument3{0\Interligne}\setinterinstrument4{0\Interligne}
 \setinterinstrument5{0\Interligne}\setinterinstrument6{0\Interligne}
 \setclef1{0}\setclef2{0}\setclef3{0}
 \setname1{}\setname2{}\setname3{}\setname4{}\setname5{}
 \setstaffs1{1}\setstaffs2{1}\setstaffs3{1}\setstaffs4{1}
 \songtop1\songbottom2% no songs
 \setsongraise1{0\Interligne}\setsongraise2{0\Interligne}
 \setsongraise3{0\Interligne}\setsongraise4{0\Interligne}
 \stdbarrules
 \nostemcut\stemlength{4.66}% hope works for all musicsizes
 \absoluteaccid
 \nobarnumbers% to void the number in the first bar if systemnumbers
 \scale{1}
 \arithmeticskipscale
 \afterruleskip8pt\beforeruleskip0pt
 % nominal pagelayout
 \parindent0pt\voffset-10mm\hoffset-15.4mm\hsize 190mm\vsize 260mm
 \ifx\assignlyrics\undefined\else%
   \assignlyrics1{}\assignlyrics2{}\assignlyrics3{}%
   \assignlyrics4{}\assignlyrics5{}%
 \fi
 \transpose=0%
 \resetclefsymbols%
 \def\everystaff{}%
 \startrule%
}

\startmuflex
\let\startmuflex\empty
\let\endmuflexsav\endmuflex
\let\endmuflex\endOfSheet
\input sheetA
\input sheetB
...
\endmuflexsav
\bye


thus no additional file is needed.

By the way may it be feasable to structure the musixtex file
in a way, that all resettings are made every time the file
is included? Then no further interaction would be needed anymore.
( maybye placing the input guard AFTER all inits are done?)

I will do this for musixcrd the same way.

regards,
Robert

--
                  .~.
robert.hennig     /v\
 @cognitec.com  _// \\_
 @freylax.de     (   )
                 ^`~'^

_______________________________________________
TeX-music mailing list
[email protected]
http://icking-music-archive.org/mailman/listinfo/tex-music


_______________________________________________
TeX-music mailing list
[email protected]
http://icking-music-archive.org/mailman/listinfo/tex-music

Reply via email to