Thank you for the answers so far.

I do not want to hard-code the line breaks because that is bad mark-up.
I want musixtex/musixflx to decide where the line breaks go, so that
I can change the width of the page later and not run into trouble.

Here is what I want
\def\irregularmeter#1{%
 \xbar            %     force a bar line with no line break
 \generalmeter{#1}%     change the meter
 \zchangecontext  %     without posting an extra bar
 \def\atnextline{\generalmeter{#1}}%  Post the meter again
 \zbar            %     IF the line break happens here
 \def\atnextline{}%     ELSE forget it.
}
   
However, this does not work (gives overfull lines) because posting
the meter change takes horizontal space and we don't know whether to
post the new meter (twice) until after musixflx has calculated the line breaks.
By then, musixflx (obviously) cannot take the extra horizontal space
into consideration.

Thus, it seems that any solution requires changing the way musixflx works,
which is beyond me.  It would be a nice feature, though :-)

Is there another way?

Regards,
Mogens Lemvig Hansen

Reply via email to