Re: [Tex-music] A4

2013-03-26 Thread Bob Tennent
 >|After reading all of Bob's posts I have succeeded in producing acceptable
 >|pdf files in both letter and a4 format, using ps2pdf from MiKTeX 2.9 (not
 >|Ghostview convert) with no command line options. But to switch from
 >|one size
 >|to the other I changed the default paper setting in MiKTeX settings.
 >|
 >|Bob, do I read you correctly than one cannot simply use command line
 >|options
 >|on ps2pdf to produce both sizes of outputs?

The ps2pdf option -sPAPERSIZE#a4 doesn't seem to work by itself. But
dvips -ta4 ... does.

Bob T.


 >|>-Original Message-
 >|>From: TeX-Music [mailto:tex-music-boun...@tug.org] On Behalf Of Bob
 >|Tennent
 >|>Sent: Tuesday, March 26, 2013 1:31 PM
 >|>To: Werner Icking Music Archive
 >|>Subject: Re: [Tex-music] A4
 >|>
 >|> >|It seems the "official" way is to do
 >|> >|
 >|> >|  initexmf --edit-config-file dvips
 >|> >|
 >|> >|and move the @ a4 section ahead of the @ A4size section. There's
 >|> >|some explanation in the dvips manual. Has to do with some Postscript
 >|> >|printers expecting the A4size configuration whereas ps2pdf responds
 >|> >|only to the a4 configuration. What a nightmare!
 >|>
 >|>There *is* an easier way: one uses the Settings window to set the
 >|>default paper format to A4 (*not* A4size).  Who would have guessed
 >|>there was a difference?
---
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] A4

2013-03-26 Thread Don Simons
Man, welcome to pandora's box!

After reading all of Bob's posts I have succeeded in producing acceptable
pdf files in both letter and a4 format, using ps2pdf from MiKTeX 2.9 (not
Ghostview convert) with no command line options. But to switch from one size
to the other I changed the default paper setting in MiKTeX settings. 

Bob, do I read you correctly than one cannot simply use command line options
on ps2pdf to produce both sizes of outputs?

I'll also add than in the process, I've found that the .ps produced by dvips
in MiKTeX 2.9 is very different internally from 2.6.

--Don Simons

>-Original Message-
>From: TeX-Music [mailto:tex-music-boun...@tug.org] On Behalf Of Bob Tennent
>Sent: Tuesday, March 26, 2013 1:31 PM
>To: Werner Icking Music Archive
>Subject: Re: [Tex-music] A4
>
> >|It seems the "official" way is to do
> >|
> >|  initexmf --edit-config-file dvips
> >|
> >|and move the @ a4 section ahead of the @ A4size section. There's
> >|some explanation in the dvips manual. Has to do with some Postscript
> >|printers expecting the A4size configuration whereas ps2pdf responds
> >|only to the a4 configuration. What a nightmare!
>
>There *is* an easier way: one uses the Settings window to set the
>default paper format to A4 (*not* A4size).  Who would have guessed
>there was a difference?
>
>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


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

2013-03-26 Thread Bob Tennent
 >|It seems the "official" way is to do
 >|
 >|  initexmf --edit-config-file dvips
 >|
 >|and move the @ a4 section ahead of the @ A4size section. There's
 >|some explanation in the dvips manual. Has to do with some Postscript
 >|printers expecting the A4size configuration whereas ps2pdf responds
 >|only to the a4 configuration. What a nightmare!

There *is* an easier way: one uses the Settings window to set the
default paper format to A4 (*not* A4size).  Who would have guessed
there was a difference?

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

2013-03-26 Thread Bob Tennent
 >|> If your local paper size is A4, how do you get A4 PDF output from
 >|> tex -> dvips -> ps2pdf processing on MiKTeX? The only reliable
 >|> method I've found is to use dvips -ta4 ...
 >|
 >|If I say ps2pdf -sPAPERSIZE#a4 the property becomes 209.9 x 297 mm

Interesting. The usual syntax -sPAPERSIZE=a4 doesn't work.

 >|If I say dvips -tA4 but ps2pdf without option I obtain the same property.

It seems the "official" way is to do

  initexmf --edit-config-file dvips

and move the @ a4 section ahead of the @ A4size section. There's
some explanation in the dvips manual. Has to do with some Postscript
printers expecting the A4size configuration whereas ps2pdf responds
only to the a4 configuration. What a nightmare!

Thanks.
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] A4

2013-03-26 Thread Jean-Pierre Coulon

On Tue, 26 Mar 2013, Bob Tennent wrote:


If your local paper size is A4, how do you get A4 PDF output from
tex -> dvips -> ps2pdf processing on MiKTeX? The only reliable
method I've found is to use dvips -ta4 ...


I tried dvips and ps2dpf without options and I obtain a pdf with document 
properties = 215.9 x 279.4 mm


If I say ps2pdf -sPAPERSIZE#a4 the property becomes 209.9 x 297 mm

If I say dvips -tA4 but ps2pdf without option I obtain the same property.

My MusixTeX source begins with: 
\voffset-1in\advance\voffset10mm\vsize297mm\advance\vsize-15mm\advance\vsize-24pt

\hoffset-1in\advance\hoffset10mm\hsize210mm\advance\hsize-20mm
but I don't think this matters.

Hope this helps,

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


[Tex-music] A4

2013-03-26 Thread Bob Tennent
If your local paper size is A4, how do you get A4 PDF output from
tex -> dvips -> ps2pdf processing on MiKTeX? The only reliable
method I've found is to use dvips -ta4 ...

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] funny error with PMX

2013-03-26 Thread Dieter

Hi Don,

thanks a lot for your rapid reply. I do not remember what I intended 
with "Aa" 2 years ago.

Maybe just experimentation.
This code has been running before. Would have been impossible to write it.

Otherwise I agree completely with your recommendations.

Maybe there are more error traps with similar behaviour? Just a question.

Regards, Dieter


Am 26.03.2013 15:47, schrieb Don Simons:

Dieter--

We can share the blame for this one. The option Aa must be followed by a
decimal number giving the new \afterruleskip (spacing before the first note
in a bar) in \elemskips. The next character in your file is not a digit or
decimal point, but I neglected to trap this error. Will fix in the next
release.

Out of curiosity, what don't you like about the default \afterruleskip?

Also out of curiosity, how did you manage to input so much error-free stuff
without being able to process it?

Comment: To my eye it comes out crowded horizontally. I'd go with 18 systems
on 3 (letter-size) pages, and set AI.9 to reduce \interstaff and increase
vertical space between staves. Might be a little different for a4 paper.

--Don Simons


-Original Message-
From: TeX-Music [mailto:tex-music-boun...@tug.org] On Behalf Of Dieter
Sent: Tuesday, March 26, 2013 5:24 AM
To: Werner Icking Music Archive
Subject: [Tex-music] funny error with PMX

Hi Don,

I have strange problem in running a PMX-file  which has been perfectly
running some years ago.
When I try to run it it says:


Opening minimood.pmx

  Starting first PMX pass
forrtl: severe (64): input conversion error, unit -5, file Internal
Formatted Re
ad

D:\MUSIX\mood>if errorlevel 1 goto pmxerr
=
and later it says:

This is pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9)
entering extended mode
! I can't find file `minimood'.
===

This is the beginning of the file, which reproduces the behaviour. Full
file attached to Mail.
===beginning of
PMX-File
---
\input musixtex
\input pmx
---
% In the Mood
% PREAMBLE
% nstaves ninstr mtrnuml mtrdenl mtrnump mtrdenp
   2  1  4   4   4  4
% npickup nkeys
0 -2
% npages nsystems musicsize fracindent
  416 20 0.12
Piano
bt
.\
% Body
% Header
Tc
Music: Joe Garland
Tt
In the mood
h
In the mood ( 1/4 = 126 )
Aabep
% space before first note of bar
% big accidentals
% equalizes interstaff spacing
% type K slurs
% Bars 1-2
b82  d f b t ba o. t b4 o. b8  t | b8 o. t b4 o. b8a a b f d | /
b83 Dmf-5 d f b t bau  o. t b4u o. b8u t | b8u o. t b4u o. b8au a b f d | /
% Bars 3-5
f8 en ef d dfa c4 b8 | r4 Ct r8 b+ zd zf zg r2 | Cb  c42 o. d o. e o. en
o. | /
f8 en ef d dfa c4 b8 | r8 [ d+ f b  t ] [ b t f d b ] |  g o. r8 r4 r2 | /
% Bars 6 - 8
g4 o. a o. b o. c o. | c- o. d o. e o. en o. | f o. efc o. d o. c o. | /
r2 r4 r8 (u g8 | c o> zg+  ) g o> zd  c b g1 b g c- c8+ d |
c b g G1sm1xfs+ g o> t g t fn4 o> G1sm1xa b8 o> | /
==END of PMX
file==

I have seen this behaviour before, and I only remember that it was
completely stupid, but not what to do.
Other files, where I cannot see a significant formal difference to this
one run perfectly with my installation.

As you know, I am using Windoze. I cannot discover any funny character
in the file.

Don't hurry, I will be several days away without access to mail.

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




--

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] AN command in 2.615 scor2prt

2013-03-26 Thread Luigi Cataldi
Dear all and especially Don,

it seems that the last scor2prt version (2.615) doesn't recognize "AN" command. 
I've found that for instance I can't produce the right part's filename from the 
following source.

Luigi


4 4 4 4 0 6 0 0
1 2 20 .07
Vc
Va
Vl II
Vl I
batt
./
%
Ab
AN4"vl1"
AN3"vl2"
AN2"vla"
AN1"vc"
%
c0- | d | e | f | g | a | b | c /
c2- c | d d | e e | f f | g g | a a | b b | c c /
c4 c c c | d d d d | e e e e | f f f f | g g g g | a a a a | b b b b | c c c c /
c4 c c c | d d d d | e e e e | f f f f | g g g g | a a a a | b b b b | c c c c /


-- 
Luigi Cataldi 
---
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] funny error with PMX

2013-03-26 Thread Don Simons
Dieter--

We can share the blame for this one. The option Aa must be followed by a
decimal number giving the new \afterruleskip (spacing before the first note
in a bar) in \elemskips. The next character in your file is not a digit or
decimal point, but I neglected to trap this error. Will fix in the next
release.

Out of curiosity, what don't you like about the default \afterruleskip?

Also out of curiosity, how did you manage to input so much error-free stuff
without being able to process it?

Comment: To my eye it comes out crowded horizontally. I'd go with 18 systems
on 3 (letter-size) pages, and set AI.9 to reduce \interstaff and increase
vertical space between staves. Might be a little different for a4 paper. 

--Don Simons

>-Original Message-
>From: TeX-Music [mailto:tex-music-boun...@tug.org] On Behalf Of Dieter
>Sent: Tuesday, March 26, 2013 5:24 AM
>To: Werner Icking Music Archive
>Subject: [Tex-music] funny error with PMX
>
>Hi Don,
>
>I have strange problem in running a PMX-file  which has been perfectly
>running some years ago.
>When I try to run it it says:
>
>
>Opening minimood.pmx
>
>  Starting first PMX pass
>forrtl: severe (64): input conversion error, unit -5, file Internal
>Formatted Re
>ad
>
>D:\MUSIX\mood>if errorlevel 1 goto pmxerr
>=
>and later it says:
>
>This is pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9)
>entering extended mode
>! I can't find file `minimood'.
>===
>
>This is the beginning of the file, which reproduces the behaviour. Full
>file attached to Mail.
>===beginning of
>PMX-File
>---
>\input musixtex
>\input pmx
>---
>% In the Mood
>% PREAMBLE
>% nstaves ninstr mtrnuml mtrdenl mtrnump mtrdenp
>   2  1  4   4   4  4
>% npickup nkeys
>0 -2
>% npages nsystems musicsize fracindent
>  416 20 0.12
>Piano
>bt
>.\
>% Body
>% Header
>Tc
>Music: Joe Garland
>Tt
>In the mood
>h
>In the mood ( 1/4 = 126 )
>Aabep
>% space before first note of bar
>% big accidentals
>% equalizes interstaff spacing
>% type K slurs
>% Bars 1-2
>b82  d f b t ba o. t b4 o. b8  t | b8 o. t b4 o. b8a a b f d | /
>b83 Dmf-5 d f b t bau  o. t b4u o. b8u t | b8u o. t b4u o. b8au a b f d | /
>% Bars 3-5
>f8 en ef d dfa c4 b8 | r4 Ct r8 b+ zd zf zg r2 | Cb  c42 o. d o. e o. en
>o. | /
>f8 en ef d dfa c4 b8 | r8 [ d+ f b  t ] [ b t f d b ] |  g o. r8 r4 r2 | /
>% Bars 6 - 8
>g4 o. a o. b o. c o. | c- o. d o. e o. en o. | f o. efc o. d o. c o. | /
>r2 r4 r8 (u g8 | c o> zg+  ) g o> zd  c b g1 b g c- c8+ d |
>c b g G1sm1xfs+ g o> t g t fn4 o> G1sm1xa b8 o> | /
>==END of PMX
>file==
>
>I have seen this behaviour before, and I only remember that it was
>completely stupid, but not what to do.
>Other files, where I cannot see a significant formal difference to this
>one run perfectly with my installation.
>
>As you know, I am using Windoze. I cannot discover any funny character
>in the file.
>
>Don't hurry, I will be several days away without access to mail.
>
>Thanks and 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


[Tex-music] funny error with PMX

2013-03-26 Thread Dieter

Hi Don,

I have strange problem in running a PMX-file  which has been perfectly 
running some years ago.

When I try to run it it says:


Opening minimood.pmx

 Starting first PMX pass
forrtl: severe (64): input conversion error, unit -5, file Internal 
Formatted Re

ad

D:\MUSIX\mood>if errorlevel 1 goto pmxerr
=
and later it says:

This is pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9)
entering extended mode
! I can't find file `minimood'.
===

This is the beginning of the file, which reproduces the behaviour. Full 
file attached to Mail.
===beginning of 
PMX-File

---
\input musixtex
\input pmx
---
% In the Mood
% PREAMBLE
% nstaves ninstr mtrnuml mtrdenl mtrnump mtrdenp
  2  1  4   4   4  4
% npickup nkeys
   0 -2
% npages nsystems musicsize fracindent
 416 20 0.12
Piano
bt
.\
% Body
% Header
Tc
Music: Joe Garland
Tt
In the mood
h
In the mood ( 1/4 = 126 )
Aabep
% space before first note of bar
% big accidentals
% equalizes interstaff spacing
% type K slurs
% Bars 1-2
b82  d f b t ba o. t b4 o. b8  t | b8 o. t b4 o. b8a a b f d | /
b83 Dmf-5 d f b t bau  o. t b4u o. b8u t | b8u o. t b4u o. b8au a b f d | /
% Bars 3-5
f8 en ef d dfa c4 b8 | r4 Ct r8 b+ zd zf zg r2 | Cb  c42 o. d o. e o. en 
o. | /

f8 en ef d dfa c4 b8 | r8 [ d+ f b  t ] [ b t f d b ] |  g o. r8 r4 r2 | /
% Bars 6 - 8
g4 o. a o. b o. c o. | c- o. d o. e o. en o. | f o. efc o. d o. c o. | /
r2 r4 r8 (u g8 | c o> zg+  ) g o> zd  c b g1 b g c- c8+ d |
c b g G1sm1xfs+ g o> t g t fn4 o> G1sm1xa b8 o> | /
==END of PMX 
file==


I have seen this behaviour before, and I only remember that it was 
completely stupid, but not what to do.
Other files, where I cannot see a significant formal difference to this 
one run perfectly with my installation.


As you know, I am using Windoze. I cannot discover any funny character 
in the file.


Don't hurry, I will be several days away without access to mail.

Thanks and regards,
Dieter
% In the Mood
% PREAMBLE
% nstaves ninstr mtrnuml mtrdenl mtrnump mtrdenp
  2  1  4   4   4  4
% npickup nkeys
   0 -2
% npages nsystems musicsize fracindent
 416 20 0.12
Piano
bt
.\
% Body
% Header
Tc
Music: Joe Garland
Tt
In the mood
h
In the mood ( 1/4 = 126 )
Aabep
% space before first note of bar
% big accidentals
% equalizes interstaff spacing
% type K slurs
% Bars 1-2
b82  d f b t ba o. t b4 o. b8  t | b8 o. t b4 o. b8a a b f d | /
b83 Dmf-5 d f b t bau  o. t b4u o. b8u t | b8u o. t b4u o. b8au a b f d | /
% Bars 3-5
f8 en ef d dfa c4 b8 | r4 Ct r8 b+ zd zf zg r2 | Cb  c42 o. d o. e o. en o. | /
f8 en ef d dfa c4 b8 | r8 [ d+ f b  t ] [ b t f d b ] |  g o. r8 r4 r2 | /
% Bars 6 - 8
g4 o. a o. b o. c o. | c- o. d o. e o. en o. | f o. efc o. d o. c o. | /
r2 r4 r8 (u g8 | c o> zg+  ) g o> zd  c b g1 b g c- c8+ d |
c b g G1sm1xfs+ g o> t g t fn4 o> G1sm1xa b8 o> | /
% Bars 9 - 11
( b41 d f g | af g f d ) | ( b d f g  | /
r0 | r0 | r0 | /
% Bars 12 - 14
af4 g f d ) | ( b d f g | af g f d ) | /
r2 r8 b8- zf+ zg zb o. r4 | b4- zf+ zg zb o. r4 r2 | r2 r8 b8- zf+ zg zb o. r4 
| /
% Bars 15 - 18
( e g b c | df c b g ) | ( b41 d f g | af g f d ) | /
b4- zf+ zg zb o. r4 r2 | r2 r8 b8- zf+ zg zb o. r4 | b4- zf+ zg zb o. r4 r2 |
r2 r8 b8- zf+ zg zb o. r4 | /
% Bars 19-22
( f a c a | f o. ) a o. c o. a o. | b o. ( d- o. e o. en o. ) | r2 r8 G1sm1xen 
f4d | /
c- zf za zc o. r4 r2 | r0 | r4 ( d- o. e o. en o. ) | r2 r8 G1sm1xen f4d | /
% Bars 23-26
( b41 d f g | af g f d ) | ( b41 d f g | af g f d ) | /
r4 f43 o. zg zb zd  r8 f83 o. zg zb zd  r4 |
f43d o_ zg zb zd  f83 o. zg zb zd  r8 d+  zb+ zd o. r4 |
d4-  zb+ zd o. f43 o. zg zb zd  r8 f83 o. zg zb zd  r4 |
f43d o_ zg zb zd  f83 o. zg zb zd  r8 d+  zb+ zd o. r4 | /
% Bars 27 - 30
( e g b c | df c b g ) | ( b41 d f g | af g f d ) | /
d45f zb+ zdf o. g43 o. zb zdf zf r8 g83 o. zb zd zf r4 |
g43d o_ zb zdf zf g83 o. zb zd zf r8 d8f+ zb+ zdf o. r4 |
d4nc- zb+ zdnc o. f43 o. zg zb zdnc r8 f83 o. zg zb zd r4 |
f43d o_ zg zb zd f83 o. zg zb zd  r8 d8+ zb+ zd o. r4 | /
% Bars 31 - 32
( f a c a | f ) a o. c o. a o. | /
e4- zb+ ze o. a43 o. zc ze zf r8 a83 o. zc ze zf r4 |
a43d o_ zc ze zf a83 o. zc ze zf r8 f85 zf+ o. r8 f85 zf+ o. | /
% Bars 33 - 34
b4 d- e en |f8d f1e o> e4fc o> d o> c o> | /
r8 b84a   [ bn c ] [ cs d e en<1 ] | f2 r1 [ f1s o> g df ] [ c b g f ] | //
r8b f85 t f4 t fd f8e t | f2 t r2b | /
% Bars 35 - 36
b4 o. r4 r4  ( d8f+ o> c o> t | c8 ) t r8 r4 f22 o_ zc+ ze | /
r2 r4 ( e85n o> ef o> t | e t ) r8 r4 a23 o_ zd zfs za | /
% Bars 37 - 38
r2 r4 ( d8f o> c t | c t ) r8 r4 f22 o_ zc+ ze | /
r2 r4 ( e85n o> ef o> t | e t ) r8 r4 a2