[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Naming output files
From: |
Reinhold Kainhofer |
Subject: |
Re: Naming output files |
Date: |
Thu, 26 Feb 2009 10:57:10 +0100 |
User-agent: |
KMail/1.11.0 (Linux/2.6.27-11-generic; KDE/4.2.0; i686; ; ) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Donnerstag, 26. Februar 2009 10:45:46 Francisco Vila wrote:
> 2009/2/26 aabb <address@hidden>:
> > I'm using multiple \book{} blocks to create multiple output files from
> > the same source (to create versions transposed in different keys). By
> > default the second and subsequent books are named by adding suffix "-1",
> > "-2", "-3", etc. to the file name. For example, with source file
> > "song.ly" I would get output files:
> >
> > song.pdf
> > song-1.pdf
> > song-2.pdf
> > etc.
> >
> > Is there any way of changing this? Is there a command I can add to a
> > \book{} block to specify the output file name, or the suffix to add to
> > the base name. E.g. to get files names such as:
> >
> > song-C.pdf
> > song-Eb.pdf
> > etc.
>
> The answer is in the manual, see Application Usage 3.2.1
> http://lilypond.org/doc/v2.12/Documentation/user/lilypond-program/Invoking-
>lilypond.html
Well, yes and no. You can append the "C" and "Eb" to the file name, but there
is no way to tell lilypond not to append the "-1" and "-2", too...
I have not really understood the reason behind this limitation, to be honest.
Some claims are that this is to prevent overwriting already generated files...
Cheers,
Reinhold
- --
- ------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, http://reinhold.kainhofer.com/
* Financial & Actuarial Math., Vienna Univ. of Technology, Austria
* http://www.fam.tuwien.ac.at/, DVR: 0005886
* LilyPond, Music typesetting, http://www.lilypond.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFJpmd3TqjEwhXvPN0RAoR8AKCcImIPMqa7uf5KvmVApTdTogxLQQCfdy4k
gYPkE/9gxyBaUFSBUu+vJZE=
=ZKgc
-----END PGP SIGNATURE-----