> Date: Wed, 23 Sep 1998 20:25:47 +0200 (MET DST)
> From: [EMAIL PROTECTED] (Eckart Begemann)

> A) Writing a piece consisting of several movements I encounter the following
>    problem related to PMX:
>    While developing a piece it is recommended to set npages=0 and
>    nsystems=3 (approx) (approx 3 bars per line), because this saves
>    the effort to increase these numbers steadily.
>    But startin a new movement you need to say "L7PM" (or somewhat similar).
>    This leads to an errormessage, because "npages=0" does not like this.
>    (Obiously the systems are not counted?)
>    Which is an elegant way to handle this task?

For bigger pieces, long movements, more than one movement, ... I develop
some bars or a movement or some other part seperately using e.g. 0 3
as you describe. When that is ok I add it to the already developed parts
incrementing the number of pages and systems.

> B)
> After changing the source there are only two questions left:
>  1) those dotted breves (probably a difficult work?)

Don't know.

>  2) And how do I suppress the barline at a meter change.

Look at the generated TeX-source how the bar line is generated
and then replace that code by the appropriate code not generating
a bar line. This can often be done using In-line TeX.

If the barline is generated calling \xxx and the same code without
a barline is \zxxx then add to the beginning of the PMX-code:

\\let\xxxsav\xxx\
\\def\zxxxforxxx{\gdef\xxx{\global\let\xxx\xxxsav\zxxx}}\

If \xxx and \zxxx have e.g. one parameter use:

\\def\zxxxforxxx{\gdef\xxx##1{\global\let\xxx\xxxsav\zxxx{##1}}}\

Then use just *before* the last real note or rest before the barline
\zxxxforxxx\  e.g if the original code is

c d e f /
L3 c d e f /

and the barline for line 3 is generated by \alaligne use:

\\let\alalignesav\alaligne\
\\def\zalaligneforalaligne{\gdef\alaligne{\global\let\alaligne\alalignesav\zalaligne}}\

...
c d e \zalaligneforalaligne\ f /
L3 c d e f


I didn't analyze your example in detail. The problem, that your implementation(?)
of Don's proposal does not work is that you wrote:

> %54a
> m3o00
> g9- r0 /
> g9 r0 \zalasal\  /

instead of

  g9    \zalasal\  r0 /

In-line TeX at the end of an input block does not belong to any real note or rest.
It simply disappears.


-- Werner

Reply via email to