> Joerg Anders wrote
>
> The problem is: After the 4rd measure the score changes. Every
> staff gets a new clef and a new key signature. The problem
> occurs if these elements are different per staff. In this
> case the bar at the end of the line in which the change occurs
> has no connection with the staff lines.
Actually, this is not a problem of \changecontext but a problem of extra
space in your MusiXTeX file at the line ends. Line end characters are
translated into space characters by TeX. This may add some extra space
which is not visible to MusiXTeX/musixflx but is visible to TeX and
therefore messes up the spacing. You can get rid of this extra space if
you add a comment character '%' at the very end of each line, like
'...\en%'. This makes the end-of-line invisible to TeX. I tried this with
your TeX file and I think the TeX output looks like what you expected.
Bernhard
_____________________________________________________________
/ /
/ Bernhard Lang /
/ /
/ Institut de Physique de la Matiere condensee, /
/ Faculte des Sciences, BSP / priv.: /
/ Universite de Lausanne, / Av. du Denantou 21 /
/ CH-1015 Lausanne, Switzerland / CH-1006 Lausanne, Suisse /
/ Tel.:++(41) 21 / 692 36-77 /-21 / Tel./Fax.: /
/ Fax:++(41) 21 / 692 36-35 / ++(41) 21 / 601 36 57 /
/ /
/ e-mail: [EMAIL PROTECTED] /
/____________________________________________________________/