Silly me, I couldn't let this rest, and started looking for ways to fool M-Tx into putting the right PMX code in the right places to get what Luigi wants without any post-editing. After many failed attempts, I did come up with something that sort of does it. But you may need to enter the source one bar at a time to get this to work. The basic idea is indeed to use MS ... M to get PMX to ignore some of the M-Tx-generated PMX code, but the devil is in the details:
======================================== Style: Quintet Meter: 8/4 Pages: 2 Systems: 4 %%h %%Mov. 1 c2+ c c c g2 g g g e2+ e e e c2+ c c c c2+ c c c %%L2Mn42345batt %%h %%Mov. 2 g2 g g g e2 e e e c2 c c c M c2- c c c MS1 rp g2 g g g e2 e e e c2 c c c M c2 c c c MS1 rp g2 g g g e2 e e e c2 c c c M c2 c c c MS1 rp ========================================== --Don Simons >-----Original Message----- >From: TeX-Music [mailto:[email protected]] On Behalf Of Luigi Cataldi >Sent: Wednesday, June 19, 2013 11:10 AM >To: [email protected] >Subject: Re: [Tex-music] Number of voices chenge in MTX > >Thanks to all! > >The problem arises from the fact that MTX add the missing voices (with "rp", as >Herman wrote). For this reason we need to post- edit the PMX file, and, I agree with >Don, the solution is less than 100% satisfying. > >A simple solution is to typeset the two movements in two separate MTX files and >combine the resulting tex files in a score, but, especially in the extracted parts, it's >possible to have a page with just one or two staffs, situation, once again, less than >100% satisfying. > >Luigi > > > >On Wed, 19 Jun 2013 08:25:08 -0700 >Don Simons <[email protected]> wrote: > >> If you need to post- edit the PMX file, the solution is less than 100% >> satisfying. Here's a thought I haven't tested: Maybe you could put inline >> PMX commands in the M-Tx source before and after any rp / you wish to >> eliminate, that record a macro and then stop recording, thereby eliminating >> the line from PMX processing at that time. >> >> --Don Simons >> >> >-----Original Message----- >> >From: TeX-Music [mailto:[email protected]] On Behalf Of Hermann >> Hinsch >> >Sent: Wednesday, June 19, 2013 8:13 AM >> >To: Werner Icking Music Archive >> >Subject: Re: [Tex-music] Number of voices chenge in MTX >> > >> >Am Dienstag, 18. Juni 2013, 18:18:07 schrieb Luigi Cataldi: >> >> Dear all, >> >> >> >> I know that M-Tx "is not aware of movement breaks and the possibility to >> >> change the number of voices" (MTX manual p. A-7). So, if I understand >> well, >> >> is not possible to have, for instance, 5 voices in the first movement, >> and >> >> 4 in the second, as in the pmx example printed below, at MTX level. >> >> Nevertheless is there a way to do this starting with MTX source? >> >> >> > >> >It is possible! Start with a dummy bar with the total number of voices. Use >> >the pmx command "M" and the new number of voices. As mtx doesn´t assign the >> >number of the new voices correctly you have to edit the pmx file by hand, >> make >> >the corrections and change all "rp /" by "%" >> > >> >If you are interested I can send you an example as mtx source and the >> edited >> >pmx source. You may have a look of the layout on www.rzuser.uni- >> >heidelberg.de/~nh0/QUICS.html Composer "Bruschi" >> > >> >Hermann >> > >> > >> >> And, if not, is there a way to code in MTX the two movements in two >> >> different files and join them at tex level, but preserving the same >> layout >> >> of the PMX example (pag. 1: mov. 1 on the first system, mov. 2 starting >> on >> >> the second system; pag. 2: the rest of the score)? >> >> >> >> Thanks >> >> >> >> Luigi >> >> >> > >> > >> >------------------------------- >> >[email protected] mailing list >> >If you want to unsubscribe or look at the archives, go to >> >http://tug.org/mailman/listinfo/tex-music >> >> >> >> ------------------------------- >> [email protected] mailing list >> If you want to unsubscribe or look at the archives, go to >http://tug.org/mailman/listinfo/tex-music > > >-- >Luigi Cataldi <[email protected]> > >------------------------------- >[email protected] mailing list >If you want to unsubscribe or look at the archives, go to >http://tug.org/mailman/listinfo/tex-music ------------------------------- [email protected] mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music

