[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Specify output directory *in* the file
From: |
Urs Liska |
Subject: |
Re: Specify output directory *in* the file |
Date: |
Tue, 18 Apr 2017 21:30:03 +0200 |
User-agent: |
K-9 Mail for Android |
Am 18. April 2017 20:34:40 MESZ schrieb Jeffery Shivers <address@hidden>:
>On Tue, Apr 18, 2017 at 12:57 PM, Patrick Hubers <address@hidden>
>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