An automator service for turning a text file containing ABC music notation into a PDF. Requires abcm2ps and ps2pdf.
- Build and install abcm2ps and ps2pdf, e.g.
brew install abcm2ps ghostscriptusing Homebrew
- Download the Make PDF From ABC workflow
Make PDF From ABCto
- Right click on any plaintext file containing valid ABC -- multiple tunes is fine
- You should have a
Make PDF From ABCcontextual menu item (right at the bottom)
- Click it.
- Wait a few seconds and you should get a PDF file of the same name as the plaintext file. You might see a
.psfile pop up for a second -- this is a transitionary file inbetween ABC and PDF.
The automator workflow is really just a wrapper for some bash, which just goes through the list of files presented to it by the automator workflow and runs
The bash is here -- it should be really easy to customise/improve, so please do fork if you have other needs! Sorry it's inside a nasty workflow, I shall probably re-write it as an applescript at some point to make customisation easier.