lilypond-user
[Top][All Lists]
Advanced

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

Re: Specify output directory *in* the file


From: Patrick Hubers
Subject: Re: Specify output directory *in* the file
Date: Tue, 18 Apr 2017 21:43:51 +0200
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

Op 18-4-2017 om 21:28 schreef Thomas Morley:
Not sure if it'll help, here some methods to retrieve values:

[...]
#(format #t
  "\nCurrent filename: \"~a.ly\"\n"
  (ly:parser-output-name))


HTH,
  Harm

This is great, because I found that I actually preferred to use the original file name. I'm using a template that produces C, B-flat and E-flat versions from a single lead sheet in C, so now I'm using:

    \bookOutputName $(string-append "E-flat/" (ly:parser-output-name))
    \bookOutputSuffix "Eb"

(and similar for the B-flat version) to store the transposed versions in their own directories.

Many thanks!

Regards, Patrick


reply via email to

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