Petr Felzmann skryf:
>
> Program tex2ex generate this line at the end of the *.ex-file:
>
> ...
> \pnotes{2.83}\qp\en%
> \Endpiece
> \vskip1.6\Interligne\eject\endmuflex
>
> If I comment the last line:
>
> %\vskip1.6\Interligne\eject\endmuflex
>
> then everything is O.K.!!! Why???
>
> But this line isn't appear in every file!? Why - every *.mtx-file has
> the same structure???
>
tex2ex is a very primitive program with no intelligence. It looks for
certain patterns and deletes or edits lines when they are found. These
patterns in turn depend on exactly how PMX translates its input to TeX,
which is undocumented and therefore not guaranteed always to be the same.
On the basis of samples available I guessed that "\vfill\eject" appears
at the end of a typical .tex file generated by PMX. Such lines are
deleted by tex2ex. In this case PMX has not generated \vfill and the
line is not deleted. I don't know whether it has always been possible
that PMX could do so or whether only the more recent PMX versions do it.
If you use the tex2ex.sh version of tex2ex, it is easy to change its
behaviour. Where you see the string "\\vfill\\eject" change it to
"\\eject". If you have a C compiler, a similar change is possible.
Dirk