Re: [Tex-music] Non-spacing rests?

2015-11-17 Thread Rodolfo Medina
> Am 16.11.2015 um 17:48 schrieb Don Simons:
>> Rodolfo Medina wrote:
>>> Dieter  writes:
>>>
 Hi,

 With my little tool "XML2PMX" I produced a MusiXTeX verion of the 1st
 Sinfonia BWV 787. Pls. see attachments.

 I scanned a good print edition, the scanner software gave me MusicXML
 output, I ran it through XML2PMX and got the PMX file.
>>> I tried to process your pmx file with pmxab, but got error:
>>>
>>> $ pmxab test.pmx
>>>   This is PMX, Version 2.7  , 3 Apr 13
>>>   Opening test.pmx
>>>
>>>   Starting first PMX pass
>>> fmt: read unexpected character
>>> apparent state: internal I/O
>>> last format: (f1.0)xd
>>>   x   g
>>>
>>> lately reading sequential formatted internal IO Aborted rodolfo@sdb6-
>>> pentium3:~/musica/musixtex$ pmxab test.pmx  This is PMX, Version 2.7  , 3
>>> Apr 13
>>>   Opening test.pmx
>>>
>>>   Starting first PMX pass
>>> fmt: read unexpected character
>>> apparent state: internal I/O
>>> last format: (f3.0)xd
>>> 7 꿚g
>>>
>>> lately reading sequential formatted internal IO Aborted
>> If you are referring to sinfonia.pmx, I processed it with no problem (PMX
>> 2.703, 23 March 14).


All right, now I managed to process Dieter's new attachment.  I'm now trying to
install and then test that free scanner software Dieter found.

Thanks,

Rodolfo

---
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] Non-spacing rests?

2015-11-16 Thread Dieter

Don,

you are perfectly right asking for more debugging. But in this case  it 
was manual work, and I may also need some more personal debugging.
Finally you are right with the AK-option. It does an excellent job. But  
I did not directly discover its virtues, because I had started to tweak 
the rests manually with + or -.


The only effect of this is, that it annihilates the effect of "AK".

XML2PMX cannot be fully automatic because MusicXML files are normally 
neither error free nor complete.
This is particularly true for scanner export but also for export files 
from note type setting programs.
E.g. ties and slurs are never complete and also their position "l" or 
"u" is not always recognized correctly by the scanner.


Regards,
Dieter

Am 16.11.2015 um 17:48 schrieb Don Simons:

Rodolfo Medina wrote:

Dieter  writes:


Hi,

With my little tool "XML2PMX" I produced a MusiXTeX verion of the 1st
Sinfonia BWV 787. Pls. see attachments.

I scanned a good print edition, the scanner software gave me MusicXML
output, I ran it through XML2PMX and got the PMX file.

I tried to process your pmx file with pmxab, but got error:

$ pmxab test.pmx
  This is PMX, Version 2.7  , 3 Apr 13
  Opening test.pmx

  Starting first PMX pass
fmt: read unexpected character
apparent state: internal I/O
last format: (f1.0)xd
  x   g

lately reading sequential formatted internal IO Aborted rodolfo@sdb6-
pentium3:~/musica/musixtex$ pmxab test.pmx  This is PMX, Version 2.7  , 3
Apr 13
  Opening test.pmx

  Starting first PMX pass
fmt: read unexpected character
apparent state: internal I/O
last format: (f3.0)xd
7 꿚g

lately reading sequential formatted internal IO Aborted

If you are referring to sinfonia.pmx, I processed it with no problem (PMX 
2.703, 23 March 14).

I notice that in the infamous bar 11, the pmx coding contains

==
% Part, staff, voice( 1|| 2| 6), Bar 11
  f83su r8 r4  r2b | //  | //
==

I'm surprised PMX didn't choke on the repeated bar termination and voice shift commands. 
I'm guessing that's because PMX ignores everything after the first "//".  
Nevertheless, if that came from XML2PMX, some debugging may be in order.

I'll also mention again, as I did in my previous posting, that the global PMX 
option AK will give the rests in 2-voice staves the proper vertical positions.

--Don Simons

  






--

Dr. Dieter Glötzel
Im Rosengarten 27
64367 Mühltal
Tel.: 06151 / 360 82 72



sinfonia1.pdf
Description: Adobe PDF document
%
%http://www.musicxml.org/dtds/partwise.dtd;>
%
%
% 
%Software : SharpEye Music Reader 2
%Part P1 : 
%
%
% nv,noinst,mtrnuml,mtrdenl,mtrnmp,mtrdnp,xmtrnum0,isig
 2 1 4 4 4 4 0 0
%
% npages,nsyst,musicsize,fracindent 
 02 10 20 0.07
Piano
bt
./
Tt
Sinfonia 1
Tc
J.S. Bach BWV 787
Abep
AK


% Part, staff, voice( 1|| 2| 5), Bar 1
 c43l r8 c84l [l b83l g83l a83l b83l ] | /
% Part, staff, voice( 1|| 1| 2), Bar 1
 r0 | //
% Part, staff, voice( 1|| 1| 1), Bar 1
 r1 [u g14u a14u b14u ] [u c15u d15u e15u f15u ] [u g15u f15u g15u a15u ] [u 
f15u a15u g15u f15u ] | 
/
% Part, staff, voice( 1|| 2| 5), Bar 2
 c44l r8 b83l [l a83l g83l a83l d83l ] | /
% Part, staff, voice( 1|| 1| 2), Bar 2
r1 [l c14l d14l e14l ] [l f14l g14l a14l b14l ] [l c15l b14l c15l d15l ] [l 
c15l e15l d15l c15l ] | 
//
% Part, staff, voice( 1|| 1| 1), Bar 2
 {u e25u e45u } f45su | /
% Part, staff, voice( 1|| 2| 5), Bar 3
 [l g12l g13l a13l b13l ] [l c14l d14l e14l f14l ] [l g14l f14l g14l a14l ] [l 
f14l a14l g14l f14l ] 
| /
% Part, staff, voice( 1|| 1| 2), Bar 3
 [l b84l {u d85l ] [l d85lr } {l c85l ] c45lr } {l b44l | //
% Part, staff, voice( 1|| 1| 1), Bar 3
 [u g85u f85nu ] e45u [u d85u  e15u f15u ] {u d45u | /
% Part, staff, voice( 1|| 2| 5), Bar 4
 [l e14l f14l e14l d14l ] [l c14l b13l a13l g13l ] [l f13l g13l f13l e13l ] [l 
f13l d13l e13l f13l ] 
| /
% Part, staff, voice( 1|| 1| 2), Bar 4
 b44l } r1 [l d15l c15l b14l ] a4d4l a84l | //
% Part, staff, voice( 1|| 1| 1), Bar 4
 [u d85u } g15u f15u ] {u e45u [u e85u } e85u ] {u d45u | /
% Part, staff, voice( 1|| 2| 5), Bar 5
 [u e13u g12u a12u b12u ] [l c13l d13l e13l f13l ] [l g13l f13l g13l a13l ] [l 
f13l a13l g13l f13l ] 
| /
% Part, staff, voice( 1|| 1| 2), Bar 5
 [l g84l f84l ] e44l {l d24l | //
% Part, staff, voice( 1|| 1| 1), Bar 5
 d4d5u } {u c85u [u c85u } b14u a14u ] [u b14u c15u d15u b14u ] | /
% Part, staff, voice( 1|| 2| 6), Bar 6
 {l e23l e43lr } d43l | //
% Part, staff, voice( 1|| 2| 5), Bar 6
 r4b [u c14u b13u a13u g13u ] [u f13u  g13u f13u e13u ] [u f13u d13u e13u f13u 
] | /
% Part, staff, voice( 1|| 1| 2), Bar 6
 [l d14l } f14l e14l d14l ] r2db | //
% Part, staff, voice( 1|| 1| 1), Bar 6
 {u g44u [u g14u } c15u d15u e15u ] [u a14u b14u a14u b14u ] [u b8d4u a34u b34u 
] | /
% Part, staff, voice( 1|| 2| 6), Bar 7
 e43u r2db | //
% Part, staff, voice( 1|| 2| 5), Bar 7
 [l c13l d13l c13l b12l ] [u a12u g12u f12su e12u ] [u d12u e13u d13u c13u ] [u 

Re: [Tex-music] Non-spacing rests?

2015-11-15 Thread Rodolfo Medina
Andre Van Ryckeghem  writes:

> If you really need non spacing rests, you can use \rlap{} or llap{} (left
> extending)
>
> [...]
>
> Andre

\llap and \rlap seem to give a quite good solution to the problem of
non-spacing rests.

Thanks to all,

Rodolfo


> -Oorspronkelijk bericht- 
> From: Rodolfo Medina
> Sent: Saturday, November 14, 2015 12:39 PM
> To: tex-music@tug.org
> Subject: [Tex-music] Non-spacing rests?
>
> Hi to all MusiXTeX(ers).
>
> I didn't find in the MusiXTeX manual a command to type a non-spacing rest,
> analogous to, e.g., \zql{p} for a non-spacing note.  In polyphonic scores,
> non-spacing rests often occur.  Now I'm typing in MusiXTeX language the first
> three-voices Sinfonia for keyboard in C major by J. S. Bach, and in bars 11
> and 12 non-spacing rests are present.
>
> Thanks for any help.
>
> Rodolfo
---
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] Non-spacing rests?

2015-11-15 Thread Dieter

Hi,

With my little tool "XML2PMX" I produced a MusiXTeX verion of the 1st 
Sinfonia BWV 787. Pls. see attachments.


I scanned a good print edition, the scanner software gave me MusicXML 
output, I ran it through XML2PMX and got the PMX file.


Then I had to do a few corrections:

1. adding blind rests  (as you know, PMX does not accept incomplete
   measures)
2. sometimes the scanner software mixed up the voices
3. several rests were recognized by the scanner software as notes

In total less than 2 hours of work.

What is still missing are the vertical position of some rests and the 
ornaments.


Whether it is easier to typeset the fingering in PMX or MusixTex, I do 
not know.


Regards, Dieter

Am 14.11.2015 um 15:33 schrieb Rodolfo Medina:

Rodolfo Medina  writes:


Rodolfo Medina  writes:


Jean-Pierre Coulon  writes:


On Sat, 14 Nov 2015, Rodolfo Medina wrote:


Now I'm typing in MusiXTeX language the first three-voices Sinfonia for
keyboard in C major by J. S. Bach [...]

What will your edition have that those present on
http://imslp.org/wiki/15_Sinfonias,_BWV_787-801_(Bach,_Johann_Sebastian)
don't have?  :-)

Jean-Pierre Coulon


Often, to play a piece for keyboard, you feel the need of changing the
fingering at your pleasure - or even add it when it is not there.  This is a
general problem for me, and the main reason because I'm learning using
MusiXTeX: I want to re-type all the pieces I use playing, in order to type
at my pleasure the fingering and also the pedal and also the pizzicato and
the slurs.  In most cases you have those information already printed in your
score book, and correct them by pencil can be confusing.  So it is a great
luck that something like MusiXTeX exists!

Rodolfo


I just saw at

  http://imslp.org/wiki/15_Sinfonias,_BWV_787-801_(Bach,_Johann_Sebastian)

the pmw source files.  Any possibility of convertion pmw -> MusiXTeX? ;-)


Sorry, I alreay posted that question, and the answer seems to be negative.

Rodolfo
---
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




--

Dr. Dieter Glötzel
Im Rosengarten 27
64367 Mühltal
Tel.: 06151 / 360 82 72

%
%http://www.musicxml.org/dtds/partwise.dtd;>
%
%
% 
%Software : SharpEye Music Reader 2
%Part P1 : 
%
%
% nv,noinst,mtrnuml,mtrdenl,mtrnmp,mtrdnp,xmtrnum0,isig
 2 1 4 4 4 4 0 0
%
% npages,nsyst,musicsize,fracindent 
 02 10 20 0.07
Piano
bt
./
Tt
Sinfonia 1
Tc
J.S. Bach BWV 787
Abep



% Part, staff, voice( 1|| 2| 5), Bar 1
 c43l r8 c84l [l b83l g83l a83l b83l ] | /
% Part, staff, voice( 1|| 1| 2), Bar 1
 r0 | //
% Part, staff, voice( 1|| 1| 1), Bar 1
 r1 [u g14u a14u b14u ] [u c15u d15u e15u f15u ] [u g15u f15u g15u a15u ] [u 
f15u a15u g15u f15u ] | 
/
% Part, staff, voice( 1|| 2| 5), Bar 2
 c44l r8 b83l [l a83l g83l a83l d83l ] | /
% Part, staff, voice( 1|| 1| 2), Bar 2
r1 [l c14l d14l e14l ] [l f14l g14l a14l b14l ] [l c15l b14l c15l d15l ] [l 
c15l e15l d15l c15l ] | 
//
% Part, staff, voice( 1|| 1| 1), Bar 2
 {u e25u e45u } f45su | /
% Part, staff, voice( 1|| 2| 5), Bar 3
 [l g12l g13l a13l b13l ] [l c14l d14l e14l f14l ] [l g14l f14l g14l a14l ] [l 
f14l a14l g14l f14l ] 
| /
% Part, staff, voice( 1|| 1| 2), Bar 3
 [l b84l {u d85l ] [l d85lr } {l c85l ] c45lr } {l b44l | //
% Part, staff, voice( 1|| 1| 1), Bar 3
 [u g85u f85nu ] e45u [u d85u  e15u f15u ] {u d45u | /
% Part, staff, voice( 1|| 2| 5), Bar 4
 [l e14l f14l e14l d14l ] [l c14l b13l a13l g13l ] [l f13l g13l f13l e13l ] [l 
f13l d13l e13l f13l ] 
| /
% Part, staff, voice( 1|| 1| 2), Bar 4
 b44l } r1 [l d15l c15l b14l ] a4d4l a84l | //
% Part, staff, voice( 1|| 1| 1), Bar 4
 [u d85u } g15u f15u ] {u e45u [u e85u } e85u ] {u d45u | /
% Part, staff, voice( 1|| 2| 5), Bar 5
 [u e13u g12u a12u b12u ] [l c13l d13l e13l f13l ] [l g13l f13l g13l a13l ] [l 
f13l a13l g13l f13l ] 
| /
% Part, staff, voice( 1|| 1| 2), Bar 5
 [l g84l f84l ] e44l {l d24l | //
% Part, staff, voice( 1|| 1| 1), Bar 5
 d4d5u } {u c85u [u c85u } b14u a14u ] [u b14u c15u d15u b14u ] | /
% Part, staff, voice( 1|| 2| 6), Bar 6
 {l e23l e43lr } d43l | //
% Part, staff, voice( 1|| 2| 5), Bar 6
 r4b [u c14u b13u a13u g13u ] [u f13u  g13u f13u e13u ] [u f13u d13u e13u f13u 
] | /
% Part, staff, voice( 1|| 1| 2), Bar 6
 [l d14l } f14l e14l d14l ] r2db | //
% Part, staff, voice( 1|| 1| 1), Bar 6
 {u g44u [u g14u } c15u d15u e15u ] [u a14u b14u a14u b14u ] [u b8d4u a34u b34u 
] | /
% Part, staff, voice( 1|| 2| 6), Bar 7
 e43u r2db | //
% Part, staff, voice( 1|| 2| 5), Bar 7
 [l c13l d13l c13l b12l ] [u a12u g12u f12su e12u ] [u d12u e13u d13u c13u ] [u 
b12u a12u g12u f12u ] | /
% Part, staff, voice( 1|| 1| 2), Bar 7
r4b r8 e84l f44sl r1 [l c15l b14l a14l ] | //
% Part, staff, voice( 1|| 1| 1), Bar 7
 [u c85u g84u ] {u c45u [u c85u } b14u a14u ] {u d45u | /
% Part, staff, voice( 1|| 2| 5), 

Re: [Tex-music] Non-spacing rests?

2015-11-14 Thread Andre Van Ryckeghem
If you really need non spacing rests, you can use \rlap{} or llap{} (left 
extending), or make a command, ie. \zds


example:
===
   11   2 4 0  0  0 1
  1 1   20  .01

t
./
%
\\def\zds{\rlap{\ds}}\
\rlap{\raise -2\Interligne\ds}\ d25u \rlap{\qs}\ d \llap{\qs\bsk\qsk}\ d 
\zds\ d+u /

=

Andre

-Oorspronkelijk bericht- 
From: Rodolfo Medina

Sent: Saturday, November 14, 2015 12:39 PM
To: tex-music@tug.org
Subject: [Tex-music] Non-spacing rests?

Hi to all MusiXTeX(ers).

I didn't find in the MusiXTeX manual a command to type a non-spacing rest,
analogous to, e.g., \zql{p} for a non-spacing note.  In polyphonic scores,
non-spacing rests often occur.  Now I'm typing in MusiXTeX language the 
first
three-voices Sinfonia for keyboard in C major by J. S. Bach, and in bars 11 
and

12 non-spacing rests are present.

Thanks for any help.

Rodolfo
---
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@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] Non-spacing rests?

2015-11-14 Thread Don Simons
Rodolfo  Medina wrote

 

> I didn't find in the MusiXTeX manual a command to type a non-spacing rest,

> analogous to, e.g., \zql{p} for a non-spacing note.  In polyphonic scores,
non-

> spacing rests often occur.  Now I'm typing in MusiXTeX language the first

> three-voices Sinfonia for keyboard in C major by J. S. Bach, and in bars
11 and

> 12 non-spacing rests are present.

 

I would not call the rests in bars 11 and 12 "non-spacing". They are simply
rests in a second voice on the same staff. I spent lots of effort designing
PMX do deal with all aspects of exactly this situation:

1. It can easily accommodate two voices on each staff.

2. There are blank rests which can be used to fill in the remaining time in
any voice

3. There is a global option AK which changes the rules for default vertical
positioning of rests whenever there are two voices in the same staff.

 

Together these features allow typesetting bar 11 of Sinfonia 1 with no
inline TeX at all. Here's the PMX source:

 

===

2 1 4 4 4 4 0 0

1 1 20 0

 

bt

.\

AKpb

w4i

d13 g fs e d c b a [u g a g fn ] [u g e f g ] //

fs83 r r4 rb2 /

rb2 r1 d14 e fn e4 t //

a14 b a g a fs g a b4 t b1 t g a bf /

===

 

and here is the result (you must allow HTML to see the image):

 



--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] Non-spacing rests?

2015-11-14 Thread Jean-Pierre Coulon

On Sat, 14 Nov 2015, Rodolfo Medina wrote:


I didn't find in the MusiXTeX manual a command to type a non-spacing rest,
analogous to, e.g., \zql{p} for a non-spacing note.  In polyphonic scores,
non-spacing rests often occur.  Now I'm typing in MusiXTeX language the first
three-voices Sinfonia for keyboard in C major by J. S. Bach, and in bars 11 and
12 non-spacing rests are present.


Personally I say \z_some_note at the note coming along with the rest and I 
let the rest do the spacing job afterwards.


I remember an old manual saying "rests are hboxes", so probably this makes 
designing a non-spacing rest macro difficult. :-)


Jean-Pierre Coulon
---
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] Non-spacing rests?

2015-11-14 Thread Jean-Pierre Coulon

On Sat, 14 Nov 2015, Dirk Laurie wrote:


You mean the piece available as http://imslp.org/wiki/File:BWV0787.pdf?
Those are not non-spacing rests, they are ordinary rests in the middle
voice. The complication is that the melody is distributed between the
two staves. I would typeset those bars as four voices and use blind
rests to fill up the space when the melody moves to the other stave.


Do mean saying \instrumentnumber4 and \notes...&...&...&..\en?

Then how do you cause only 2 staves to show up and 2 voices to fit into a 
single staff?


Jean-Pierre Coulon
---
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] Non-spacing rests?

2015-11-14 Thread Dirk Laurie
2015-11-14 15:46 GMT+02:00 Dirk Laurie :
> 2015-11-14 15:28 GMT+02:00 Jean-Pierre Coulon :
>> On Sat, 14 Nov 2015, Dirk Laurie wrote:
>>
>>> You mean the piece available as http://imslp.org/wiki/File:BWV0787.pdf?
>>> Those are not non-spacing rests, they are ordinary rests in the middle
>>> voice. The complication is that the melody is distributed between the
>>> two staves. I would typeset those bars as four voices and use blind
>>> rests to fill up the space when the melody moves to the other stave.
>>
>>
>> Do mean saying \instrumentnumber4 and \notes...&...&...&..\en?
>>
>> Then how do you cause only 2 staves to show up and 2 voices to fit into a
>> single staff?
>
> There is a macro \nextvoice in pmx.tex that I can't pretend to
> understand, but it does the job. You put it somewhere between
> \notes and \en to separate the two voices.
>
> I attach .tex and .pdf files that you can compare.


xxx.pdf
Description: Adobe PDF document
---
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] Non-spacing rests?

2015-11-14 Thread Dirk Laurie
2015-11-14 13:39 GMT+02:00 Rodolfo Medina :

> I didn't find in the MusiXTeX manual a command to type a non-spacing rest,
> analogous to, e.g., \zql{p} for a non-spacing note.  In polyphonic scores,
> non-spacing rests often occur.  Now I'm typing in MusiXTeX language the first
> three-voices Sinfonia for keyboard in C major by J. S. Bach, and in bars 11 
> and
> 12 non-spacing rests are present.

You mean the piece available as http://imslp.org/wiki/File:BWV0787.pdf?
Those are not non-spacing rests, they are ordinary rests in the middle
voice. The complication is that the melody is distributed between the
two staves. I would typeset those bars as four voices and use blind
rests to fill up the space when the melody moves to the other stave.
---
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] Non-spacing rests?

2015-11-14 Thread Rodolfo Medina
Dirk Laurie  writes:

> 2015-11-14 13:39 GMT+02:00 Rodolfo Medina :
>
>> I didn't find in the MusiXTeX manual a command to type a non-spacing rest,
>> analogous to, e.g., \zql{p} for a non-spacing note.  In polyphonic scores,
>> non-spacing rests often occur.  Now I'm typing in MusiXTeX language the first
>> three-voices Sinfonia for keyboard in C major by J. S. Bach, and in bars 11
>> and
>> 12 non-spacing rests are present.
>
> You mean the piece available as http://imslp.org/wiki/File:BWV0787.pdf?
> Those are not non-spacing rests, they are ordinary rests in the middle
> voice. The complication is that the melody is distributed between the
> two staves. I would typeset those bars as four voices and use blind
> rests to fill up the space when the melody moves to the other stave.


Thanks.  Would you mean by blind rest?

Rodolfo
---
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] Non-spacing rests?

2015-11-14 Thread Jean-Pierre Coulon

On Sat, 14 Nov 2015, Rodolfo Medina wrote:

Now I'm typing in MusiXTeX language the first three-voices Sinfonia for 
keyboard in C major by J. S. Bach [...]


What will your edition have that those present on 
http://imslp.org/wiki/15_Sinfonias,_BWV_787-801_(Bach,_Johann_Sebastian) 
don't have?  :-)


Jean-Pierre Coulon
---
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] Non-spacing rests?

2015-11-14 Thread Dirk Laurie
2015-11-14 15:28 GMT+02:00 Jean-Pierre Coulon :
> On Sat, 14 Nov 2015, Dirk Laurie wrote:
>
>> You mean the piece available as http://imslp.org/wiki/File:BWV0787.pdf?
>> Those are not non-spacing rests, they are ordinary rests in the middle
>> voice. The complication is that the melody is distributed between the
>> two staves. I would typeset those bars as four voices and use blind
>> rests to fill up the space when the melody moves to the other stave.
>
>
> Do mean saying \instrumentnumber4 and \notes...&...&...&..\en?
>
> Then how do you cause only 2 staves to show up and 2 voices to fit into a
> single staff?

There is a macro \nextvoice in pmx.tex that I can't pretend to
understand, but it does the job. You put it somewhere between
\notes and \en to separate the two voices.

I attach .tex and .pdf files that you can compare.


xxx.tex
Description: TeX document
---
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] Non-spacing rests?

2015-11-14 Thread Rodolfo Medina
Rodolfo Medina  writes:

> Jean-Pierre Coulon  writes:
>
>> On Sat, 14 Nov 2015, Rodolfo Medina wrote:
>>
>>> Now I'm typing in MusiXTeX language the first three-voices Sinfonia for
>>> keyboard in C major by J. S. Bach [...]
>>
>> What will your edition have that those present on
>> http://imslp.org/wiki/15_Sinfonias,_BWV_787-801_(Bach,_Johann_Sebastian)
>> don't have?  :-)
>>
>> Jean-Pierre Coulon
>
>
> Often, to play a piece for keyboard, you feel the need of changing the
> fingering at your pleasure - or even add it when it is not there.  This is a
> general problem for me, and the main reason because I'm learning using
> MusiXTeX: I want to re-type all the pieces I use playing, in order to type at
> my pleasure the fingering and also the pedal and also the pizzicato and the
> slurs.  In most cases you have those information already printed in your score
> book, and correct them by pencil can be confusing.  So it is a great luck that
> something like MusiXTeX exists!
>
> Rodolfo


I just saw at

 http://imslp.org/wiki/15_Sinfonias,_BWV_787-801_(Bach,_Johann_Sebastian)

the pmw source files.  Any possibility of convertion pmw -> MusiXTeX? ;-)

Rodolfo
---
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] Non-spacing rests?

2015-11-14 Thread Rodolfo Medina
Jean-Pierre Coulon  writes:

> On Sat, 14 Nov 2015, Rodolfo Medina wrote:
>
>> I didn't find in the MusiXTeX manual a command to type a non-spacing rest,
>> analogous to, e.g., \zql{p} for a non-spacing note.  In polyphonic scores,
>> non-spacing rests often occur.  Now I'm typing in MusiXTeX language the
>> first three-voices Sinfonia for keyboard in C major by J. S. Bach, and in
>> bars 11 and 12 non-spacing rests are present.
>
> Personally I say \z_some_note at the note coming along with the rest and I
> let the rest do the spacing job afterwards.
>
> I remember an old manual saying "rests are hboxes", so probably this makes
> designing a non-spacing rest macro difficult. :-)
>
> Jean-Pierre Coulon

Thanks.

Yes, that must be the reason.

Rodolfo
---
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] Non-spacing rests?

2015-11-14 Thread Rodolfo Medina
Jean-Pierre Coulon  writes:

> On Sat, 14 Nov 2015, Rodolfo Medina wrote:
>
>> Now I'm typing in MusiXTeX language the first three-voices Sinfonia for
>> keyboard in C major by J. S. Bach [...]
>
> What will your edition have that those present on
> http://imslp.org/wiki/15_Sinfonias,_BWV_787-801_(Bach,_Johann_Sebastian)
> don't have?  :-)
>
> Jean-Pierre Coulon


Often, to play a piece for keyboard, you feel the need of changing the
fingering at your pleasure - or even add it when it is not there.  This is a
general problem for me, and the main reason because I'm learning using
MusiXTeX: I want to re-type all the pieces I use playing, in order to type at
my pleasure the fingering and also the pedal and also the pizzicato and the
slurs.  In most cases you have those information already printed in your score
book, and correct them by pencil can be confusing.  So it is a great luck that
something like MusiXTeX exists!

Rodolfo
---
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] Non-spacing rests?

2015-11-14 Thread Rodolfo Medina
Rodolfo Medina  writes:

> Rodolfo Medina  writes:
>
>> Jean-Pierre Coulon  writes:
>>
>>> On Sat, 14 Nov 2015, Rodolfo Medina wrote:
>>>
 Now I'm typing in MusiXTeX language the first three-voices Sinfonia for
 keyboard in C major by J. S. Bach [...]
>>>
>>> What will your edition have that those present on
>>> http://imslp.org/wiki/15_Sinfonias,_BWV_787-801_(Bach,_Johann_Sebastian)
>>> don't have?  :-)
>>>
>>> Jean-Pierre Coulon
>>
>>
>> Often, to play a piece for keyboard, you feel the need of changing the
>> fingering at your pleasure - or even add it when it is not there.  This is a
>> general problem for me, and the main reason because I'm learning using
>> MusiXTeX: I want to re-type all the pieces I use playing, in order to type
>> at my pleasure the fingering and also the pedal and also the pizzicato and
>> the slurs.  In most cases you have those information already printed in your
>> score book, and correct them by pencil can be confusing.  So it is a great
>> luck that something like MusiXTeX exists!
>>
>> Rodolfo
>
>
> I just saw at
>
>  http://imslp.org/wiki/15_Sinfonias,_BWV_787-801_(Bach,_Johann_Sebastian)
>
> the pmw source files.  Any possibility of convertion pmw -> MusiXTeX? ;-)


Sorry, I alreay posted that question, and the answer seems to be negative.

Rodolfo
---
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] Non-spacing rests?

2015-11-14 Thread Dirk Laurie
2015-11-14 16:07 GMT+02:00 Rodolfo Medina :

> I just saw at
>
>  http://imslp.org/wiki/15_Sinfonias,_BWV_787-801_(Bach,_Johann_Sebastian)
>
> the pmw source files.  Any possibility of convertion pmw -> MusiXTeX? ;-)

A new release of PMW appeared in February 2014. It built right out of the
box on my Ubuntu system. The user manual is very comprehensive.

The input language is not hard to understand if you are familiar
with M-Tx or LilyPond. For example:

PMW sample (first in the manual):

~~~
heading "|National Anthem"
breakbarlines
underlaysize 9.5
notespacing *1.1
key G
time 3/4
[stave 1 treble 1 text underlay]
"God save our gra-cious Queen,"
g g a | f. g- a |
"Long live our no-ble Queen,"
b b c' | b. a- g |
"God save the Queen."
a g f | G. |
[endstave]
[stave 2 bass 0]
g` b` c | d. e- f | g e c | d. #d- e | c d d | G`. |
[endstave]
~~~

M-Tx equivalent:

~~~
Title: National Anthem
Sharps: 1
Meter: 3/4
Style: Singer Bass
Bass: Voices B; Clefs F

g g a | f.g a
L: God save our gra-cious Queen,
g- b c | d.e f

b b c | b.a g
L: Long live our no-ble Queen,
g e c | d ds e

a g f | g2d
L: God save the Queen.
c d d | g2d
~~~

Conversion of this level of PMW to M-Tx (which eventually leads to
MusiXTeX) would be fairly easy. In fact, supporting a subset of PMW
as an input option would probably be the easiest way to do it.

The full PMW language, which one must assum that people who code
PMW would be using, has hpwever many more features than even
PMX, since the fallback option of raw MusiXTeX is not available, and
supporting that would only be possible by tapping into the PMW source
code to supply MusiXTeX rather than Postscript output.

But for the purpose of modifying an existing score written in PMW,
I would say it is far easier to learn enough PMW so that one can do
it directly on the PMW source itself.
---
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] Non-spacing rests

2006-02-13 Thread Rainer Dunker
On Mon, Feb 13, 2006 at 10:13:27AM +0100, Hermann Hinsch wrote:
 Is there a possibility to use non-spacing rests analogue non-spacing notes by 
 inserting TeX commands within pmx?

What about, e.g., \qp\bsk\ ?


Regards,

Rainer
___
TeX-music mailing list
TeX-music@icking-music-archive.org
http://icking-music-archive.org/mailman/listinfo/tex-music