lilypond-user
[Top][All Lists]
Advanced

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

Including an EPS


From: Mike Kilmer
Subject: Including an EPS
Date: Sat, 17 Dec 2022 10:41:41 -0600

Hi.

I'm using GNU LilyPond 2.22.2 (running Guile 2.2)

And trying to add an eps file as per docs:

https://lilypond.org/doc/v2.12/Documentation/user/lilypond/Graphic#index-inlining-an-Encapsulated-PostScript-image

Getting the following error in terminal: In procedure list-ref: Wrong type argument in position 1: #f

My code:

\general-align #Y #DOWN {
    \epsfile #X #20 #"qrcode.eps"
    \epsfile #Y #20 #"qrcode.eps"
  }

The following works as expected:

  \fontsize #5 {
    \general-align #Y #DOWN {
      \arrow-head #Y #UP ##t
      \arrow-head #Y #DOWN ##f
      \hspace #2
      \arrow-head #X #RIGHT ##f
      \arrow-head #X #LEFT ##f
    }
  }

Full stack trace:

Processing `long_dark_road.ly'
Parsing...
Interpreting music...[8][16][24][32][40][48][56][64][72][80]
Preprocessing graphical objects...Backtrace:
In ice-9/eval.scm:
    619:8 19 (_ #(#(#(#(#(#(#<directory (lily) 10365…>) …) …) …) …) …))
In srfi/srfi-1.scm:
    640:9 18 (for-each #<procedure 10512a6e0 at ice-9/eval.scm:333:…> …)
In ice-9/eval.scm:
    619:8 17 (_ #(#(#(#(#<directory (lily) 10365bf00> #f # …) …) …) …))
In ice-9/boot-9.scm:
    829:9 16 (catch _ _ #<procedure 105131cc0 at ice-9/eval.scm:386…> …)
In unknown file:
          15 (ly:parse-file "long_dark_road.ly")
          14 (ly:book-process #<Book> #< Output_def> #< Output_def> #)
          13 (ly:optimal-breaking #<Paper_book>)
In srfi/srfi-1.scm:
   501:18 12 (fold-right #<procedure 104bd1060 at ice-9/eval.scm:…> . #)
In ice-9/eval.scm:
    159:9 11 (_ #(#(#<directory (lily) 10365bf00> #< Output_def> …) …))
In unknown file:
          10 (ly:text-interface::interpret-markup #< Output_def> (#) #)
In ice-9/eval.scm:
   293:34  9 (_ #(#(#(#<directory (lily) 10365bf00>) #< Output…> …) …))
    155:9  8 (_ #(#(#(#<directory (lily) 10365bf00>) #< Output…> …) …))
In srfi/srfi-1.scm:
   501:18  7 (fold-right #<procedure 104bd2fa0 at ice-9/eval.scm:…> . #)
In ice-9/eval.scm:
    159:9  6 (_ #(#(#<directory (lily) 10365bf00> #< Output_def> …) …))
In unknown file:
           5 (ly:text-interface::interpret-markup #< Output_def> (#) #)
In ice-9/eval.scm:
   293:34  4 (_ #(#(#<directory (lily) 10365bf00>) #< Output_def> # …))
In unknown file:
           3 (ly:text-interface::interpret-markup #< Output_def> (#) #)
In ice-9/eval.scm:
   293:34  2 (_ #(#(#(#(#<directory (lily) 10365bf00>) 100 20 …) …) …))
    159:9  1 (_ #(#(#(#(#<directory (lily) 10365bf00>) 100 20 …) …) …))
In unknown file:
           0 (list-ref #f 3)

ERROR: In procedure list-ref:
In procedure list-ref: Wrong type argument in position 1: #f

Thanks for tips and/or input.

Have a great weekend.

–Mike

reply via email to

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