Re: \epsfile and SVG output

2024-04-10 Thread Alex Harker
Thanks - the idea about post-processing is particularly interesting. In the long run it would be great to be able to add SVGs directly, but I suspect that would be too big a dev job (in terms of understanding the lily pond codebase) for me to get into at the moment. Alex > On 10 Apr 2024, at

Re: \epsfile and SVG output

2024-04-10 Thread Henning Hraban Ramm
Am 10.04.24 um 15:50 schrieb Alex Harker: Many thanks for the clarification that this approach will not work and alternative suggestions. I presume that /image will only include PNGs in a SVG output and not EPS (the documentation reads a little unclearly on this as the section on backends is

Re: \epsfile and SVG output

2024-04-10 Thread Jean Abou Samra
> Many thanks for the clarification that this approach will not work and > alternative suggestions. > > I presume that /image will only include PNGs in a SVG output and not EPS (the > documentation reads a little unclearly on this as the section on backends is > elided with comments on coloured ba

Re: \epsfile and SVG output

2024-04-10 Thread Alex Harker
Many thanks for the clarification that this approach will not work and alternative suggestions. I presume that /image will only include PNGs in a SVG output and not EPS (the documentation reads a little unclearly on this as the section on backends is elided with comments on coloured backgrounds

Re: \epsfile and SVG output

2024-04-10 Thread Henning Hraban Ramm
Am 10.04.24 um 14:31 schrieb Jean Abou Samra: 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. True, but LilyPond so far doesn't support including SVG images either. (It does support \markup \path in SVG tho

Re: \epsfile and SVG output

2024-04-10 Thread Jean Abou Samra
> 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. True, but LilyPond so far doesn't support including SVG images either. (It does support \markup \path in SVG though.) signature.asc Description: This i

Re: \epsfile and SVG output

2024-04-10 Thread Henning Hraban Ramm
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 LilyPon

Re: \epsfile and SVG output

2024-04-10 Thread Jean Abou Samra
> An alternative, if you can use raster graphics, would be a PNG file added > with the \image command. P.S. \image is new in 2.25 https://lilypond.org/doc/v2.25/Documentation/notation/graphical-markup (and I remember now that I wrote down what does and doesn't support EPS in the 2.25 documentatio

Re: \epsfile and SVG output

2024-04-10 Thread 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.

\epsfile and SVG output

2024-04-10 Thread Alex Harker
I am trying to include an epsfile as a top-level markup (it is not in a score) and then output as SVG. If I render to pdf I see the eps file part, but if I render to SVG I don’t see it - everything else is included. If I examine the SVG as text I don’t appear to see anything relating to the eps