lilypond-user
[Top][All Lists]
Advanced

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

Re: thanks to whomever put this in the LSR...


From: Helge Kruse
Subject: Re: thanks to whomever put this in the LSR...
Date: Wed, 03 Jun 2009 09:36:39 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090403 SeaMonkey/1.1.16


chip wrote:
I was just browsing around in the LSR and found this very useful bit that is just fantastic, I hadn't come across it in any docs - LM, NR, or IR (I did a browser Edit/Find for output-suffix on all of those) -

#(define output-suffix "you-put-something-here")


It's for use in a multi-bookpart .ly file that generates multiple .pdf files. Typically the file names are appended with -1, -2, -3, etc which isn't very helpful. That little bit of code lets you append any bit of text to the file name, so instead of

filename-1.pdf

you get

filename-you-put-something-here-1.pdf

Is there a way to omit the -1 -2 ... suffix? I would like to specify the pdf file name in the .ly file.

Regards,
Helge





reply via email to

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