--- John Chambers <[EMAIL PROTECTED]> wrote: > Well, I dunno; I think this abcpp looks like a sorta neat tool.
I agree on that! It could be very useful, if kept simple. > This has nothing to do with abc itself, or any distinction between > printing or playing. There are two conventional ways of writing the > music, and the difference is easily handled in ABC by changing just > the two header lines: [snip] That's it! And that is why I think your example shows a good way to use this kind of macros. But my fear is this kind of notation: #ifdef FORPRINTING ... #endif #ifdef MIDI ... #else #ifdef ABC2PS ... #endif #endif This is what homepages do, because of the many differences between browsers. This is, IMO, *not* a good use of macros; not because it doesn't work or something like that, but just becuase it will lead to further differences between abc versions and unreadable abc, if you don't have a parser. I think your idea with different extensions (like .abcm) for abc files contating macros is a good idea. This will make a clear difference between "clean abc" and "macro abc". The macro abc files could then be parsed by some simple program to generate a clean abc file, asking the user "Choose 2/2 or 4/4" or "Choose a clef". Erik __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html
