Dirk, I thought I at least had the cause narrowed down, but after looking at 
your latest workaround with r0-1, I'm not so sure. Here's the simplest PMX I’ve 
come up with that shows the problem:

======================

4 -3 1 2 1  4 4 4 4 0 0

1 2 20 .1

Bottom

Middle2

Top

bbtt

.\

r0 /

r0 /

r0-1 /

r0 /

%

L2Mn213bt

r0 /

r0 /

=====================

This one works as is, but if you delete the -1 it fails. I had thought the 
failure was related to the order that PMX does things between the two 
movements. At the end of the first bar, it sets up \atnextbar to put in the 
centered rests in that bar as soon as the barline is written. But before it 
writes the barline, it changes the staff and instrument assignments to what's 
needed for the new movement. So I thought that was what led to the problem. If 
you look at the difference file pasted below, the ONLY difference is in one of 
the centered rest commands, \liftpausc0 for the one that worked and \pause for 
the one that failed. The separators & and | are exactly the same, in the same 
order, along with EVERYTHING ELSE. It's only that one item being centered that 
differs between the case that works and the one that doesn't.

 

TeXperts????

 

One other comment: the \liftpausc has an argument of 0 because the PMX argument 
for raising a rest is the number of notes, not staff lines, and so gets divided 
by 2. Evidently -1/2 gets rounded to 0.  If it weren’t for the slight 
misalignment both horizontally and vertically in the final image, this would be 
a PERFECT workaround.

 

--Don

 

 

 

> -----Original Message-----

> From: Dirk Baack [mailto:d...@baack-lamstedt.de]

> Sent: Friday, April 12, 2019 1:15 PM

> To: Don Simons <dsim...@roadrunner.com>

> Subject: Re: [Tex-music] PMX: Changing of numbers of instruments

> 

> Am 12.04.19 um 20:39 schrieb Don Simons:

> > Excellent bug and bug report! I haven't solved it yet, but it goes away if 
> > you

> only replace the last line of movement 3 with r0 | c04 /. So there's some very

> subtle problem with the way PMX is handling centered whole-bar rests.

> More as it develops.

> Thanks Don,

> 

> and even r0b (instead of r0)  and r0-1 in an second voice is a usable

> workaround.

> 

> Dirk

> 

> 

> >

> > --Don

> >

> >> -----Original Message-----

> >> From: TeX-Music [mailto:tex-music-

> >>  <mailto:bounces+dsimons=roadrunner....@tug.org> 
> >> bounces+dsimons=roadrunner....@tug.org] On Behalf Of Dirk Baack

> >> Sent: Friday, April 12, 2019 3:12 AM

> >> To: Werner Icking Music Archive < <mailto:tex-music@tug.org> 
> >> tex-music@tug.org>

> >> Subject: [Tex-music] PMX: Changing of numbers of instruments

> >>

> >> Hello pmxXperts,

> >>

> >> for a very special note-setting project I need to change the (numbers

> >> of) instruments several times. First - according to appendix B5.8 of

> >> pmxccn.pdf (of the late Cornelius Noack) - I use a staff with (from

> >> lowest to top instrument, pseudo-code, ) [ b t ] { b t } t (later to

> >> be discarded "movement 1",[]/{} different

> >> accolades: {}: curly, []: angled  )

> >> then

> >> [ b t ] ("movement 2")

> >> then

> >> [ b t ] { b t }("movement 3")

> >> then finally

> >> [ b t ] t ("movement 4")

> >>

> >> In my example there is a problem with pmx 2.87 and muisixtex 1.29 if

> >> I use all four movements: musixtex stops with "! Staff number (2) out

> >> of specified range (1)!." But without movement 3 (example below)

> >> everything is fine. If I change the first line of "movement 4" to

> "L4Mcn212bt"

> >> (with last line uncommented) it works.

> >>

> >> Thanks in advance for any help.

> >> Dirk

> >>

> >>

> >> PMX-code:

> >> ----------

> >> men Instr. log. Takt (Z/N) angez. Takt (Z/N) Auftaktschlaege Vorzeichen

> >>     5    -4 1 1  2 1      4 4 4 4    0 -3

> >> % Seitenanzahl Systemanzahl Systemhöhe Ersttakteinrückung

> >>     2  4 20  0

> >> %

> >> Chor

> >> Chor

> >> Solochor

> >> Solo

> >> btbtt

> >> ./

> >> Av

> >> Ab

> >> Ar

> >> %

> >>  <file:///\\grouptop%7b1%7d%7b2%7d\groupbottom%7b1%7d%7b1%7d\> 
> >> \\grouptop{1}{2}\groupbottom{1}{1}\

> >> AK

> >> r0 | r0  Rd /

> >> r0 | r0 /

> >> r0 | r0 /

> >> r0 | r0 /

> >> r0 | r0 /

> >>

> >> L2P2Mcn212bt

> >> r0 | r r r r /

> >> r0 | r r r r /

> >>

> >> %L3Mcn3123btbt

> >> %r0 | r0 /

> >> %r0 | r0 /

> >> %r0 | r0 /

> >> %r0 | r0 /

> >>

> >> L4Mcn3124btt

> >> %L4Mcn212bt

> >> r0 /

> >> r0 /

> >> r0 /

> >> %r0 /

> >>

> >>

> >> -------------------------------

> >>  <mailto:TeX-music@tug.org> TeX-music@tug.org mailing list

> >> If you want to unsubscribe or look at the archives, go to

> >>  <https://tug.org/mailman/listinfo/tex-music> 
> >> https://tug.org/mailman/listinfo/tex-music

> >

> >

> > -------------------------------

> >  <mailto:TeX-music@tug.org> TeX-music@tug.org mailing list

> > If you want to unsubscribe or look at the archives, go to

> >  <https://tug.org/mailman/listinfo/tex-music> 
> > https://tug.org/mailman/listinfo/tex-music

> >

> 

 

-------------------------------
TeX-music@tug.org mailing list
If you want to unsubscribe or look at the archives, go to 
https://tug.org/mailman/listinfo/tex-music

Reply via email to