Re: [Tex-music] Hpause, centerbar and time signature

2015-12-23 Thread Bob Tennent
 >|This combinations seems to be problematic.  Can anyone explain the
 >|mis-alignment in the first measure of the following:
 >|
 >|
 >|\input musixtex
 >|\input musixlit
 >|\nobarnumbers
 >|\nostartrule
 >|\generalmeter{\meterC}
 >|\startextract%
 >|\NOTEs\Hpause4{0.83}\en
 >|\def\atnextbar{\znotes\centerbar{\ccn{9}{\meterfont{10}}}\en}%

Explanation: \centerbar centers its argument exactly between
registers \lastbarpos and \lin@pos. The latter is the
current line position at the end of the bar, when \centerbar
is called, and musixtex.tex currently sets \lastbarpos to
the line position after the key signature but *before* any
time signature; hence the misalignment.

By setting \lastbarpos *after* any time signature, the
misalignment is corrected.

I've uploaded a release candidate for musixtex.tex version 1.21
here:

http://icking-music-archive.org/software/musixtex/musixtex.tex

Please report any issues to me.

Bob T.

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


Re: [Tex-music] Hpause, centerbar and time signature

2015-12-21 Thread Bob Tennent
 >|I got it I can see the problem. I don't have an answer,
 >|and maybe this is totally irrelevant, but our mentor
 >|Werner figured out how to do this many years ago, and
 >|it's built into PMX:

Don: I'm looking at pmx.tex and what pmxab generates for
rm10. Please tell me where the second parameter of \mbrest
comes from. The first parameter is the number of whole-bar
rests and the third parameter seems to be 0 in the examples
I see. But it's that second parameter that adjusts the
position of the barred long rest, presumably to work around
the not-quite valid musixtex.tex values of \lin@pos and
\lastbarpos. In your example, the second parameter for the
first 10-bar rest (the problematic one) is 11 and then it's
0 for all the others. So what is the logic that determines
that second parameter?  And why didn't Werner build his
solution into musixtex itself?

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


Re: [Tex-music] Hpause, centerbar and time signature

2015-12-21 Thread Don Simons
> From: TeX-Music [mailto:tex-music-boun...@tug.org] On Behalf Of Bob
> Tennent
> Sent: Monday, December 21, 2015 5:32 AM
> To: tex-music@tug.org
> Subject: [Tex-music] Hpause, centerbar and time signature
> 
> This combinations seems to be problematic.  Can anyone explain the mis-
> alignment in the first measure of the following:
>...

OK, I figured out that I didn't have the most recent musixtex.tex. Now that
I got it I can see the problem. I don't have an answer, and maybe this is
totally irrelevant, but our mentor Werner figured out how to do this many
years ago, and it's built into PMX:

==
1 1 4 4 0 6 0 0
1 4 20 0

t
.\
\\\nobarnumbers\
w2i
rm10 /
rm10 /
rm10 /
rm10 Rb /
L3M
m4406
rm9 /
rm9 /
rm9 /
rm9 Rb /
=

--Don Simons

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


Re: [Tex-music] Hpause, centerbar and time signature

2015-12-21 Thread Bob Tennent
 >|> This combinations seems to be problematic.  Can anyone explain the mis-
 >|> alignment in the first measure of the following:...
 >|
 >|I couldn't compile this. \ccn was undefined.

Abbreviation for \ccharnote.  In musixtex.tex since 1.16.

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


Re: [Tex-music] Hpause, centerbar and time signature

2015-12-21 Thread Don Simons
> -Original Message-
> From: TeX-Music [mailto:tex-music-boun...@tug.org] On Behalf Of Bob
> Tennent
> Sent: Monday, December 21, 2015 5:32 AM
> To: tex-music@tug.org
> Subject: [Tex-music] Hpause, centerbar and time signature
> 
> This combinations seems to be problematic.  Can anyone explain the mis-
> alignment in the first measure of the following:...

I couldn't compile this. \ccn was undefined.

--Don Simons

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


Re: [Tex-music] Hpause, centerbar and time signature

2015-12-21 Thread Bob Tennent
 >|> This combinations seems to be problematic.  Can anyone explain the
 >|> mis-alignment in the first measure of the following:
 >|
 >|Missing \startmuflex, maybe?

No. \startmuflex is needed for 3-pass processing but 3-pass
processing doesn't affect the mis-alignment.

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


Re: [Tex-music] Hpause, centerbar and time signature

2015-12-21 Thread Dirk Laurie
2015-12-21 15:31 GMT+02:00 Bob Tennent :

> This combinations seems to be problematic.  Can anyone explain the
> mis-alignment in the first measure of the following:

Missing \startmuflex, maybe?
---
TeX-music@tug.org mailing list
If you want to unsubscribe or look at the archives, go to 
http://tug.org/mailman/listinfo/tex-music


[Tex-music] Hpause, centerbar and time signature

2015-12-21 Thread Bob Tennent
This combinations seems to be problematic.  Can anyone explain the
mis-alignment in the first measure of the following:


\input musixtex
\input musixlit
\nobarnumbers
\nostartrule
\generalmeter{\meterC}
\startextract%
\NOTEs\Hpause4{0.83}\en
\def\atnextbar{\znotes\centerbar{\ccn{9}{\meterfont{10}}}\en}%
\bar%
\NOTEs\Hpause4{0.83}\en
\def\atnextbar{\znotes\centerbar{\ccn{9}{\meterfont{10}}}\en}%
\endextract
\generalmeter{}
\startextract
\NOTEs\Hpause4{0.83}\en
\def\atnextbar{\znotes\centerbar{\ccn{9}{\meterfont{10}}}\en}%
\bar%
\NOTEs\Hpause4{0.83}\en
\def\atnextbar{\znotes\centerbar{\ccn{9}{\meterfont{10}}}\en}%
\endextract
\generalmeter{\meterC}
\startextract%
\NOTEs\hqsk\sk\en
\def\atnextbar{\znotes\centerbar{\ccn{9}{\meterfont9}}\centerbar{\cPAUSe\off{2.5\elemskip}\cPAUSe\off{2.5\elemskip}\cpause}\en}%
\bar%
\NOTEs\hqsk\sk\en
\def\atnextbar{\znotes\centerbar{\ccn{9}{\meterfont9}}\centerbar{\cPAUSe\off{2.5\elemskip}\cPAUSe\off{2.5\elemskip}\cpause}\en}%
\endextract
\generalmeter{}
\startextract
\NOTEs\hqsk\sk\en
\def\atnextbar{\znotes\centerbar{\ccn{9}{\meterfont9}}\centerbar{\cPAUSe\off{2.5\elemskip}\cPAUSe\off{2.5\elemskip}\cpause}\en}%
\bar%
\NOTEs\hqsk\sk\en
\def\atnextbar{\znotes\centerbar{\ccn{9}{\meterfont9}}\centerbar{\cPAUSe\off{2.5\elemskip}\cPAUSe\off{2.5\elemskip}\cpause}\en}%
\endextract
\end

_

The other measures show that all three elements are needed for the
mis-alignment.

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