I've made a gimp eps file and It poops out this error when I run lilypond:

Converting to `test.pdf'...
`gs -q  -dSAFER  -dCompatibilityLevel=1.4  -sPAPERSIZE="letter"
-dNOPAUSE -dBATCH -r1200  -sDEVICE=pdfwrite -sOutputFile="test.pdf" -c
.setpdfwrite -f "test.ps"' failed (256)

It looks like the postscript file lilypond is spitting out is broken.

I replaced my own eps file with penguin.eps from:
http://www.home.unix-ag.org/simon/penguin/

and it works just fine.

I'm attaching the eps file and the lilypond file. One can put them in
the same directory to see if they get the same output. Does anyone
have any ideas on this? I'd rather not have to hand program (in
postscript ) new things I want to include into my score.

Any ideas on what's going on and what I can do to get this to work.

Art

Attachment: test.eps
Description: PostScript document

\version "2.6.0"
\header {
    copyright = "Copyright 2005 Arthur Moore"
    subtitle = " "
    title = "This is a test piece"
    tagline = " "
    footer = ""
    composer="Arthur Moore"
}
#(set-global-staff-size 13) 
#(set-default-paper-size "letter" 'landscape)



\score {
     <<
        % force offset of colliding notes in chords:
        \override Score.NoteColumn #'force-hshift = #1.0
        \time 4/4
\set Score.markFormatter = #format-mark-box-letters
\renameinput "bar-number-every-five-reset.ly"

        \context Staff = "track 1 " << 
            \set Staff.instrument = "Voice"
            \oldaddlyrics
            \context Voice = "voice 0" {
                \override Voice.TextScript #'padding = #2.0

                \time 4/4
                \clef treble
                d'' 4 -\ff \< f'' a'' a' 
                % warning: overlong bar truncated here
                b' 4 d' f' e'' 
\mark \default \bar "||"
                c'' 4 \! e'' f' a' 
                b' 4 -\staccato g' -\staccato f' -\staccato e' -\staccato 
%% 5
                f' 4 -\staccato e' -\staccato f' -\staccato d' -\staccato 
                e' 4 -\staccato c' -\staccato d' -\tenuto e' -\tenuto 
\mark \default \bar "||"
                a' 4 -\tenuto f' -\tenuto b' -\tenuto e'' -\tenuto 
                g' 4 -\tenuto r8 r e''' ( g' d' ) b' -\staccato 
                e'' 8 -\staccato f' -\staccato e'' -\staccato f' -\staccato a' 
-\staccato b' -\staccato c'' -\staccato d'' -\staccato 
%% 10
\mark \default \bar "||"
                b''' 8^\markup { \epsfile #"test.eps" } ( e'' f' c' ) r2 

                 \bar "|."
            } % Voice
            \context Lyrics = "lyric 0" \lyricmode  { 
                _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ _ _ _ _ _ _ _ _ _  

            } % Lyrics

        >> % Staff

\context PianoStaff <<
           \set PianoStaff.instrument = "Piano   ."

        \context Staff = "track 2" << 
            \set Staff.instrument = " "
            \oldaddlyrics
            \context Voice = "voice 1" {
                \override Voice.TextScript #'padding = #2.0

                \time 4/4
                \clef treble
                c'' 8 -\ff e'' g'' f'' f' a' d' \< c'' 
                % warning: overlong bar truncated here
                b' 8 e'' 16 c' e'' f' b''' e'' f' c' a' c'' e''' b' g' \! d'' 
                e'' 4 -\accent a' -\accent b' e''' 
                % warning: overlong bar truncated here
                d'' 4 b'' e' a'' 
%% 5
                a''' 4 -\mp a' d''' d'' 16 e'' f' -\accent c' -\accent 
                a' 16 -\accent b' -\accent d'' -\accent f' -\accent a' -\accent 
d''' -\accent e''' -\accent c''' -\accent f'' -\accent a'' -\accent d' -\accent 
b''' -\accent g''' -\accent g' -\accent a' -\accent r 
                e''' 2 _\sf c' 
                d'' 4 ( a' g' e''' 
                % warning: overlong bar truncated here
                b''' 4 e' ) c'' dis' ( 
                % warning: overlong bar truncated here
%% 10
                b' 4 d'' ) e''' d'' 16 \< f' g' a' \! 

                 \bar "|."
            } % Voice
            \context Lyrics = "lyric 1" \lyricmode  { 
                _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _  

            } % Lyrics

        >> % Staff

        \context Staff = "track 3" << 
            \set Staff.instrument = " "
            \oldaddlyrics
            \context Voice = "voice 2" {
                \override Voice.TextScript #'padding = #2.0

                \time 4/4
                \clef bass
                e 2 -\ff \< g, 
                % warning: overlong bar truncated here
                a, 2 d' -\fff \! \> 
                % warning: overlong bar truncated here
                b, 2 d, 
                a' 2 \! b' 
%% 5
                g' 2 f, _\sf 
                a, 2  \< f,  
                d, 2 \! e' 4 f, -\accent 
                d 4 -\accent a, -\accent b, -\accent d -\accent 
                b 4 -\accent a -\accent r2 
%% 10
                c, 1 _\sf \< 

                 \bar "|."
            } % Voice
            \context Lyrics = "lyric 2" \lyricmode  { 
                _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _  

            } % Lyrics

        >> % Staff (final)
        >> %PianoStaf
    >> % notes
    \layout { papersize = "letter" }
} % score
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to