"Mogens Lemvig Hansen" wrote

>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.
>...
>However, this [proposed coding] 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.

I assume you have some good reason for not using PMX, but nevertheless 
I'll point out that PMX does what you seem to want to do, i.e., allows 
you to change the width later with no trouble.  It does this by 
internally running its own musixflx-like calculations, taking account 
of the width of (practically) all symbols to be printed.  It does this 
first at a slightly crude level to determine where the line breaks go, 
and then at a more refined level on a second pass when inserting space 
to avoid crashes.  (And even if the more refined calculation is not 
exactly right, it doesn't usually matter because musixflx itself will 
smooth things out while still respecting the linebreaks that PMX 
dictated).

--Don Simons 

Reply via email to