Am 10.04.24 um 13:29 schrieb Jean Abou Samra:
I am trying to include an epsfile as a top-level markup (it is not in
a score) and then output as SVG.
You can't (this should indeed be mentioned in the documentation). EPS files
are included by basically inlining them into the PS code that LilyPond
generates,
which is then converted to PDF. In the SVG backend, LilyPond generates SVG
code directly and skips \epsfile markups. The Cairo backend is yet another
beast but it doesn't support outputting \epsfile other than in PS/EPS output.
An alternative, if you can use raster graphics, would be a PNG file added
with the \image command.
It would be possible to convert EPS to SVG with pstoedit or via PDF and
Inkscape. Both would avoid rastering vectors into a pixel image.
Hraban