lilypond-user
[Top][All Lists]
Advanced

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

Not a lilypond-book-preamble.ly bug (was RE: -b eps option (was RE: OOol


From: Paul Harouff
Subject: Not a lilypond-book-preamble.ly bug (was RE: -b eps option (was RE: OOolilypond and openoffice 2.1))
Date: Sun, 11 Mar 2007 23:06:23 -0500

It helps if you include the "=" in the -dbackend=eps option. You can see from my previous message that I read the documentation correctly. We all make mistakes. :-)
 
Is it possible to include more helpful error messages for the command line options, when somebody gets a chance?
 
It appears that I have OOoLilyPond working now, but there are some issues:
 
1. The default templates with OOoLilyPond assume simple notes, you have to modify the templates to delete the { and } before and after the snippet in order to accept a \score {} block. Since the discussions on the list indicate that the project is leaning toward requiring \score {} blocks in the future, the default templates probably need to be updated.
 
2. The eps images paste into the swriter file transparent, you can't view and proofread the music until you print -- I can't figure out how to change this. It's really annoying. The documentation says the image is supposed to be in low resolution, not invisible.
 
3. The temporary files are in the C:\WINDOWS\Temp directory, if you have find the OOoLilypond.ly and OOoLilypond.out files to debug a problem. Looking at the OOoLilypond.ly file is the only way to see how your music snippet really looks to the LilyPond compiler.
 
Paul


From: Paul Harouff [mailto:address@hidden
Sent: Monday, March 05, 2007 2:07 PM
To: Graham Percival
Cc: address@hidden
Subject: Re: -b eps option (was RE: OOolilypond and openoffice 2.1)

Thanks, Graham.

I failed to mention that the -dbackend=eps option works outside of OOo. I verified that before making the changes to Subs.xba.

I think this is some other script error inside OOoLilypond passing a bad value to Lilypond, but I don't have a clue from the LilyPond error message where to look.

Even thinking about using LaTeX and LilyPondBook gives me chills. And while LilyPond is great at handling musical notation, it is horrible at handling text outside of a score (which is completely understandable - because that's not what it's designed for). OOoLilypond looks like it could be a real production tool for laying out hymnbooks and worship services, etc., by combining the strengths of LilyPond and OOoWriter. I'm really excited to see if I can get it working and try it out.

Paul


On 3/4/07, Paul Harouff <address@hidden> wrote:
Okay, I edited Subs.xba and replaced -b eps with -dbackend=eps in all four
places.

Then I deleted the macro in OOo and reinstalled it, so it would load the
changes.

Now, I get the following error:

GNU LilyPond 2.11.20
ERROR: In procedure symbol->string
ERROR: Wrong type argument in position 1 (expecting symbol): #t


The template file has the following:

\include " lilypond-book-preamble.ly"
#(set-global-staff-size 20)

\paper {
  #(define dump-extents #t)
  ragged-right = ##t
  line-width = 7.5\in
}

\layout {
  indent = #0
}

{
% ly snippet contents follows:
c' d' e'
% end ly snippet
}

Paul


-----Original Message-----
From: Graham Percival [mailto:address@hidden]
Sent: Sunday, March 04, 2007 6:05 PM
To: Paul Harouff
Cc: 'Johan Vromans'; address@hidden
Subject: Re: -b eps option (was RE: OOolilypond and openoffice 2.1)

Paul Harouff wrote:
> My problem is Lilypond 2.11.20 is not recognizing either
> -b eps or --backend=eps so the code fragment won't compile.

Please see the NEWS for 2.11.

Cheers,
- Graham



reply via email to

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