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

Am Mittwoch, 10. Juni 2009 00:43:43 schrieb chip:
> Ian Hulin wrote:
> > Hi Reinhold,
> > I'm having a look at seeing if I can pick up the work Marek Klein did
> > on -devel.  It covered amending the coded generating output file
> > suffixes to allow users to code user-specified names as the suffix.
> > It changes the function print-with-book in file lily-library.scm so
> > one of the internal variables uses a Scheme alist.
> >
> > How much more work would it be to implement Patrick's suggestion below?
> >
> > But it would be nice to have an option to override the file-name for
> > any arbitrary book.  Something like
> >
> > \book {
> >   \paper {
> >     output-file-name = "Blah"
> >   }
> >   \score {
> >     ...
> >   }
> > }
> > .
> > .
> > .
> >
> > As I understand it, the above would allow allow you to have a file
> > called something like "mozsym40.ly" and use
> > \paper {
> > output-file-name="SinfoniaK550"
> > }
> > to generated SinfoniaK550.pdf, .png, .mid, .midi or whatever.
>
> I am a user very interested in the outcome of this as I use multiple
> \book in all my songs. Being able to have the naming scheme work out
> like this would be great -
[...]
> Basically what the system currently does except dropping the -n from the
> name and replacing it with the variable the user wants added. 

That's exactly what 'output-suffix is about. This thread is about improving it 
even further (i.e. currently, the suffix is appended, but the number is also 
appended, so this patch tries to avoid unnecessary numbering...)

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)

iD8DBQFKL+siTqjEwhXvPN0RAmnHAJ4uaPvF9tR3/8N/Fy4Zf7hmCXA8nwCdHe1k
acd7ypheV6Uc8lo9hWQdlto=
=Z9Ag
-----END PGP SIGNATURE-----


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

Reply via email to