[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug in lilypond-book-preamble (was RE: -b eps option (was RE: OOolilypon
From: |
Paul Harouff |
Subject: |
Bug in lilypond-book-preamble (was RE: -b eps option (was RE: OOolilypond and openoffice 2.1)) |
Date: |
Sun, 11 Mar 2007 18:54:00 -0500 |
I narrowed the problem down to lilypond-book-preamble.ly
lilypond -dbackend eps lilypond-book-preamble.ly
GNU LilyPond 2.11.20
ERROR: In procedure symbol->string
ERROR: Wrong type argument in position 1 (expecting symbol): #t
I haven't made any changes, but here is the contents of
lilypond-book-preamble.ly ... maybe someone on the list can find the bug.
The only thing I could do would be comment out each line one at a time, but
I still wouldn't know what the correct syntax should be.
\version "2.10.0"
%% toplevel \book gets output per page,
%% everything else gets output per system/title
#(define default-toplevel-book-handler
print-book-with-defaults-as-systems )
#(define toplevel-book-handler
(lambda ( . rest)
(set! output-empty-score-list #f)
(apply print-book-with-defaults rest)))
#(define toplevel-music-handler
(lambda ( . rest)
(apply collect-music-for-book rest)))
#(define toplevel-score-handler
(lambda ( . rest)
(apply collect-scores-for-book rest)))
#(define toplevel-text-handler
(lambda ( . rest)
(apply collect-scores-for-book rest)))
#(set! output-empty-score-list #t)
#(ly:set-option (quote no-point-and-click))
#(define inside-lilypond-book #t)
#(define version-seen #t)
________________________________
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
<http://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
- OOolilypond and openoffice 2.1, luis jure, 2007/03/04
- Re: OOolilypond and openoffice 2.1, Johan Vromans, 2007/03/04
- -b eps option (was RE: OOolilypond and openoffice 2.1), Paul Harouff, 2007/03/04
- Re: -b eps option (was RE: OOolilypond and openoffice 2.1), Graham Percival, 2007/03/04
- RE: -b eps option (was RE: OOolilypond and openoffice 2.1), Paul Harouff, 2007/03/04
- Re: -b eps option (was RE: OOolilypond and openoffice 2.1), Mats Bengtsson, 2007/03/05
- Re: -b eps option (was RE: OOolilypond and openoffice 2.1), Paul Harouff, 2007/03/05
- Bug in lilypond-book-preamble (was RE: -b eps option (was RE: OOolilypond and openoffice 2.1)),
Paul Harouff <=
- Not a lilypond-book-preamble.ly bug (was RE: -b eps option (was RE: OOolilypond and openoffice 2.1)), Paul Harouff, 2007/03/12
Re: OOolilypond and openoffice 2.1, Samuel Hartmann, 2007/03/06
Re: OOolilypond and openoffice 2.1, Johan Vromans, 2007/03/05
Re: OOolilypond and openoffice 2.1, Samuel Hartmann, 2007/03/06