Re: [Tex-music] check@staff ... specified range
Jean-Pierre,
In case you are interested in dirty tricks: I was able to make the vertical
line vanish behind the bar line by saying "\roffset{1,92}{\toctfin}" instead
of "\toctfin" in bar 122. Still not orthographically correct since the
octaviation line should extend up to the very end of the line. One could
insert a couple of dashes manually to achieve this.
Wilfried
> -Ursprüngliche Nachricht-
> Von: TeX-Music [mailto:tex-music-bounces+w.lingenberg=t-
> [email protected]] Im Auftrag von Jean-Pierre Coulon
> Gesendet: Samstag, 12. August 2023 21:24
> An: Werner Icking Music Archive
> Betreff: Re: [Tex-music] check@staff ... specified range
>
> On Sat, 12 Aug 2023, Bob Tennent wrote:
>
> > Jean-Pierre: a better workaround is to add \toctfin before the
> > \Changecontext and \ioctfinup q immediately after, thus avoiding
> > the cutoctline code in musixtex.tex that seems to be problematical.
>
> Works, thanks. I just have to accept the small vertical line at
> the new \toctfin.
>
>
> --
> Jean-Pierre Coulon
> ---
> [email protected] mailing list
> If you want to unsubscribe or look at the archives, go to
> https://tug.org/mailman/listinfo/tex-music
---
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to
https://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] check@staff ... specified range
Interesting. This suggests that the problem isn't the cutoctline code
alone that is responsible but something it does that affects subsequent
end-of-system code (which PMX somehow avoids). Sigh.
On Sat, Aug 12, 2023 at 4:13 PM wrote:
> PMX doesn’t have any built in octaviation lines. But when I blindly stick
> in what seems to be the appropriate in-line TeX, somewhat to my surprise it
> comes out as desired (see attachment), going cleanly across the system
> break. I haven’t looked into the TeX file at all, but here’s the PMX input
> file:
>
> ==
> 3 2 3 4 3 4 0 1
> 1 2 20 0
>
>
> ttt
> ./
> AS0-
> f24 za zc zd g-4 zb zd | b zd b zd g- zb | a2 zc ,g zb | b4 zd b zd g- zb
> /
> \Ioctfinup 1{12}\
> a45x3n d- c a+x3n d- c g+x3n d b | b+8 d- b+ d- g d | a+ d- a+ d- g d |
> b+ d- b+ d- g d /
> rbd2 | rbd | rbd | rbd /
> K+0+3
> Rd
> a44 zc d- g zb | d d- b+ | d d- a+ /
> a85 d- a+ d- g d | b+ d- b+ d- g d | b+ d- b+ d- g d /
> rbd2 | rbd | rbd /
> Rl
> Cb
> dd23 zd- | rp Rr /
> a85 a- d a f+ a- | a+ f d a f \Toctfin1\ d / rb2d | rbd /
> ===
>
> --Don
>
>
>
> From: Bob Tennent
> Sent: Saturday, August 12, 2023 9:45 AM
> To: Don Simons
> Subject: Re: [Tex-music] check@staff ... specified range
>
> Don: Can you add octaviation to match Jean-Pierre's example?
>
> Bob
>
> On Fri, Aug 11, 2023 at 2:12 PM <mailto:[email protected]> wrote:
> Jean-Pierre--
>
> The attached image roughly reproduces your most recent 1-instrument image,
> but with an added instrument above with only blank rests. It came from this
> file:
>
>
> 3 2 3 4 3 4 0 1
> 1 2 20 0
>
>
> ttt
> ./
> AS0-
> f24 za zc zd g-4 zb zd | b zd b zd g- zb | a2 zc ,g zb | b4 zd b zd g- zb /
> a45x3 d- c a+x3 d- c g+x3 d b | b+8 d- b+ d- g d | a+ d- a+ d- g d |
> b+ d- b+ d- g d /
> rbd2 | rbd | rbd | rbd /
> K+0+3
> Rd
> a44 zc d- g zb | d d- b+ | d d- a+ /
> a85 d- a+ d- g d | b+ d- b+ d- g d | b+ d- b+ d- g d /
> rbd2 | rbd | rbd /
> Rl
> Cb
> dd23 zd- | rp Rr /
> a85 a- d a f+ a- | a+ f d a f d /
> rb2d | rbd /
> =
>
> However, I'm still not clear on exactly what you were trying to create
> when you generated the error. The two different versions of your tex file
> that do work produce two different images. I wanted to create a PMX file
> that tries to do EXACTLY what you were trying to do when you generated the
> error.
>
> --Don
>
> > -----Original Message-
> > From: TeX-Music
> > mailto:[email protected]>
> > On Behalf Of Jean-Pierre Coulon
> > Sent: Friday, August 11, 2023 10:30 AM
> > To: Werner Icking Music Archive <mailto:[email protected]>
> > Subject: Re: [Tex-music] check@staff ... specified range
> >
> > On Fri, 11 Aug 2023, mailto:[email protected] wrote:
> >
> > > Jean-Pierre, could you post a .tex file that works and shows exactly
> > > what you want? I'm trying to reproduce whatever your problem is with
> > > a PMX-generated file, and so far cannot recreate the problem. The
> > > following PMX file runs fine:
> >
> > If you change \generalsignature3\Changecontext into \bar in my example
> > it works.
> >
> > If you say \instrumentnumbers1 instead of 2 it works too. See my pdf.
> >
> > Please post the pdf output of your PMX.
> >
> > --
> > Jean-Pierre Coulon
> ---
> mailto:[email protected] mailing list
> If you want to unsubscribe or look at the archives, go to
> https://tug.org/mailman/listinfo/tex-music
> ---
> [email protected] mailing list
> If you want to unsubscribe or look at the archives, go to
> https://tug.org/mailman/listinfo/tex-music
>
---
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to
https://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] check@staff ... specified range
On Sat, 12 Aug 2023, Bob Tennent wrote: Jean-Pierre: a better workaround is to add \toctfin before the \Changecontext and \ioctfinup q immediately after, thus avoiding the cutoctline code in musixtex.tex that seems to be problematical. Works, thanks. I just have to accept the small vertical line at the new \toctfin. -- Jean-Pierre Coulon --- [email protected] mailing list If you want to unsubscribe or look at the archives, go to https://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] check@staff ... specified range
Jean-Pierre: a better workaround is to add \toctfin before the \Changecontext and \ioctfinup q immediately after, thus avoiding the cutoctline code in musixtex.tex that seems to be problematical. Bob On Fri, Aug 11, 2023 at 11:56 AM Jean-Pierre Coulon wrote: > On Fri, 11 Aug 2023, Bob Tennent wrote: > > > The following is a workaround: > > > > \setdoublebar% > > \xbar% > > \generalsignature3% > > \changesignature% > > This is a semi-workaround because with xbar you prenvent a linebreak where > I have one :-) > > -- > Jean-Pierre Coulon > --- > [email protected] mailing list > If you want to unsubscribe or look at the archives, go to > https://tug.org/mailman/listinfo/tex-music > --- [email protected] mailing list If you want to unsubscribe or look at the archives, go to https://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] check@staff ... specified range
Thanks Jean-Pierre. I think I've found the location of the bug: % cutoctline \o@loop \ifdim\o@x<\maxdimen \let\T@ii\n@ii \C@TO \o@x\z@ \fi \repeat in the definition of \z@suspend. Confirm by commenting out those lines (or by removing the octaviation of the example code). But I don't know how to fix the code. Can a texpert help? Bob On Sat, Aug 12, 2023 at 8:43 AM Jean-Pierre Coulon wrote: > On Sat, 12 Aug 2023, Bob Tennent wrote: > > > Jean-Pierre: Can you provide an example involving \leftrepeat or > > \rightrepeat (so that a change of context doesn't muddy the water)? > > > > Bob > > > > I have had similar cases with \leftrepeat or \rightrepeat. > >> > > > > -- > Jean-Pierre Coulon--- > [email protected] mailing list > If you want to unsubscribe or look at the archives, go to > https://tug.org/mailman/listinfo/tex-music > --- [email protected] mailing list If you want to unsubscribe or look at the archives, go to https://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] check@staff ... specified range
it is interesting to compare the output message in my standard situation
and when I intentionally do the mistake of saying &\qu j|\qu j for 2nd
instrument at line 24.
--
Jean-Pierre CoulonThis is TeX, Version 3.14159265 (MiKTeX 20.6.29)
(pbstaff.tex (musixtex.tex
MusiXTeX(c) 1.24 <2017-02-28>
maxinstruments=6 max128beams=6 maxgroups=3 maxslurs=6 maxtrills=6
maxoctlines=6)
\startmuflex launched by \startpiece
bar 119 bar 120 bar 121 bar 122 bar 123 bar 124 bar 125 bar 126 bar 127
[1] )
Output written on pbstaff.dvi (1 page, 5956 bytes).
Transcript written on pbstaff.log.
Musixflx-0.83.3.lua7 (pbstaff.mx1)
This is TeX, Version 3.14159265 (MiKTeX 20.6.29)
(pbstaff.tex (musixtex.tex
MusiXTeX(c) 1.24 <2017-02-28>
maxinstruments=6 max128beams=6 maxgroups=3 maxslurs=6 maxtrills=6
maxoctlines=6) (pbstaff.mx2)
\startmuflex launched by \startpiece
< 1> bar 119 bar 120 bar 121 bar 122
! Staff number (2) out of specified range (1)!.
\check@staff ... specified range (\the \st@ffs )!}
\fi \else \relax
\C@TO ->\check@staff
\ifnum \@ne =\the \o@sw \n@v \@xxiii \n@ii \@xxiv \else...
\body ...m \o@x <\maxdimen \let \T@ii \n@ii \C@TO
\o@x \z@ \fi
\iterate ->\body
\let \next \iterate \else \let \next \relax \fi \next
\z@suspend ...ii \n@ii \C@TO \o@x \z@ \fi \repeat
\tr@loop \ifdim \tr@x <\ma...
\updat@context ...\else \Writ@newsigns \z@suspend
\contpiece \fi
l.37 \generalsignature3\Changecontext
%
? < 2> bar 123 bar 124 bar 125 bar 126 bar 127 [1] )
Output written on pbstaff.dvi (1 page, 5236 bytes).
Transcript written on pbstaff.log.
This is TeX, Version 3.14159265 (MiKTeX 20.6.29)
(pbstaff.tex (musixtex.tex
MusiXTeX(c) 1.24 <2017-02-28>
maxinstruments=6 max128beams=6 maxgroups=3 maxslurs=6 maxtrills=6
maxoctlines=6)
\startmuflex launched by \startpiece
! Staff number (2) out of specified range (1)!.
\check@staff ... specified range (\the \st@ffs )!}
\fi \else \relax
\g@q #1->\check@staff
\getn@i #1\relax \let \n@fon \g@q \let \n@sym \q@u \y@...
l.24 ...\ql g|\ibl2k{-2}\qb2{nk}\tqb2i&\qu j|\qu j
\en
? bar 119 bar 120 bar 121 bar 122 bar 123 bar 124 bar 125 bar 126 bar 127
[1] )
Output written on pbstaff.dvi (1 page, 5984 bytes).
Transcript written on pbstaff.log.
---
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to
https://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] check@staff ... specified range
On Sat, 12 Aug 2023, Bob Tennent wrote:
Jean-Pierre: Can you provide an example involving \leftrepeat or
\rightrepeat (so that a change of context doesn't muddy the water)?
Bob
I have had similar cases with \leftrepeat or \rightrepeat.
--
Jean-Pierre Coulon\input musixtex
%\input musixps
\parindent0mm
\def\bare{\bar\hardspace{3pt}}
\def\mgfa{\setclef1{\bass\treble}\zchangeclefs}
\def\bigpause{\def\atnextbar{\znotes\centerpause\en}}
\def\mit{\medtype\it}
\instrumentnumber2
\afterruleskip=5pt
\setstaffs12
\setstaffs21
\setsize2\tinyvalue
\setclef1{\treble\treble}
\setclef2\treble
\generalmeter{\meterfrac34}
\generalsignature{1}
\startbarno119
\interstaff{10}
\startpiece
\notesp\rh k\zh{fh}\hu j|\ioctfinup q\ibl2l{-2}\qb2{ok}\tqb2j\en
\notesp|\ibl2l{-2}\qb2{ok}\tqb2j\en
\notesp\zq{ki}\ql g|\ibl2k{-2}\qb2{nk}\tqb2i\en
\bar% 120
\Notes\zq k\ql i|\ibl2k0\qb2{pk}\en
\Notes\zq k\ql i|\qb2{pk}\en
\Notes\zq g\qu i|\qb2n\tqb2k\en
\bar% 121
\Notes\zh j\hl h\zcn r{\mit pressez}|\ibl2k0\qb2{ok}\en
\Notes|\qb2{ok}\en
\Notes\zq g\qu i|\qb2n\tqb2k\en
\bar% 122
\Notes\zq k\ql i|\ibl2k0\qb2{pk}\en
\Notes\zq k\ql i|\qb2{pk}\en
\Notes\zq g\qu i|\qb2n\tqb2k\en
\leftrightrepeat
% \bar% 123
\Notes\zq j\ql h|\ibl2k0\qb2{ok}\en
\Notes\qa d|\qb2{ok}\en
\Notes\zq g\qu i|\qb2n\tqb2k\en
\bar% 124
\Notes\qa k|\ibl2k0\qb2{pk}\en
\Notes\qa d|\qb2{pk}\en
\Notes\qa i|\qb2n\tqb2k\en
\bar% 125
\Notes\zcn r{\mit prestissimo}\qa k|\ibl2k0\qb2{pk}\en
\Notes\qa d|\qb2{pk}\en
\Notes\qa h|\qb2n\tqb2k\en
\mgfa%
\leftrepeat% 126
\Notes\zhp D\hup K|\ibl2i0\qb2{ohkhm}\tqb2h\en
\bar% 127
\Notes|\ibl2i{-2}\qb2{omkhf}\toctfin\tqb2d\en
\bigpause%
\setrightrepeat%
\stoppiece
\end
---
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to
https://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] check@staff ... specified range
Jean-Pierre: Can you provide an example involving \leftrepeat or \rightrepeat (so that a change of context doesn't muddy the water)? Bob I have had similar cases with \leftrepeat or \rightrepeat. > --- [email protected] mailing list If you want to unsubscribe or look at the archives, go to https://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] check@staff ... specified range
On Fri, 11 Aug 2023, [email protected] wrote: However, I still don’t know exactly what image Jean-Pierre was trying to create when he first generated the error, since he hasn’t yet provided such an image. I have already provided the image you obtain with \instrumentnumber1. Now suppose you say \instrumentnumber2 but do not provide notes for the 2nd instrument yet. -- Jean-Pierre Coulon pbstafftemp.pdf Description: Adobe PDF document --- [email protected] mailing list If you want to unsubscribe or look at the archives, go to https://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] check@staff ... specified range
xchangecontext isn't in musixtex.tex; it's defined in pmx.tex. I believe the crucial difference is how end-of-system is handled. Bob On Fri, Aug 11, 2023 at 7:32 PM wrote: > Not that I remember anything about the detail, but looking at the TeX that > PMX generates, it appears to use \xchangecontext rather than \Changecontext > to activate the key change. Furthermore, searching thru the PMX source > code, it doesn’t ever use \Changecontext. However, I still don’t know > exactly what image Jean-Pierre was trying to create when he first generated > the error, since he hasn’t yet provided such an image. > > > > --Don > > > > *From:* TeX-Music *On > Behalf Of *Bob Tennent > *Sent:* Friday, August 11, 2023 2:49 PM > *To:* Werner Icking Music Archive > *Subject:* Re: [Tex-music] check@staff ... specified range > > > > This suggests that PMX doesn't invoke the buggy code in musixtex.tex. > > > > On Fri, Aug 11, 2023 at 2:12 PM wrote: > > Jean-Pierre-- > > The attached image roughly reproduces your most recent 1-instrument image, > but with an added instrument above with only blank rests. It came from this > file: > > > 3 2 3 4 3 4 0 1 > 1 2 20 0 > > > ttt > ./ > AS0- > f24 za zc zd g-4 zb zd | b zd b zd g- zb | a2 zc ,g zb | b4 zd b zd g- zb / > a45x3 d- c a+x3 d- c g+x3 d b | b+8 d- b+ d- g d | a+ d- a+ d- g d | > b+ d- b+ d- g d / > rbd2 | rbd | rbd | rbd / > K+0+3 > Rd > a44 zc d- g zb | d d- b+ | d d- a+ / > a85 d- a+ d- g d | b+ d- b+ d- g d | b+ d- b+ d- g d / > rbd2 | rbd | rbd / > Rl > Cb > dd23 zd- | rp Rr / > a85 a- d a f+ a- | a+ f d a f d / > rb2d | rbd / > = > > However, I'm still not clear on exactly what you were trying to create when > you generated the error. The two different versions of your tex file that > do > work produce two different images. I wanted to create a PMX file that tries > to do EXACTLY what you were trying to do when you generated the error. > > --Don > > > -----Original Message- > > From: TeX-Music > > On Behalf Of Jean-Pierre Coulon > > Sent: Friday, August 11, 2023 10:30 AM > > To: Werner Icking Music Archive > > Subject: Re: [Tex-music] check@staff ... specified range > > > > On Fri, 11 Aug 2023, [email protected] wrote: > > > > > Jean-Pierre, could you post a .tex file that works and shows exactly > > > what you want? I'm trying to reproduce whatever your problem is with a > > > PMX-generated file, and so far cannot recreate the problem. The > > > following PMX file runs fine: > > > > If you change \generalsignature3\Changecontext into \bar in my example it > > works. > > > > If you say \instrumentnumbers1 instead of 2 it works too. See my pdf. > > > > Please post the pdf output of your PMX. > > > > -- > > Jean-Pierre Coulon > --- > [email protected] mailing list > If you want to unsubscribe or look at the archives, go to > https://tug.org/mailman/listinfo/tex-music > > --- > [email protected] mailing list > If you want to unsubscribe or look at the archives, go to > https://tug.org/mailman/listinfo/tex-music > --- [email protected] mailing list If you want to unsubscribe or look at the archives, go to https://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] check@staff ... specified range
Not that I remember anything about the detail, but looking at the TeX that PMX generates, it appears to use \xchangecontext rather than \Changecontext to activate the key change. Furthermore, searching thru the PMX source code, it doesn’t ever use \Changecontext. However, I still don’t know exactly what image Jean-Pierre was trying to create when he first generated the error, since he hasn’t yet provided such an image. --Don From: TeX-Music On Behalf Of Bob Tennent Sent: Friday, August 11, 2023 2:49 PM To: Werner Icking Music Archive Subject: Re: [Tex-music] check@staff ... specified range This suggests that PMX doesn't invoke the buggy code in musixtex.tex. On Fri, Aug 11, 2023 at 2:12 PM mailto:[email protected]> > wrote: Jean-Pierre-- The attached image roughly reproduces your most recent 1-instrument image, but with an added instrument above with only blank rests. It came from this file: 3 2 3 4 3 4 0 1 1 2 20 0 ttt ./ AS0- f24 za zc zd g-4 zb zd | b zd b zd g- zb | a2 zc ,g zb | b4 zd b zd g- zb / a45x3 d- c a+x3 d- c g+x3 d b | b+8 d- b+ d- g d | a+ d- a+ d- g d | b+ d- b+ d- g d / rbd2 | rbd | rbd | rbd / K+0+3 Rd a44 zc d- g zb | d d- b+ | d d- a+ / a85 d- a+ d- g d | b+ d- b+ d- g d | b+ d- b+ d- g d / rbd2 | rbd | rbd / Rl Cb dd23 zd- | rp Rr / a85 a- d a f+ a- | a+ f d a f d / rb2d | rbd / = However, I'm still not clear on exactly what you were trying to create when you generated the error. The two different versions of your tex file that do work produce two different images. I wanted to create a PMX file that tries to do EXACTLY what you were trying to do when you generated the error. --Don > -Original Message- > From: TeX-Music <mailto:[email protected]> > > On Behalf Of Jean-Pierre Coulon > Sent: Friday, August 11, 2023 10:30 AM > To: Werner Icking Music Archive mailto:[email protected]> > > > Subject: Re: [Tex-music] check@staff ... specified range > > On Fri, 11 Aug 2023, [email protected] <mailto:[email protected]> > wrote: > > > Jean-Pierre, could you post a .tex file that works and shows exactly > > what you want? I'm trying to reproduce whatever your problem is with a > > PMX-generated file, and so far cannot recreate the problem. The > > following PMX file runs fine: > > If you change \generalsignature3\Changecontext into \bar in my example it > works. > > If you say \instrumentnumbers1 instead of 2 it works too. See my pdf. > > Please post the pdf output of your PMX. > > -- > Jean-Pierre Coulon --- [email protected] <mailto:[email protected]> mailing list If you want to unsubscribe or look at the archives, go to https://tug.org/mailman/listinfo/tex-music --- [email protected] mailing list If you want to unsubscribe or look at the archives, go to https://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] check@staff ... specified range
This suggests that PMX doesn't invoke the buggy code in musixtex.tex. On Fri, Aug 11, 2023 at 2:12 PM wrote: > Jean-Pierre-- > > The attached image roughly reproduces your most recent 1-instrument image, > but with an added instrument above with only blank rests. It came from this > file: > > > 3 2 3 4 3 4 0 1 > 1 2 20 0 > > > ttt > ./ > AS0- > f24 za zc zd g-4 zb zd | b zd b zd g- zb | a2 zc ,g zb | b4 zd b zd g- zb / > a45x3 d- c a+x3 d- c g+x3 d b | b+8 d- b+ d- g d | a+ d- a+ d- g d | > b+ d- b+ d- g d / > rbd2 | rbd | rbd | rbd / > K+0+3 > Rd > a44 zc d- g zb | d d- b+ | d d- a+ / > a85 d- a+ d- g d | b+ d- b+ d- g d | b+ d- b+ d- g d / > rbd2 | rbd | rbd / > Rl > Cb > dd23 zd- | rp Rr / > a85 a- d a f+ a- | a+ f d a f d / > rb2d | rbd / > = > > However, I'm still not clear on exactly what you were trying to create when > you generated the error. The two different versions of your tex file that > do > work produce two different images. I wanted to create a PMX file that tries > to do EXACTLY what you were trying to do when you generated the error. > > --Don > > > -Original Message- > > From: TeX-Music > > On Behalf Of Jean-Pierre Coulon > > Sent: Friday, August 11, 2023 10:30 AM > > To: Werner Icking Music Archive > > Subject: Re: [Tex-music] check@staff ... specified range > > > > On Fri, 11 Aug 2023, [email protected] wrote: > > > > > Jean-Pierre, could you post a .tex file that works and shows exactly > > > what you want? I'm trying to reproduce whatever your problem is with a > > > PMX-generated file, and so far cannot recreate the problem. The > > > following PMX file runs fine: > > > > If you change \generalsignature3\Changecontext into \bar in my example it > > works. > > > > If you say \instrumentnumbers1 instead of 2 it works too. See my pdf. > > > > Please post the pdf output of your PMX. > > > > -- > > Jean-Pierre Coulon > --- > [email protected] mailing list > If you want to unsubscribe or look at the archives, go to > https://tug.org/mailman/listinfo/tex-music > --- [email protected] mailing list If you want to unsubscribe or look at the archives, go to https://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] check@staff ... specified range
Jean-Pierre-- The attached image roughly reproduces your most recent 1-instrument image, but with an added instrument above with only blank rests. It came from this file: 3 2 3 4 3 4 0 1 1 2 20 0 ttt ./ AS0- f24 za zc zd g-4 zb zd | b zd b zd g- zb | a2 zc ,g zb | b4 zd b zd g- zb / a45x3 d- c a+x3 d- c g+x3 d b | b+8 d- b+ d- g d | a+ d- a+ d- g d | b+ d- b+ d- g d / rbd2 | rbd | rbd | rbd / K+0+3 Rd a44 zc d- g zb | d d- b+ | d d- a+ / a85 d- a+ d- g d | b+ d- b+ d- g d | b+ d- b+ d- g d / rbd2 | rbd | rbd / Rl Cb dd23 zd- | rp Rr / a85 a- d a f+ a- | a+ f d a f d / rb2d | rbd / = However, I'm still not clear on exactly what you were trying to create when you generated the error. The two different versions of your tex file that do work produce two different images. I wanted to create a PMX file that tries to do EXACTLY what you were trying to do when you generated the error. --Don > -Original Message- > From: TeX-Music > On Behalf Of Jean-Pierre Coulon > Sent: Friday, August 11, 2023 10:30 AM > To: Werner Icking Music Archive > Subject: Re: [Tex-music] check@staff ... specified range > > On Fri, 11 Aug 2023, [email protected] wrote: > > > Jean-Pierre, could you post a .tex file that works and shows exactly > > what you want? I'm trying to reproduce whatever your problem is with a > > PMX-generated file, and so far cannot recreate the problem. The > > following PMX file runs fine: > > If you change \generalsignature3\Changecontext into \bar in my example it > works. > > If you say \instrumentnumbers1 instead of 2 it works too. See my pdf. > > Please post the pdf output of your PMX. > > -- > Jean-Pierre Coulon pbds.pdf Description: Adobe PDF document --- [email protected] mailing list If you want to unsubscribe or look at the archives, go to https://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] check@staff ... specified range
On Fri, 11 Aug 2023, [email protected] wrote: Jean-Pierre, could you post a .tex file that works and shows exactly what you want? I'm trying to reproduce whatever your problem is with a PMX-generated file, and so far cannot recreate the problem. The following PMX file runs fine: If you change \generalsignature3\Changecontext into \bar in my example it works. If you say \instrumentnumbers1 instead of 2 it works too. See my pdf. Please post the pdf output of your PMX. -- Jean-Pierre Coulon pbstaff.pdf Description: Adobe PDF document --- [email protected] mailing list If you want to unsubscribe or look at the archives, go to https://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] check@staff ... specified range
Jean-Pierre, could you post a .tex file that works and shows exactly what you want? I'm trying to reproduce whatever your problem is with a PMX-generated file, and so far cannot recreate the problem. The following PMX file runs fine: == 3 2 3 4 3 4 0 0 1 2 20 0 ttt .\ AS0- gd24 gd gd gd / gd24 gd gd gd / gd24 gd gd gd / Rl K+0+3 gd24 gd gd gd / gd24 gd gd gd / gd24 gd gd gd / == --Don Simons > -Original Message- > From: TeX-Music > On Behalf Of Jean-Pierre Coulon > Sent: Friday, August 11, 2023 7:21 AM > To: Werner Icking Music Archive > Subject: [Tex-music] check@staff ... specified range > > With the attached file I obtain: > > bar 119 bar 120 bar 121 bar 122 > ! Staff number (2) out of specified range (1)!. > \check@staff ... specified range (\the \st@ffs )!} > > The problem disappears if change \generalsignature3\Changecontext into > \bar at line 65 or if I add/remove bars so this changecontext does not come at > a line break. > > It seems I am attempting to write into a 2nd staff on instrument No.2 e.g > \notes\blabla|\blabla&\blabla|blabla\en > > I have had similar cases with \leftrepeat or \rightrepeat. > > Any idea? > > -- > Jean-Pierre Coulon --- [email protected] mailing list If you want to unsubscribe or look at the archives, go to https://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] check@staff ... specified range
And it may help a debugger to know that replacing \xbar by \bar or \zbar or \zzbar all fail. Good luck! Bob On Fri, Aug 11, 2023 at 11:56 AM Jean-Pierre Coulon wrote: > On Fri, 11 Aug 2023, Bob Tennent wrote: > > > The following is a workaround: > > > > \setdoublebar% > > \xbar% > > \generalsignature3% > > \changesignature% > > This is a semi-workaround because with xbar you prenvent a linebreak where > I have one :-) > > -- > Jean-Pierre Coulon > --- > [email protected] mailing list > If you want to unsubscribe or look at the archives, go to > https://tug.org/mailman/listinfo/tex-music > --- [email protected] mailing list If you want to unsubscribe or look at the archives, go to https://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] check@staff ... specified range
On Fri, 11 Aug 2023, Bob Tennent wrote: The following is a workaround: \setdoublebar% \xbar% \generalsignature3% \changesignature% This is a semi-workaround because with xbar you prenvent a linebreak where I have one :-) -- Jean-Pierre Coulon --- [email protected] mailing list If you want to unsubscribe or look at the archives, go to https://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] check@staff ... specified range
The following is a workaround: \setdoublebar% \xbar% \generalsignature3% \changesignature% This might help someone find the bug which seems to be deep inside musixtex.tex and beyond my patience to track down. If you find it, let me know and I'll make the correction. Bob On Fri, Aug 11, 2023 at 10:21 AM Jean-Pierre Coulon wrote: > With the attached file I obtain: > > bar 119 bar 120 bar 121 bar 122 > ! Staff number (2) out of specified range (1)!. > \check@staff ... specified range (\the \st@ffs )!} > > The problem disappears if change \generalsignature3\Changecontext into > \bar at line 65 or if I add/remove bars so this changecontext does not > come at a line break. > > It seems I am attempting to write into a 2nd staff on instrument No.2 e.g > \notes\blabla|\blabla&\blabla|blabla\en > > I have had similar cases with \leftrepeat or \rightrepeat. > > Any idea? > > -- > Jean-Pierre Coulon--- > [email protected] mailing list > If you want to unsubscribe or look at the archives, go to > https://tug.org/mailman/listinfo/tex-music > --- [email protected] mailing list If you want to unsubscribe or look at the archives, go to https://tug.org/mailman/listinfo/tex-music

