On Tue, Apr 18, 2017 at 12:57 PM, Patrick Hubers <stomper...@gmail.com> 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.

-- 

Jeffery Shivers
 jefferyshivers.com
 soundcloud.com/jefferyshivers

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

Reply via email to