Melodeon.net Forums
August 01, 2010, 05:51:53 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to the new melodeon.net forum
 
  Website Home   Forum Home   Old Forums Help Search Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Mangled ABC Layout - Heeelpp!  (Read 392 times)
0 Members and 1 Guest are viewing this topic.
LJC
Respected Sage
****
Offline Offline

Posts: 442


« on: March 10, 2010, 11:02:12 AM »

I've been quite happily using 'Five Line Skink' as my ABC reader/writer on my mac, but I've been trying to typeset The Sloe for one of my pupils, with the button numbers on top of the stave. Normally this works quite well, but now the button numbers are overlapping with the triplet sign and it all looks a mess. I've attached the output and the ABC so you can see what is going on.

X:1
T:The Sloe
M:4/4
L:1/8
K:D
|:"D5"A2|"D6"d2"D5"A2"D6"d2"D7'"e2|"D7"f3"D7'"e "D6"d2"D6'"c2|"G4"B2"D5"A2"D5'"B"D6'"c"D6"d"D5'"B|"D5"A2"D4"F2"D3'"E2"D3"D2|
|"D6"d2"D5"A2"D6"d2"D7'"e2|"D7"f3"D7'"e "D6"d2"D6'"c2|"G4"B2"D5"A2"D5'"B2"D6'"c2|"D6"d4d2:|
|:"D5"A2| "D5' D6' D5'"(3BcB A2F2A2| (3BcB A2F2dd|d2cc c2BB|B2A2A2dd|
d2c2c2ee|e2d2d2f2|f2e2B2c2|d4d2:|
T: Trad ar. Luca Celano. http://bellowsandstrings.blogspot.com/

The questions are: is there an ABC formatting command which skink will understand to space out the writing/note tails and is there a better free ABC editor out there?

I've looked at lily pond but abc2ly just baffles me and I don't really have the time to learn a whole different set of input commands. Melody Assistant looks like it would do as I need, but I would prefer to input via ABC than point and click notes. Writing to ABC then importing could be an option, but there must be something better!.

Give me your opinions!
Logged
Anahata
Mr. Cool
Respected Sage
****
Offline Offline

Posts: 479


Oakwood and Saltarelle D/G, 1-rows in C,D,G


WWW
« Reply #1 on: March 10, 2010, 11:57:41 AM »

It looks OK with abcm2ps, which has put the triple 3's under the stave so they don't interfere with the button numbers above.

On a Mac, isn't Barfly the standard ABC package to use?

On Windows, ABC Navigator should render it properly as it uses the same underlying programs as I do (abcm2ps and ps2pdf or Ghostview on Linux, with a general text editor (vim) for editing the ABC itself).

If you use ABC Navigator, look at the ABC2 Plus standard, which it complies with. There's a documentation link there, and I printed and bound the PDF of Guido Gonzato's guide. It's my ABC Bible!

I mention this because ABC Plus does have some controls for specifying sizes and spacings, whether certain text annotation goes above or below the stave etc. I have found abcm2ps pretty good at avoiding collisions like those you describe, and it produces very nice output.

Lilypond gives you much more precise control over exact position of individual features and is claimed to be typographically superior but I've never found it necessary to learn it. It's far more complicated than ABC.
Logged

www.treewind.co.uk sound recording, website design and hosting
www.maryanahata.co.uk Mary Humphreys and Anahata
Cambridgeshire, UK
Steve_freereeder
Grumpy old git (sometimes)
Hero Member
*****
Offline Offline

Posts: 1068


Suped-up Sander


« Reply #2 on: March 10, 2010, 12:14:50 PM »

It looks OK with abcm2ps, which has put the triple 3's under the stave so they don't interfere with the button numbers above.

On a Mac, isn't Barfly the standard ABC package to use?
I concur with Anahata - your code looks OK to me when using abcm2ps (via Barfly).
Logged

Steve
Sheffield, UK
LJC
Respected Sage
****
Offline Offline

Posts: 442


« Reply #3 on: March 10, 2010, 12:23:53 PM »

Thanks Anahata - I was using barfly until a few weeks ago, skink produces nicer looking scores, and barfly also has a hissy fit with certain layouts. Even on barfly with the Sloe triplets it still overlaps them! I think it might be a case of running ABC navigator under windows emulation for the odd time I need to annotate tunes with triplets.

Edit: Steve, I've just re-installed Barfly and it doesn't display correctly here, how are you doing it?
Logged
Bill the Farmer
Not quite so
Respected Sage
****
Offline Offline

Posts: 388


Hohner Club, Liliput...


« Reply #4 on: March 10, 2010, 12:58:21 PM »

I agree, abctops puts the stems down. Is it possible to use lyrics instead of chords, or to put the chords underneath? I did a hack to abctops to use lyrics for tablature some while ago, but I had to stop it putting a reverse offset on numbers, it thought they were verse numbers.
Logged

Bill of Old Shoreham Town 
Sompting Village Morris
Steve_freereeder
Grumpy old git (sometimes)
Hero Member
*****
Offline Offline

Posts: 1068


Suped-up Sander


« Reply #5 on: March 10, 2010, 12:59:51 PM »

Edit: Steve, I've just re-installed Barfly and it doesn't display correctly here, how are you doing it?
1. Load the abc into Barfly
2. From the dropdown menu, choose File > Export > abc2mps
3. You should get a dialogue box which allows you change parameters such as scale factor, etc. The default settings are usually good, but you can change them and see what effects they have on the final output.
4. Click OK and it should convert the abc to a postscript file which (on my Mac) automatically opens in Mac Preview as a PDF file. Otherwise you could save the file somewhere and view/print it from Preview.

I have a registered copy of Barfly, but I think this should still work on a free unregistered version.
« Last Edit: March 10, 2010, 01:04:05 PM by Steve_freereeder » Logged

Steve
Sheffield, UK
Gandy
Respected Sage
****
Offline Offline

Posts: 255


« Reply #6 on: March 10, 2010, 01:00:22 PM »

You can put the chords underneath with "gchord=down" as a "voice" parameter, as in ...

X:1
T:The Sloe
M:4/4
L:1/8
K:D
V:1 gchord=down
|:"D5"A2|"D6"d2"D5"A2"D6"d2"D7'"e2|"D7"f3"D7'"e "D6"d2"D6'"c2|"G4"B2"D5"A2"D5'"B"D6'"c"D6"d"D5'"B|"D5"A2"D4"F2"D3'"E2"D3"D2|
|"D6"d2"D5"A2"D6"d2"D7'"e2|"D7"f3"D7'"e "D6"d2"D6'"c2|"G4"B2"D5"A2"D5'"B2"D6'"c2|"D6"d4d2:|
|:"D5"A2| "D5' D6' D5'"(3BcB A2F2A2| (3BcB A2F2dd|d2cc c2BB|B2A2A2dd|
d2c2c2ee|e2d2d2f2|f2e2B2c2|d4d2:|
V:2

Logged

Tony S
LJC
Respected Sage
****
Offline Offline

Posts: 442


« Reply #7 on: March 10, 2010, 01:17:19 PM »

Steve: doing that produces

/Users/Luca/bfly.command ; exit;
luca-celanos-computer:~ Luca$ /Users/Luca/bfly.command ; exit;
/Users/Luca/bfly.command: line 1: infile.abc: command not found
logout

I seem to understand I need abcm2ps installed, but it's really above my head on how to do that. I've got the file from the developers website, but when I follow the instructions I get told that there is no C compiler in $PATH.  Huh? Huh? Huh?

Edit: Barfly freaks out with a change in V field  Angry

« Last Edit: March 10, 2010, 01:24:08 PM by LJC » Logged
Steve_freereeder
Grumpy old git (sometimes)
Hero Member
*****
Offline Offline

Posts: 1068


Suped-up Sander


« Reply #8 on: March 10, 2010, 01:23:28 PM »

Steve: doing that produces

/Users/Luca/bfly.command ; exit;
luca-celanos-computer:~ Luca$ /Users/Luca/bfly.command ; exit;
/Users/Luca/bfly.command: line 1: infile.abc: command not found
logout

I seem to understand I need abcm2ps installed, but it's really above my head on how to do that. I've got the file from the developers website, but when I follow the instructions I get told that there is no C compiler in $PATH.  Huh? Huh? Huh?
It sounds as though you have some component corrupted or missing - either from Barfly or from abcm2ps or both.
I would delete all the barfly and abcm2ps files, components and preferences from your Mac. Restart your Mac and then start afresh by downloading new files from the relevant websites and reinstalling the software on your hard drive.

Once abcm2ps is installed anew on your Mac, Barfly should automatically find it when you run a conversion. You may need to specify in Barfly preferences where abcm2ps is located.
« Last Edit: March 10, 2010, 01:27:43 PM by Steve_freereeder » Logged

Steve
Sheffield, UK
Anahata
Mr. Cool
Respected Sage
****
Offline Offline

Posts: 479


Oakwood and Saltarelle D/G, 1-rows in C,D,G


WWW
« Reply #9 on: March 10, 2010, 03:57:45 PM »

I seem to understand I need abcm2ps installed, but it's really above my head on how to do that. I've got the file from the developers website, but when I follow the instructions I get told that there is no C compiler in $PATH.

You downloaded the source code, as you might expect from a developers site!
Go back to the web site and look for a MacOS (or OSX or whatever it's called) binary, if they's got one
Logged

www.treewind.co.uk sound recording, website design and hosting
www.maryanahata.co.uk Mary Humphreys and Anahata
Cambridgeshire, UK
Bill the Farmer
Not quite so
Respected Sage
****
Offline Offline

Posts: 388


Hohner Club, Liliput...


« Reply #10 on: March 10, 2010, 04:01:51 PM »

There doesn't appear to be an abcm2ps Mac binary easily available on the web. I couldn't find one anyway. Compiling the sources and installing it on a Mac isn't easy, for a start you have to install Xcode.  Shocked
Logged

Bill of Old Shoreham Town 
Sompting Village Morris
Steve_freereeder
Grumpy old git (sometimes)
Hero Member
*****
Offline Offline

Posts: 1068


Suped-up Sander


« Reply #11 on: March 10, 2010, 04:45:30 PM »

There doesn't appear to be an abcm2ps Mac binary easily available on the web. I couldn't find one anyway. Compiling the sources and installing it on a Mac isn't easy, for a start you have to install Xcode.  Shocked
It seems to be a lot harder than it used to be.  Sad
But you can get it here:
http://moinejf.free.fr/?ref=darwinports.com

I agree that the installation is no longer easy unless you are comfortable in Mac Terminal mode and can understand a bit of UNIX.
Logged

Steve
Sheffield, UK
LJC
Respected Sage
****
Offline Offline

Posts: 442


« Reply #12 on: March 10, 2010, 08:21:52 PM »

Well I did actually download Xcode and did some poking around. Tried a few things, moved a few files, wasted about 6 hours. But it works! This seems to be crying out for someone to put together a pleb user friendly version. I've got to figure out how to get the formatting and fonts to my liking now, but I think I've managed the hard part. Phew. mel2
Logged
Gandy
Respected Sage
****
Offline Offline

Posts: 255


« Reply #13 on: March 11, 2010, 08:13:50 AM »

This must be one of the rare occasions where a PC wins on ease of use over a Mac.   Just install ABC Explorer and it does it all for you.
Logged

Tony S
Pages: [1]   Go Up
  Print  
 
Jump to:  


Melodeon.net - (c) Theo Gibb; Clive Williams 2010. The access and use of this website and forum featuring these terms and conditions constitutes your acceptance of these terms and conditions.

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
SimplePortal 2.3.2 © 2008-2010, SimplePortal
Valid XHTML 1.0! Valid CSS!