Re: [abcusers] Issues with abcm2ps---help!

2004-07-21 Thread Eric Mrozek
Andrew,
For issue 1, you're abusing the guitar chord syntax. Use the real 
tuplet sytax and let the typesetter handle the triplet marking. I.e. 
use
|: {g}e (3d/c/B/)A {gef}e2 a | {ef}e (3d/c/B/)A {gef}e2 a | {fg}fdB
adB | {g}fdB {g}fga |
\

For issue 2, it's just a matter of the typesetting conventions used by 
each program. To my knowledge, abcm2ps doesn't have a code switch to 
control that. You'd probably have to modify the code that processes the 
beaming information.

For issue 3, the added text starts with a caret ^ symbol. Abcm2ps 
might be choking on that and ignoring the rest of the quoted text. (I 
don't happen to have it loaded on the machine I'm using for this email, 
so I can't check it). Abc2ps used to have a verbose mode which helps 
for these kind of things, but unfortunately I think Jef took that out 
of abcm2ps. Hopefully he'll see this post and could say for sure.

For issue 4, there was some discussion a long time ago about handling 
duration markings on gracenotes. It's not in the abc spec, and to my 
knowledge none of the available abc software implements it. Yes, this 
would be useful for bagpipe music, but I've only seen that in 
piobreachd (for you non-pipers, that's classical music in the GHB 
world) and I doubt you need it for pipeband scores.

Eric


On Jul 20, 2004, at 9:33 PM, Andrew T. Lenz, Jr. wrote:
Hello everyone!
I'm currently trying to unify the appearance of our bagpipe band sheet
music using abcm2ps (v3.7.18, under Mac OS X)---lots of different 
music books!

I've run into problems I don't know how to solve and I'm hoping for 
some work-arounds.


==
ISSUE 1:
Here's the FIRST file:
%%straightflags 1
%%flatbeams 1
%%titlefont Helvetica-Bold 20
%%landscape 1
X: 1
T: Keelman O'er the Land
C: Traditional, Arr. Gordon Mooney
N:
M: 6/8
L: 1/8
K: HP
\
|: {g}e (d/3c/B/)A {gef}e2 a | {ef}e (d/3c/B/)A {gef}e2 a | {fg}fdB
adB | {g}fdB {g}fga |
\
| {ef}ecA {g}ABc | {g}caf {g}ecA | {g}B/c/d/c/B {g}c/d/e/d/c | {g}f2 e
{g}fga :|
[***rest of file removed***]
PROBLEM: triplets in the first line. The first one works fine, that is,
it places a 3 above the arch, the second, however, the 3 appears
over the ef gracenotes! (Seems buggy to me.)
We don't want the number UNDER the triplets.
Is there a better way of getting numbers over the triplets?

==
ISSUE 2:
Here's the SECOND file:
%%straightflags 1
%%flatbeams 1
%%titlefont Helvetica-Bold 20
%%landscape 0
%%scale 0.65
X: 1
T: Major Manson's Farewell to Clachantrushal
C: PM D. MacLean
N: Composed when a POW during the 1939 - 45 War
M: 2/4
% Q: 1/4 = 70
R: March
L: 1/8
K: HP
\
|: {g}A/B/ | {GdG}c2 {gBd}B{e}A/{d}c/ | {gef}e{g}A/B/ {gcd}ca/f/ |
{gef}e{g}A/{d}c/ {g}f/e/{g}c/{d}A/ | {g}c/e/a/c/ {gdB}B{g}A/B/ |
\
| {GdG}c2 {gBd}B{e}A/{d}c/ | {gef}e{g}A/B/ {gcd}c{g}B/{d}A/ |
{g}c/e/a/f/ {gef}e/c/{g}B/{d}c/ | {g}c{G}A {GAG}A :|
[***rest of file removed***]
PROBLEM: Bar linking 1/16th notes is split.
{g}f/e/{g}c/{d}A/
Here the first two (non-grace) notes are tied by a 1/16 bar and the
second two are tied also, BUT, between the e and the c, the 1/16th bar
is missing, that is, they are tied together by only the eighth note
single bar.
In other words, BarFly draws all four notes with a double line (1/16) 
in
the backbone of the beam, and draws an extra line between the middle 
two
notes to indicate that they're 1/32.  abcm2ps draws a single line
through all four, a double line for the outer pairs and two little 
flags
pointing outwards on the middle notes.

Is there a way to get abcm2ps to do it the Barfly way, which we think 
is
more readable?

==
ISSUE 3:
Here's the THIRD file:
%%straightflags 1
%%flatbeams 1
%%titlefont Helvetica-Bold 20
%%landscape 0
X: 1
T: Sandy's New Chanter
R: Reel
C: PM Tom MacAllister Jr.
M: 4/4
L: 1/8
K: HP
\
ag |: {g}f2 {g}ef {g}fA{g}df | {gf}g2 {a}fg {aBG}B2 {gf}g2 | {a}fA{g}df
{g}faga | eA{g}ce {g}eage |
\
| ^2nd Time 2nd Part {g}f2 {g}ef {g}fA{g}df | {gf}g2 {a}fg {aBG}B2
{gf}g2 | {a}fA{g}df {g}eA{g}ce |1 {Gdc}d4 {gdG}d2 ag :|2 {Gdc}d4 
{gdG}d2
A2 |
[***rest of file removed***]

PROBLEM: The added text 2nd Time 2nd Part doesn't appear in the
generated Postscript file. I'm pretty sure this is supposed to be
supported by abcm2ps, but maybe I'm wrong.
??
==
ISSUE 4:
Given a series of three gracenotes, is it possible to make the center
gracenote be appear as a 16th note instead of the standard 32nd?
(This may be weird for the rest of the world, but it has its
applications in certain types of bagpipe music.)
==
Can anyone help me out with these?
Thanks!
Andrew
--
Andrew T. Lenz, Jr.
www.BagpipeJourney.com
[EMAIL PROTECTED]
Santa Cruz, California USA
To subscribe/unsubscribe, point your browser to: 
http://www.tullochgorm.com/lists.html

To subscribe/unsubscribe, point your browser to: 

Re: [abcusers] Can anyone help!

2002-12-12 Thread Eric Mrozek
A. O.,

Abcm2ps is a command line program. It doesn't open like a GUI style 
executable. Double clicking on it in the file browser doesn't do any 
good. Neither does typing the name of the file on the DOS command line. 
You have to specify command line options telling it what file to read 
and how to process it. If you don't specify something, it does nothing.

Abcm2ps is distributed under the GNU General Public Licence, which means 
you that you received source code with the binary or can get it if you 
want it. You can download the source code for free from
   http://moinejf.free.fr/
Open the compressed files and read through the *.txt files. They contain 
instructions on what to type on the command line.

You should also be able to just type
 abcm2ps
on the command line and it will spit back a condensed usage statement.

The basic format is
 abcm2ps filename -A -o
If you leave off the -o option, it won't create the postscript file (the 
default filename is out.ps). Why [rhetorically] would you not create an 
output file? If you turn on the verbose option, it will list the 
titles of the selected tunes on the command line or even list out a 
status report of the typesetting process.

If the file is empty or you don't tell abcm2ps to select any tunes (in 
the example, the -A option means select all tunes), then the output 
file would be just a blank page.

I hope you find this helpful.

Eric


A. O. Gutierrez wrote:
Thanks for the response,Chris. I'm running Win98 so DOS is not a problem. I
have operated in DOS on a limited level, but it seems like I'm stepping into
a bunch of disconnected jargon when I try to get anywhere with this
postscript stuff. I'm not sure how ghostview relates to the ABC program or
howyou ensure that your printer is getting printable info, etc. Is there any
place that has some basic tutorial that will allow this to make sense either
specifically for the ABC2ps programs or something general that will be
applicable. Also I had my brother, who has worked in DOS for 20 years or
more, try to run this program and he coulsn't get it to open with either the
exexcutable or a command line entry.


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



Re: [abcusers] Can anyone help!

2002-12-12 Thread Eric Mrozek
Chris Davidson wrote:
...

Basically what abcm2ps - and all the related XXps programs - do is
use ghostscript to produce a postscript file (with suffix .ps) which
unless you have a postscript printer, will not be in a format your
printer can use. This is where gsview comes in - it enables you to
display the postscript file on the screen and print it to your standard
printer (or produce a pdf file, which is then readable with Adobe
Acrobat). 


Actually all the abc2ps variants write postscript code directly. They 
have nothing to do with ghostscript. For example... I typically do all 
my format conversion, viewing, and printing using Acrobat.

You could use ghostscript to convert the *.ps file to a pdf, or an 
image, or print it. GSView itself is a GUI for on-screen viewing. All of 
the rendering is done by ghostscript. The GSView utility menus are just 
GUIs to ghostscript options. You don't need GSView for any of that 
(although it is very useful). You could do it all on the command line 
with ghostscript.

Eric

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


Re: [abcusers] dynamics (was)

2001-10-27 Thread Eric Mrozek


[EMAIL PROTECTED] wrote:

[

time for a new approach, preferably one involving as much of the abc 
community as possible not just a self chosen clique

]

  Do you have a positive suggestion ?
 
 Certainly, but before I do, could I have your assurance that you will 
 give my suggestions proper consideration, rather than opposing them on 
 principle just because they come from me, and that you will restrict 
 your reponses to what I actually say rather than your own wild 
 speculations about things you think I might say (as you have done twice 
 in this thread alone)?
 
 Bryan Creer
 

Bryan, this is an open list - you won't get anyone to agree to your 
personal terms. You'd be best off to just post your thoughts and don't 
mind the critique, whether it's meant personally or not.

Eric

P.S. In the spirit of developing cross-platform tools... I currently 
typeset music using abc2ps and abcm2ps, but usually convert the 
postscript to PDF when sharing the files with others. Because the Unisys 
compression patent expires soon, I have considered building a library of 
PDF writing functions similar to the ones in abc2ps so that I could 
generate PDF files directly. Would any of the developers here be 
interested is using such a thing? One issue that causes me to hesitate 
is that compressed PDF output would not be as compact as the postscript 
(ps allows macros which is a huge advantage when you have lots of shapes 
- i.e. note heads - repeated many times on a page). Another is that 
GhostView makes postscript viewing/printing easy enough that PDF doesn't 
seem necessary.







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