lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OOoLilyPond "unrecognized option"


From: Samuel Hartmann
Subject: Re: OOoLilyPond "unrecognized option"
Date: Thu, 28 Sep 2006 20:48:52 +0200
User-agent: Thunderbird 1.5.0.7 (X11/20060922)

Hi Jay,

I already answered to your personal mail address and forgot to send it also to the list. Additionally I have corrected some instructions (single quotes instead of double quotes in the path to lilypond), please ignore the first mail I sent to you directly.

Jay Hamilton wrote:
Samuel-
This is the problem with your potentially great addition, Cygwin
version(s) of lilypond didn't work for me at all- I never could get it to
go while the current (is 2.8x non or not I don't really know)stable
version works great as did the non-cygwin stable version 2.6x.

The cygwin version 2.6.4 just works out of the box on my Windows XP for
use with OOoLilyPond. Otherwise I'm not using LilyPond on Windows, so
may be there are other problems with the cygwin version.

I'm kinda hoping that you come up with a way to do this without Cygwin
I now installed the mingw-version of LilyPond 2.8.6 and got it to work
with OOoLilyPond. What you must do is the following:

Install the newest OOoLilyPond 0.2.1 (this already has the templates for
LilyPond 2.8 included).

find the bash script and open it with a text editor:
C:\OOoLilyPond\bin\OOoLilyPond
(May be it is in unix format, so notepad is not a suitable editor. I
used notepad plus: http://notepad-plus.sourceforge.net/de/site.htm)

find the lines:
if [ "$ext" = "eps" ]; then
        lilypond -b eps -f eps "${filename}.ly" 2> "${filename%.ly}.out"
fi
if [ "$ext" = "png" ]; then
        lilypond -b eps -f png -dresolution=$dpi "${filename}.ly" 2>
"${filename%.ly}.out"
fi

Replace the two words "lilypond" with the full path of your lilypond
executable. For example (line breaks are wrong in the mail):
if [ "$ext" = "eps" ]; then
        'C:\Program Files\LilyPond\usr\bin\lilypond' -b eps -f eps
"${filename}.ly" 2> "${filename%.ly}.out"
fi
if [ "$ext" = "png" ]; then
        'C:\Program Files\LilyPond\usr\bin\lilypond' -b eps -f png
-dresolution=$dpi "${filename}.ly" 2> "${filename%.ly}.out"
fi

When running OOoLilyPond make sure the template path is set to the
templates for version 2.8.

Note that you still need cygwin. OOoLilyPond calls a bash script which
needs cygwin to run. But you don't need the cygwin lilypond package.


In future versions of OOoLilyPond I also try to get rid of the bash
script. Then it should be completely independent of cygwin.



regards,

Samuel






reply via email to

[Prev in Thread] Current Thread [Next in Thread]