[Tex-music] Linebreak and Movement break

2014-11-27 Thread Dieter

Dear PMXperts,

I generated this wonderful PMX-file (Telemann Fantasie for Flute a 
major) out of MusicXML. There is a movement break (as well as a meter 
change) at Bar 37.
So I put L15M before the notes of the Bar. and get an error condition 
missing number treates as zero, etc. . What am I doing wrong? Without 
the M

everything works fine.

Regards Dieter



---
\input musixtex
\input pmx
%\staffbotmarg=13cm

---
% In the Mood
% PREAMBLE
% nstaves ninstr mtrnuml mtrdenl mtrnump mtrdenp
 1
 1
 4
 4
 0
 6
% npickup nkeys
 0 3
% npages nsystems musicsize fracindent
 2
 18
 16
 0.05

t
.\
Ti

% Body
% Header
Tc
Georg Philipp Telemann
Tt
1. Fantasie \\f\{u}r Querfl\{o}te ohne Bass, A-dur
h
Vivace
AbepI1.0
It126ipi
% Av
% space before first note of bar
% big accidentals
% equalizes interstaff spacing
% type K slurs
%\\setclef2(\treble)\settrebleclefsymbol(2)\treblelowoct\
% Bar 1
 {l a44u [ a14u } b14u a14u e14u ] [ a14u c15u a14u e14u ] [ a14u b14u a14u 
e14u ] | /
% Bar 2
 [ a14u c15u a14u e14u ] [ a14l e15l a14l e14l ] [ a14l e15l f15l d15l ] [ e15l 
c15l d15l b14l ] | /
% Bar 3
 [ c15l e15l f15l d15l ] [ e15l c15l d15l b14l ] [ c15l a14l b14l c15l ] [ d15l 
e15l f15l g15l ] | /
% Bar 4
 [ a15l e15l c15l a14l ] [ a15l e15l c15l a14l ] [ a85l a84l ] r4 | /
% Bar 5
 [ d15l c15l ] d4d5l [ f15l d8d5l ] [ a15l d8d5l ] | /
% Bar 6
 [ c15l b14l ] c4d5l [ e15l c8d5l ] [ a15l c8d5l ] | /
% Bar 7
 [ d14u c15u b14u a14u ] [ f15l c15l b14l a14l ] [ d14u c15u b14u a14u ] [ f15l 
c15l b14l a14l ] | /
% Bar 8
 [ d14su c15u b14u a14u ] [ a15l c15l b14l a14l ] [ d14u c15u b14u a14u ] [ 
a15l c15l b14l a14l ] | /
% Bar 9
 [ e14u g14u b14u g14u ] [ e15l b14l g15l e15l ] [ e14u a14u c15u a14u ] [ e15l 
c15l a15l e15l ] | /
% Bar 10
 [ e14u g14u b14u g14u ] [ e15l b14l g15l e15l ] [ b85l e84l ] r4 | /
% Bar 11
a44u o^ d45l o^ c45l o^ f45l o^ | /
% Bar 12
 [ d85u b84u e85u e84u ] [ a84u c85u b84u a84u ] | /
% Bar 13
 [ e85l g84l a85l f84l ] [ g85l e84l c86l a84l ] | /
% Bar 14
 [ a85l f85l b85l b84l ] [ e85l g84l c85l b84l ] | /
% Bar 15
 [ a84sl e15l f35l g35nl ] [ f85l e85l ] [ d85u f84u b84u a84nu ] | /
% Bar 16
 [ g84l d15l e35l f35l ] [ e85l d85l ] [ c85u g14nu a34u b34u ] [ a84u g84u ] | 
/
% Bar 17
 [ d85l f84l g85nl e84l ] [ f85l d84l b85l g84nl ] | /
% Bar 18
 [ g85nl e85l a85l a84l ] [ d14u d15u c15u d15u ] [ f15l d15l c15l d15l ] | /
% Bar 19
 [ d14u d15u c15u d15u ] [ a15l d15l c15l d15l ] [ a14l c15l b14l c15l ] [ e15l 
c15l b14l c15l ] | /
% Bar 20
 [ a14l c15l b14l c15l ] [ a15l c15l b14l c15l ] [ g14l d15l c15l d15l ] [ e15l 
d15l c15l d15l ] | /
% Bar 21
 [ e14u d15u c15u d15u ] [ b15l d15l c15l d15l ] [ a84l c86l d85l b85l ] | /
% Bar 22
 [ c85l a85l f85l a85l ] [ d15l f15l b14l d15l ] [ e15l g15l e14l d15l ] | /
% Bar 23
 [ a14l d15l c15l b14l ] [ c85u f84u ] [ d84l b85l e84l g85l ] | /
% Bar 24
 [ a84l g85nl d85l f85l ] [ c15l a15l g15sl a15l ] [ f15l a15l g15l a15l ] | /
% Bar 25
 [ d85u b84u e85u e84u ] [ a84l c15l b14l ] [ c85u f84u ] | /
% Bar 26
 [ d84l b85l e85l g85l ] a44u r4 | /
% Bar 27
 {u a45l [ a85x3 } e5l c5l ] [ e85x3 c5l a4l ] [ a85x3 e5l c5l ] [ e85x3 c5l 
a4l ] r4 | /
% Bar 28
 {u g45nl [ g85x3 } e5l c5l ] [ e85x3 c5l a4l ] [ g85x3 e5l c5l ] [ e85x3 c5l 
a4l ] r4 | /
% Bar 29
 [ f35l c35l d8d5l ] [ e35l c35l d8d5l ] [ a35l c35l d8d5l ] [ e35l c35l d8d5l 
] | /
% Bar 30
 {u b45l [ b85x3 } f5l d5sl ] [ f85x3 d5l b4l ] [ b85x3 f5l d5l ] [ f85x3 d5l 
b4l ] r4 | /
% Bar 31
 {u a45l [ a85x3 } f5l d5sl ] [ f85x3 d5l b4l ] [ a85x3 f5l d5l ] [ f85x3 d5l 
b4l ] r4 | /
% Bar 32
 [ g35l d35sl e8d5l ] [ f35l d35l e8d5l ] [ b35l d35l e8d5l ] [ f35l d35l e8d5l 
] | /
% Bar 33
 [ f14l d35nl c35l d15l f15l ] r1 [ f15l e15l d15l ] [ g14l d35l c35l d15l f15l 
] r1 [ f15l e15l d15l ] | /
% Bar 34
 [ a14l c35l b34l c15l a15l ] [ g14l c15l e15l a15l ] [ f14l c35l b34l c15l 
a15l ] [ e14l c15l e15l a15l ] | /
% Bar 35
 [ d84su r1 c15u ] [ c8d5l b34l c35l ] [ e14l o^ (1u b14l d15sl e15l )1 ] [ 
a14l o^ (1u c15l d15l e15l )1 ] | /
% Bar 36
 [ g14l o^ (1u b14l d15sl e15l )1 ] [ f14l o^ (1u a14l d15l e15l )1 ] e44u r4 | 
/
% Bar 37
m3/8/3/8 
L15M
[ c15l d15l e15l c15l d15l b14l ] | /
% Bar 38
 [ a14u b14u a14u g14u a84u ] | /
% Bar 39
 [ b14u c15u d15u e14u d85u ] | /
% Bar 40
 [ d85l c15l b14l c85l ] | /
% Bar 41
 [ f15l g15l a15l c15l f15l e15l ] | /
% Bar 42
 [ d15sl e15l f15l d15l b14l a14l ] | /
% Bar 43
 [ g14l e15l ] [ f84u d85su ] | /
% Bar 44
 [ e14l g14l b14l e15l d15sl e15l ] | /
% Bar 45
 [ e14l a14l c15l e15l d15sl e15l ] | /
% Bar 46
 [ e14l g14l b14l e15l d15sl e15l ] | /
% Bar 47
 [ g14l e15l ] [ f84u d85su ] | /
% Bar 48
 [ e85u e84u ] r8 | /
 Rr 
% Bar 49
 Rl [ d15nl e15l f15l d15l e15l c15l ] | /
% Bar 50
 [ d85l c85l b84l ] | /
% Bar 51
 [ c15l d15l e15l c15l d15l b14l ] | /
% Bar 52
 [ c85l b84l a84l ] | /
% Bar 53
 [ f15l e15l f15l d15l c15l d15l ] | /
% Bar 54
 [ a15l g15l a15l c15l b14l a14l ] | /
% Bar 55
 [ b84u e84u g84u ] | /
% Bar 56
 [ a14l c15l e15l a15l g15l a15l ] | /
% Bar 57
 [ 

Re: [Tex-music] Linebreak and Movement break

2014-11-27 Thread Dieter

Thanks for your effort, Luigi!

Maybe I should update my version, which is  2617  from January 2012.

This is what the errror message tells us.
*
! Missing number, treated as zero.
to be read again
   \let
\generalmeter #1-\let
   \Writ@meters \writ@meters \m@loop \s@l@ctm@t 
\m@t {{#...


\body ...m \noinstrum@nt \nbinstruments \advance
  \noinstrum@nt \@ne 
\s@l@ct...


\iterate -\body
 \let \next \iterate \else \let \next \relax \fi \next
\comp@internote ... \endcsname \Internote \repeat
  \line@width \hsize
\startpiece ...\fi \barsinpi@c@ \z@ \piece@begina
  \leavevmode 
\piece@beginb ...

...
l.269 \alaligne

Regards, Dieter

Am 27.11.2014 18:42, schrieb Luigi Cataldi:

Dear Dieter,
on my computer (Ubuntu Linux) PMX works fine with no error messages with your 
source file.

Regards Luigi

On Thu, 27 Nov 2014 17:47:49 +0100
Dieter d.gloet...@web.de wrote:


Dear PMXperts,

I generated this wonderful PMX-file (Telemann Fantasie for Flute a
major) out of MusicXML. There is a movement break (as well as a meter
change) at Bar 37.
So I put L15M before the notes of the Bar. and get an error condition
missing number treates as zero, etc. . What am I doing wrong? Without
the M
everything works fine.

Regards Dieter








--

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

---
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] Linebreak and Movement break

2014-11-27 Thread dsimons
Dieter, it's more wonderful than you thought, because I couldn't reproduce the 
error. In my system, your PMX source breezed through on the first try, complete 
with line break and new movement at bar 37. 

I'm wondering where the error message came from. You didn't say. And I don't 
think it was from PMX because I searched the FORTRAN source code for zero, 
missing number, and Missing number and didn't find it. If you can't get 
this sorted out yourself, maybe you could post the TeX source (if you got that 
far).

Are you getting any closer to letting the rest of us check out your XML-to-PMX 
translator?

--Don Simons




 Dieter d.gloet...@web.de wrote: 
 Dear PMXperts,
 
 I generated this wonderful PMX-file (Telemann Fantasie for Flute a 
 major) out of MusicXML. There is a movement break (as well as a meter 
 change) at Bar 37.
 So I put L15M before the notes of the Bar. and get an error condition 
 missing number treates as zero, etc. . What am I doing wrong? Without 
 the M
 everything works fine.
 
 Regards Dieter
 
 
 

---
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] Linebreak and Movement break

2014-11-27 Thread dsimons
Messages passed in the ether.

I ran with 2617 and did get the TeX error. So yep, you should update. If you're 
running Windows, all you need to do is replace pmxab.exe and pmx.tex. Meanwhile 
I may go back and see what I fixed between 2.617 and 2.703.

--Don Simons


 Dieter d.gloet...@web.de wrote: 
 Thanks for your effort, Luigi!
 
 Maybe I should update my version, which is  2617  from January 2012.
 
 This is what the errror message tells us.
 *
 ! Missing number, treated as zero.
 to be read again
 \let
 \generalmeter #1-\let
 \Writ@meters \writ@meters \m@loop \s@l@ctm@t 
 \m@t {{#...
 
 \body ...m \noinstrum@nt \nbinstruments \advance
\noinstrum@nt \@ne 
 \s@l@ct...
 
 \iterate -\body
   \let \next \iterate \else \let \next \relax \fi \next
 \comp@internote ... \endcsname \Internote \repeat
\line@width \hsize
 \startpiece ...\fi \barsinpi@c@ \z@ \piece@begina
\leavevmode 
 \piece@beginb ...
 ...
 l.269 \alaligne
 
 Regards, Dieter
 
 Am 27.11.2014 18:42, schrieb Luigi Cataldi:
  Dear Dieter,
  on my computer (Ubuntu Linux) PMX works fine with no error messages with 
  your source file.
 
  Regards Luigi
 
  On Thu, 27 Nov 2014 17:47:49 +0100
  Dieter d.gloet...@web.de wrote:
 
  Dear PMXperts,
 
  I generated this wonderful PMX-file (Telemann Fantasie for Flute a
  major) out of MusicXML. There is a movement break (as well as a meter
  change) at Bar 37.
  So I put L15M before the notes of the Bar. and get an error condition
  missing number treates as zero, etc. . What am I doing wrong? Without
  the M
  everything works fine.
 
  Regards Dieter
 
 
 
 
 
 
 -- 
 
 Dr. Dieter Glötzel
 Im Rosengarten 27
 64367 Mühltal
 Tel.: 06151 / 360 82 72
 
 ---
 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] Linebreak and Movement break

2014-11-27 Thread dsimons
Verrry interesting. In PMX 2.619 I changed the \newmovement macro (in pmx.tex), 
adding a 3rd argument. So obviously to update from 2.617 you'd need to switch 
out both the PMX executable and pmx.tex. What puzzles me is the error message 
implies TeX is looking for the 3rd argument, which implies that pmx.tex had the 
NEW version of \newmovement, which suggests that you had updated pmx.tex but 
not pmxab.exe. ??? 

--Don Simons

 dsim...@roadrunner.com wrote: 
 Messages passed in the ether.

I ran with 2617 and did get the TeX error. So yep, you should update. If you're 
running Windows, all you need to do is replace pmxab.exe and pmx.tex. Meanwhile 
I may go back and see what I fixed between 2.617 and 2.703.

--Don Simons


 Dieter d.gloet...@web.de wrote: 
 Thanks for your effort, Luigi!
 
 Maybe I should update my version, which is  2617  from January 2012.
 
 This is what the errror message tells us.
 *
 ! Missing number, treated as zero.
 to be read again
 \let
 \generalmeter #1-\let
 \Writ@meters \writ@meters \m@loop \s@l@ctm@t 
 \m@t {{#...
 
 \body ...m \noinstrum@nt \nbinstruments \advance
\noinstrum@nt \@ne 
 \s@l@ct...
 
 \iterate -\body
   \let \next \iterate \else \let \next \relax \fi \next
 \comp@internote ... \endcsname \Internote \repeat
\line@width \hsize
 \startpiece ...\fi \barsinpi@c@ \z@ \piece@begina
\leavevmode 
 \piece@beginb ...
 ...
 l.269 \alaligne
 
 Regards, Dieter
 
 Am 27.11.2014 18:42, schrieb Luigi Cataldi:
  Dear Dieter,
  on my computer (Ubuntu Linux) PMX works fine with no error messages with 
  your source file.
 
  Regards Luigi
 
  On Thu, 27 Nov 2014 17:47:49 +0100
  Dieter d.gloet...@web.de wrote:
 
  Dear PMXperts,
 
  I generated this wonderful PMX-file (Telemann Fantasie for Flute a
  major) out of MusicXML. There is a movement break (as well as a meter
  change) at Bar 37.
  So I put L15M before the notes of the Bar. and get an error condition
  missing number treates as zero, etc. . What am I doing wrong? Without
  the M
  everything works fine.
 
  Regards Dieter
 
 
 
 
 
 
 -- 
 
 Dr. Dieter Glötzel
 Im Rosengarten 27
 64367 Mühltal
 Tel.: 06151 / 360 82 72
 
 ---
 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



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