-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Donnerstag, 26. Februar 2009 10:45:46 Francisco Vila wrote:
> 2009/2/26 aabb <a...@chadbournes.f2s.com>:
> > 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, reinh...@kainhofer.com, 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-----


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to