lilypond-user
[Top][All Lists]
Advanced

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

Re: Specifying output format in the .ly file?


From: Anton Curl
Subject: Re: Specifying output format in the .ly file?
Date: Sun, 19 Apr 2015 11:16:53 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

Hi Peter,

I don't know if it's possible to specify the output format in the Lilypond file, but you can choose the paper size from the command line:
http://www.lilypond.org/doc/v2.18/Documentation/usage/command_002dline-usage

Then you have two commands to run, but you don't have to update your Lilypond file.
If you absolutely want to run only one command, you can put them in a script or use a Makefile.

Anton Curl

On 19/04/2015 04:13, Peter Crighton wrote:
Hello all,

is it possible to not specify the output format via the command line, but instead directly in the .ly file? I want to have a score typeset with two different page sizes – one as a PDF file and the other one as one PNG per page.
Currently I have to switch the paper size every time I want to have one of the output formats and then use the appropriate command line options.
Ideally, I would like to have two separate book blocks which share the same music input, but have different paper blocks, and then just run LilyPond once to get my PDF with paper size 1 and a lot of PNGs with paper size 2.

--
Peter Crighton | Musician & Music Engraver based in Mainz, Germany
http://www.petercrighton.de


_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user


reply via email to

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