[prev in list] [next in list] [prev in thread] [next in thread]
List: lilypond-user
Subject: Re: Fwd: using Feta outside Lilypond [SOLVED, MOSTLY]
From: Graham Percival <gperlist () shaw ! ca>
Date: 2003-11-22 4:38:21
Message-ID: 20031121203821.03a471ee.gperlist () shaw ! ca
[Download RAW message or body]
On Tue, 18 Nov 2003 21:38:39 -0500
Kieren Richard MacMillan <kieren_macmillan@sympatico.ca> wrote:
> For those interested, the following shell command (Mac OS X 10.2.8)
> works wonderfully:
>
> lilypond -P \!:1.ly ; ps2ps \!:1.ps \!:1_.ps ; rm \!:1.ps ; rm -rf
> \!:1.dvi ; open -a /Applications/Preview.app \!:1.pdf
>
> This can be put into an alias (which I call "lilymake"), and does the
> following:
> 1. Invokes the lilypond binary on the filename provided;
> 2. Opens the (PDF) output with Preview.app;
> 3. Invokes the ps2ps binary ("forcing" the font embedding), with
> output to filename_.ps;
> 4. Removes the .dvi file and original .ps file.
I don't think the "-rf" on the "rm -rf \!:1.dvi" is necessary. I
suppose it's safe enough, but seeing a "rm -rf" gave me a twinge or two.
:)
I've found it nicer to work entirely in X11, due to the way it handles
window focus issues. Here's my script (creatively named "ly"):
#!/bin/sh
lilypond $1ly
gv $1ps &
~/tim/timidity -c ~/tim/timidity.cfg -Ow $1midi
esdplay $1wav
This displays the postscript output in gv (which IMO has better keyboard control
than Preview) and plays the midi file.
Cheers,
- Graham
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic