> Message: 8
> Date: Sat, 30 Aug 2014 08:34:40 -0700 (PDT)
> From: Paul Morris <[email protected]>
> To: [email protected]
> Subject: Re: lilypond input filename access
>
> Patrick or Cynthia Karl wrote
>> Is there a way to access the input filename that lilypond was invoked with
>> in order to include it in text output to the pdf file generated?
>
> This snippet shows how:
> http://lsr.di.unimi.it/LSR/Item?id=197
>
> HTH
That helps a lot. However, that snippet begins:
% originally made for
% \version "2.14.0"
% Modified by David Kastrup for V:2.18 on Feb. 2014
and doesn’t compile without errors. I added a '\version “2.14.0” ‘ statement
and ran the version 2.18.2 convert-ly on it and the result compiles without
error. It looks like David’s actual mods have gotten lost somehow.
I also stumbled upon the following:
filename = #(ly:parser-output-name parser)
which results in only the filename without the path to the file included.
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user