The best way to get page breaks exactly where you want them is to typeset instrumental music using PMX, using a combination of the global option Ae and forced page breaks L[m]P[n]. I can safely guarantee that this will always work.
If you want to do vocal music (I can't tell if a "hymn tune" necessarily includes lyrics), things get a little hairy. But with some experimentation it is possible to use M-Tx and to insert the PMX commands inline in the M-Tx source. I just typeset my first vocal piece, and I used this approach. If you insist on using raw MusiXTeX, you should try some combination of \alaligne and \alapage together with adjustments in \interstaff and \interinstrument, to keep extra systems from spilling over. Also, there is a comment somewhere in the M-Tx manual about upping the page height to avoid the spillover problem, and this surely would translate into raw MusiXTeX, but I have to admit I haven't explored it at all. --Don Simons > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of David > Allsopp > Sent: Wednesday, August 30, 2006 12:57 PM > To: [email protected] > Subject: [TeX-music] \startmuflex inside a group > > > Apologies about this request: I'm still running MusiXTeX T.112 rather than > the latest version and so haven't checked this issue "properly". Hopefully > it's a very quick answer for any MusiXTeXnician looking at this! > > I hit an unexpected problem placing \startpiece...\endpiece inside a \vbox > in order to prevent TeX breaking the pages between lines of a > score (a hymn > tune, in fact). I have after much head-scratching determined that the > problem was that I had no \startmuflex in my document. This > resulted in the > message "\startmuflex launched by \startpiece" appearing for > every piece of > music in the document (they're all enclosed in their own \vbox'es) and the > results are a disaster (not to mention the number of \inline= > requests that > you get running TeX). Placing \startmuflex after \input musixtex was an or > removing the enclosing \vbox'es created instant fixes. > > <Dons TeX Grand Master hat> Whatever \startmuflex does, shouldn't it do it > \global'ly given that it's operating on files that will be left open and > updating global document state? > > <Dons not-very-good-at-MusiXTeX hat> That said, my major problem with this > was that it took ages to figure out what was wrong - especially given that > the T.112 manual strongly hints that there's no *need* to call > \startmuflex. > > <Keeps said hat on> Is there a better way of inhibiting page breaks in a > MusiXTeX score or is the \vbox sledgehammer the only way? > > Thanks in advance, > > > David > > _______________________________________________ > TeX-music mailing list > [email protected] > http://icking-music-archive.org/mailman/listinfo/tex-music > _______________________________________________ TeX-music mailing list [email protected] http://icking-music-archive.org/mailman/listinfo/tex-music

