Re: Snippet only as PDF

2022-02-27 Thread Bophead 2000
Hi Jean, That works fine for PDF and EPS output already, but not for SVG. So I added #(ly:set-option 'backend 'svg) afterwards and that made the Lilypond command line options for SVG output work. I guess that overrides the EPS-backend defined in “ lilypond-book-preamble.ly”. I will try to modif

Re: Snippet only as PDF

2022-02-27 Thread Jean Abou Samra
Le 27/02/2022 à 10:40, Bophead 2000 a écrit : What is the simplest way to get snippets cut down to only content as only one file – be it PDF, EPS or SVG? Add #(ly:set-option 'aux-files #f) Best, Jean

Re: Snippet only as PDF

2022-02-27 Thread David Wright
On Sun 27 Feb 2022 at 14:16:32 (+0100), Bophead 2000 wrote: > > > I want to produce lilypond snippets to be used within a text – but only in > > > one graphics file format (PDF, EPS or SVG). In the moment I am using a > > > method I copied from the examples in the HTML-manuals putting the > > > fo

Re: Snippet only as PDF

2022-02-27 Thread Henning Hraban Ramm
Hi Bophead, Am 27.02.22 um 14:16 schrieb Bophead 2000: Hi Hraban, I have seen that page in ConTeXtgarden. But as far as I understood the “filter” module works only in ConTeXt MkIV and the workaround to use it in ConTeXt LMTX has a security flaw (cannot remember where I read the latter). That

Re: Re: Snippet only as PDF

2022-02-27 Thread Bophead 2000
Hi Hraban, I have seen that page in ConTeXtgarden. But as far as I understood the “filter” module works only in ConTeXt MkIV and the workaround to use it in ConTeXt LMTX has a security flaw (cannot remember where I read the latter). That is why I have not tried it yet. I wanted something that work

Re: Snippet only as PDF

2022-02-27 Thread Henning Hraban Ramm
Hi Bophead, welcome, fellow ConTeXt user! Do you know https://wiki.contextgarden.net/LilyPond ? I’m using only parts of lilypond-book-preamble.ly Maybe we can improve the ConTeXt-LilyPond integration together. Hraban Am 27.02.22 um 10:40 schrieb Bophead 2000: Hello all, I want to produce lil

Snippet only as PDF

2022-02-27 Thread Bophead 2000
Hello all, I want to produce lilypond snippets to be used within a text – but only in one graphics file format (PDF, EPS or SVG). In the moment I am using a method I copied from the examples in the HTML-manuals putting the following in front of the music: \include "lilypond-book-preamb