lilypond-user
[Top][All Lists]
Advanced

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

Re:lilypond input filename access (Paul Morris)


From: Patrick or Cynthia Karl
Subject: Re:lilypond input filename access (Paul Morris)
Date: Sat, 30 Aug 2014 14:27:54 -0500

> Message: 8
> Date: Sat, 30 Aug 2014 08:34:40 -0700 (PDT)
> From: Paul Morris <address@hidden>
> To: address@hidden
> 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.


reply via email to

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