Hi Valentin,
Thank you for the info. But I have a hard time entering the file path name.
When I ran lilypond through frescobaldi v2.3.3, I got an error - see at the
end of the lily code. I have no idea what "ice-9 format" is.
Shalom,
Ming.
\version "2.23.3"
\markup {
\general-align #Y #DOWN {
\epsfile #X #20
#"c:\User\yming tsang\Documents\SNIPPET\Untitled_draw-squibble-1.eps"
% \epsfile #Y #20 #"Untitled_draw-squibble-1.eps"
}
}
E <2>rror message .....................................
Starting lilypond-windows.exe 2.23.3 [Untitled]...
Processing
`C:/Users/YMINGT~1/AppData/Local/Temp/frescobaldi-o_s4xv8r/tmps19cuu1_/
document.ly'
Parsing...
C:/Users/YMINGT~1/AppData/Local/Temp/frescobaldi-o_s4xv8r/tmps19cuu1_/document.ly:7:6
<0>: error: GUILE signaled an error for the expression beginning here
#
"c:\User\yming tsang\Documents\SNIPPET\Untitled_draw-squibble-1.eps"
C:/LilyPond_2-23-3/usr/share/lilypond/current/scm/lily/lily.scm:973:21 <1>:
In procedure simple-format in expression (ly:parse-file file-name):
C:/LilyPond_2-23-3/usr/share/lilypond/current/scm/lily/lily.scm:973:21 <2>:
FORMAT: Unsupported format option ~1 - use (ice-9 format) instead
Exited with return code 1.
On Wed, Sep 1, 2021 at 4:27 PM Valentin Petzel <[email protected]> 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