> Date: Wed, 30 Aug 2000 22:21:29 -0700
> From: "Alexander V. Voinov" <[EMAIL PROTECTED]>
> 1. Is there a manual on musixflx, and are there command line options for
> it at all?
Jein - that's German slang for yes and no. There is no manual on musixflx
but the command line options to make musixflx verbose and printing are
described in the MusiXTeX manual.
> 2. Is there a way not to spread the last incomplete system, which may
> contain one or two notes, over the entire staff width?
More than one as you can see e.g. in my edition of BWV1001, the source
of which is on my server.
[...]
> (The TeX fed to musixflx comes from PMX, I _have_ to pass it to
> musixflx, right?)
Opposite to standard musixtex/musixflx PMX determines the line
breaking by using \xbar*...\alaligne instead of \bar. Nevertheless
musixflx is to be used to compute e.g. that \elemskip which will
really fill the corresponding staff-line.
Back to the real problem: I've used two solutions, one which draws the
staff but does not expand the bars to full length. This can be done
with MusiXTeX using some empty bars at the end of the piece. The
other wich shortens the staff to the required length. There are
several possibilities to do so.
The same can be applied to PMX. It depends highly on the code
generated by PMX. So for your case you must possibly intercept
other code than my examples do. The principle is always the
same.
I append both solutions.
-- Werner
MusiXTeX solution:
\hsize 190mm\hoffset-15.4mm\vsize 277mm\voffset-15.4mm
\nopagenumbers\nobarnumbers\smallmusicsize%\musicparskip
\def\Bar{\Notes%
\ifx\TXT\empty\else\uptext{\TXT}\global\let\TXT\empty\fi\qu{cccc}\en}
\def\BAr{\Bar\bar}
\def\BAR{\BAr\BAr\BAr\BAr\BAr\BAr\BAr\BAr\BAr\BAr\BAr\Bar}
\systemnumbers
\def\TXT{Standard}\generalsignature 2\generalmeter{\meterfrac44}
\linegoal 2\startpiece\addspace\afterruleskip\BAR\alaligne
\BAr\Bar\Stoppiece
\def\TXT{modifying hsize}\generalsignature 2\generalmeter{\meterC}
\linegoal 2\startpiece\addspace\afterruleskip\BAR\stoppiece
\hsize 7cm\startbarno\barno\startpiece\addspace\afterruleskip
\BAr\Bar\Stoppiece\hsize 18cm\startbarno1
\def\TXT{using startextract/endextract and leftline as extracline}
\generalsignature 2\generalmeter{\meterC}
\linegoal 2\startpiece\addspace\afterruleskip\BAR\stoppiece
\let\extractline\leftline\startbarno\barno
\startextract\BAr\Bar\setdoubleBAR\endextract\startbarno1
\def\TXT{using dummy bar at the end}\generalsignature 2\generalmeter{\meterC}
\linegoal 2\startpiece\addspace\afterruleskip\BAR\alaligne
\BAr\Bar\setdoubleBAR\bar
\NOTEs\off{8\noteskip}\en\zstoppiece
\def\TXT{using raggedstoppiece}\generalsignature 2\generalmeter{\meterC}
\input musixext
\elemskip 7pt % used for last ragged line
\linegoal 2\startpiece\addspace\afterruleskip\BAR\alaligne
\BAr\Bar\setdoubleBAR\raggedstoppiece
\bye
PMX solution:
1 1 4 4 0 6 0 2
1 12 16 0
t
./
w190m
\\let\alalignesav\alaligne\
\\let\Endpiecesav\Endpiece\
MS1 c44 c c c | c c c c | c c c c | c c c c | c c c c | c c c c |
c c c c | c c c c | c c c c | c c c c | c c c c | c c c c M /
MS2 c44 c c c | c c c M /
MP1 /
L3 MP2 c /
L4M+12 MP1 /
L6 MP2 c /
\\\def\alaligne{\let\alaligne\alalignesav\
\\\makeatletter\let\barrul@\empty\makeatother\alaligne}\
RD X60 r0b Rb /
L7M+12 MP1 /
\\\def\alaligne{\let\alaligne\alalignesav\
\\\stoppiece\hsize 70mm\startbarno\barno\startpiece}\
L9 MP2
\gdef\alaligne{\let\alaligne\alalignesav\
\stoppiece\hsize 190mm\startbarno 1\contpiece}\
c /
L10M+12
MP1 /
\\\def\alaligne{\let\alaligne\alalignesav\
\\\stoppiece\hsize 70mm\startbarno\barno\startpiece}\
\\\def\Endpiece{\let\Endpiece\Endpiecesav\Endpiece\hsize 190mm\startbarno 1}\
L12 MP2 c /