lilypond-user
[Top][All Lists]
Advanced

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

Re: eps file


From: David Wright
Subject: Re: eps file
Date: Thu, 2 Sep 2021 19:06:09 -0500
User-agent: Mutt/1.10.1 (2018-07-13)

On Thu 02 Sep 2021 at 17:57:18 (-0400), ming tsang wrote:

> I have replaced all / with //. And here is screen print.

No, you used backslashes. But when you do get round to trying
forward slashes, don't double them.

Anyway, my previous post was overcomplicated. On the basis that your
EPS image wasn't read correctly, I tried touching an empty file, and
found that I got exactly the same error message from stencil.scm:

$ ls -s /tmp/empty.eps 
0 /tmp/empty.eps
$ cat /tmp/ming.ly 
\markup {
  \general-align #Y #DOWN {
    \epsfile #X #20 #"/tmp/empty.eps"
  }
}
$ lily /tmp/ming.
/home/david/lilypond-2.23.3-1.linux-64/bin/lilypond -dno-point-and-click 
--include=/home/david/LilyLib/ --include=/home/david/LilyLib/margins/ 
--include=/home/david/LilyLib/parts-midis/ ming.ly
GNU LilyPond 2.23.3
Processing `ming.ly'
Parsing...
ming.ly:1: warning: no \version statement found, please add

\version "2.23.3"

for future compatibility
/home/david/lilypond-2.23.3-1.linux-64/lilypond/usr/share/lilypond/current/scm/lily/stencil.scm:985:26:
 In procedure list-ref in expression (list-ref bbox 2):
/home/david/lilypond-2.23.3-1.linux-64/lilypond/usr/share/lilypond/current/scm/lily/stencil.scm:985:26:
 Wrong type argument in position 1: #f

ERROR

$ 

So once you've managed to fix the filename, the error above should
just go away.

Cheers,
David.



reply via email to

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