Laura wrote:

 >I don't know anything about abc4mac, but it looks like some
 >members of the abc2ps family will let you say, within the ABC
 >file: 
 >
 >E:lw <number> 
 >
 >where number is the number of points to set the line width to. I
 >believe that there are 72 points in an inch, so try 
 >
 >                  E:lw 468

Thanks! This looks promising. Now knowing what to look for, I
found this in the abc2ps documentation (ReadMe.abc2ps) that comes
with abc4mac:

 |Field E: this field can be used to set some parameters from
 |within the file:
 |
 |   shrink    set glue mode to compress      
 |   space     set to natural glue widths
 |   stretch   stretched glue mode
 |   fill      normal mode to fill staffs
 |   break     ignore continuations
 |   xref      write xref numbers to output
 |   one       write one tune per page.
 |   newpage   start new page for next tune
 |   lw ppp    set local staff width to ppp points.
 |
 |For example, to output a single tune in a narrower format,
 |put 'E:lw 400' into the header of this tune. If this is put
 |after the header but within the tune body, only the music is set 
 |with a different width and the title is written as before.

So I tried it. I can't get it to work. I fed the following abc
through abc4mac:

X:1
E:lw 360 % 5 inches
T:Line width test 360 in header
M:C
K:C
CDEF GABc|CDEF GABc|CDEF GABc|CDEF GABc|]

X:2
T:Line width test 360 in music
M:C
K:C
E:lw 360 % 5 inches
CDEF GABc|CDEF GABc|CDEF GABc|CDEF GABc|]

X:3
E:lw 504 % 7 inches
T:Line width test 504 in header
M:C
K:C
CDEF GABc|CDEF GABc|CDEF GABc|CDEF GABc|]

X:4
T:Line width test 504 in music
M:C
K:C
E:lw 504 % 7 inches
CDEF GABc|CDEF GABc|CDEF GABc|CDEF GABc|]

I displayed the resulting ps file in MacGSView at 100% size. All
four "tunes" appeared identical and had a staff width of 493 pt
(6.85 inches). This, unfortunately, is not close enough to 6.5"
to satisfy the needs of my project.

Any other ideas? Or does anybody see what I did wrong?

If I can't find a "right" way to do it, I have a plan: I have
staves 493 pt long and I want them 468 pt long. 468/493 = a little
less than 95%. I'll call it 94% to err on the short side. So I
will save the ps files as bitmaps at 300dpi * 0.94 = 282 dpi and
then shrink them to 94% size (I know, it's essentially Phil's
suggestion from a few days ago). The text will be smaller than I'd
like, but while I'm in a graphics program, I might re-enter it in
a slightly larger font. The notation itself probably won't suffer
from the reduction to 94%.

Thanks again to all who have provided suggestions and all the rest
who patiently read these questions.

  ______      /\/\/\/\
 <______>     | | | | |  David Barnert
 <______>     | | | | |  <[EMAIL PROTECTED]>
 <______>     | | | | |  Albany, N.Y.
 <______>     \/\/\/\/

Ventilator   Concertina
  Bellows      Bellows
(Vocation)   (Avocation)

To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html

Reply via email to