Am 18. April 2017 20:34:40 MESZ schrieb Jeffery Shivers 
<[email protected]>:
>On Tue, Apr 18, 2017 at 12:57 PM, Patrick Hubers <[email protected]>
>wrote:
>>
>> I would love to use this solution, but it means that you also have to
>define
>> the actual name of the *file* in addition to the directory. Is there
>a way
>> to derive the filename from the title and use that? I found that
>using
>>
>>   \bookOutputName \concat { "/home/foo/" \fromproperty #'header:title
>}
>>
>> does not work...
>
>Couldn't one do this in scheme alone?
>
>I don't know how to retrieve bookOutputName after it is set, but maybe
>setting it independently like:
>
>#(define mytitle "mytitle")
>
>\book {
>  \header {
>    title = #mytitle
>  }
>  \bookOutputName #(string-append "sub/" mytitle)
>  \score {
>    c'4
>  }
>}
>
>But if there is a way to use fromproperty in scheme, I can't figure it
>out.

I'm not at my computer right now but I think \fromproperty is a markup-only 
thing. So try wrapping everything kn \markup { }

HTH
Urs

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to