[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Output to SVG and PDF
From: |
Knute Snortum |
Subject: |
Re: Output to SVG and PDF |
Date: |
Fri, 11 Jun 2021 10:54:57 -0700 |
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
>
>
>