|
From: | Hans Aberg |
Subject: | Re: Always need to restart Preview on OS X |
Date: | Mon, 5 Sep 2005 18:24:34 +0200 |
On 5 Sep 2005, at 02:31, Will Duquette wrote:
I'm using Lilypond 2.6.3 on Mac OS X 10.4. When I compile an .ly file, it shows the PDF in OS X's Preview application. If I then make changes to the file and compile it again, it pops up Preview but Preview doesn't reload the PDF file. If I want to see my changes, I need to close the Preview window and either re-open it by hand or ask Lilypond to compile once again.
This is a frequently reported Preview problem. I think I have reported it to Apple.
If you run LilyPond from Terminal, then you can move to the directory where th .ly file is, and type
/usr/local/bin/lilypond <name>.ly && open <name>.pdfWhen you see that the .ps file has been created, click to close the open PDF file. If you miss the timing, close the PDF file, and type in Terminal
open <name>.pdfWhen you have typed this once in Terminal, use the keyboard up and down arrows to get the earlier typed command lines.
One could in principle close the PDF files using AppleScript commands, but I do not know how to do it, or if Preview supports it.
Hans Aberg
[Prev in Thread] | Current Thread | [Next in Thread] |