Hi Valentin,
I try another way to code eps file location path. I move the eps file to
the same folder of lily file.
Shalom,
Ming

\version "2.23.3"
\markup {
  \general-align #Y #DOWN {
    \epsfile #Y #20 #"Untitled_draw-squibble-1.eps"
  }
}

ERROR Message,

Starting lilypond-windows.exe 2.23.3 [Untitled]...

Processing
`C:/Users/YMINGT~1/AppData/Local/Temp/frescobaldi-o_s4xv8r/tmps19cuu1_/
document.ly'

Parsing...

fatal error: cannot find file: `Untitled_draw-squibble-1.eps' (load path:
`C:/LilyPond_2-23-3/usr/share/lilypond/current/ly;C:/LilyPond_2-23-3/usr/share/lilypond/current/ps;C:/LilyPond_2-23-3/usr/share/lilypond/current/scm;C:/LilyPond_2-23-3/usr/share/lilypond/current/fonts/otf/;C:/LilyPond_2-23-3/usr/share/lilypond/current/fonts/svg/;C:/Users/yming
tsang/Dropbox/LP_includes/;', cwd:
`C:\Users\YMINGT~1\AppData\Local\Temp\frescobaldi-o_s4xv8r\tmps19cuu1_')

Exited with return code 1.

On Wed, Sep 1, 2021 at 4:27 PM Valentin Petzel <valen...@petzel.at> wrote:

> Hello Ming!
>
> Just put the name of the file either as absolute path or as relative path
> to
> your lilypond file instead of context-example.eps.
>
> The sytax for \epsfile is
> \epsfile axis size path
> Where axis is the axis for scaling, size is the size of the end result
> along
> this axis and path is the path to the file.
>
> Cheers,
> Valentin
>
> Am Mittwoch, 1. September 2021, 22:17:13 CEST schrieb ming tsang:
> > Dear lilyponders,
> > How can I specify the eps file that will be recognized by the \markup -
> re
> > below lilypond code? The eps file is in my computer folder.
> > Shalom,
> > Ming
> >
> > \markup {
> >   \general-align #Y #DOWN {
> >     \epsfile #X #20 #"context-example.eps"
> >     \epsfile #Y #20 #"context-example.eps"
> >   }
> > ,



-- 
ming (lyndon) tsang

Reply via email to