lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Output to SVG and PDF


From: Kenneth Wolcott
Subject: Re: Output to SVG and PDF
Date: Fri, 11 Jun 2021 18:15:02 -0700

You could use a Makefile.

On Fri, Jun 11, 2021 at 6:05 PM Jostle <jostle@jostlesoft.com> wrote:
>
> Thanks. I am using Ubuntu hirsute.
>
> Most of my scores are choral works, of 4 to 20 pages, that generate pdf,
> svg and midi, plus midi for each part (usually 5 midi files). In some
> cases I also generate a modified score for the pianist using a \book
> section, for which I only need the pdf file.
>
> I'm not suggesting that this is a bug in lilypond.
>
> I am just trying to find out if there is a way to reduce the overhead of
> running lilypond twice, and repeating the same command in my build.sh
> script which means any changes to the lilypond options need to be made
> in two places.
>
> As Knute has suggested, I could achieve the second part with variables
> that define the rest of the command.
>
>
> On 12/6/21 3:54 am, Knute Snortum wrote:
> > You don't say what environment you're on but you can always create a
> > shell or batch file like this:
> >
> > #!/bin/bash
> >
> > LY_HOME=/path/to/lilypond/lilypond-2.22.1/bin
> > $LY_HOME/lilypond --pdf $@
> > $LY_HOME/lilypond --svg $@
> >
> > --
> > Knute Snortum
> >
> > On Fri, Jun 11, 2021 at 2:44 AM m.tarenskeen@kpnmail.nl
> > <m.tarenskeen@kpnmail.nl> wrote:
> >> Is it really so much more work to type two sequential lilypond commands on 
> >> the commandline instead of one single commandbwith two different options?
> >>
> >> Verzonden vanaf mijn Huawei mobiele telefoon
> >>
> >>
> >> -------- Oorspronkelijk bericht --------
> >> Onderwerp: Output to SVG and PDF
> >> Van: Jostle
> >> Aan: lilypond-user@gnu.org
> >> Cc:
> >>
> >>
> >> Is there a way to generate BOTH svg AND pdf format output from one run
> >> of lilypond?
> >>
> >> I have tried putting both --svg and --pdf on the command line, but all I
> >> get is the svg output.
> >>
> >> Is it possible to define the output format in the .ly file in a \book
> >> section?
> >>
> >>
> >> Thanks,
> >>
> >> jostle
> >>
> >>
> >>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]