Re: Re:lilypond input filename access (Paul Morris)

2014-08-31 Thread Phil Holmes
- Original Message - 
From: Patrick or Cynthia Karl pck...@me.com

To: lilypond-user@gnu.org; Paul Morris p...@paulwmorris.com
Sent: Saturday, August 30, 2014 8:27 PM
Subject: Re:lilypond input filename access (Paul Morris)




Message: 8
Date: Sat, 30 Aug 2014 08:34:40 -0700 (PDT)
From: Paul Morris p...@paulwmorris.com
To: lilypond-user@gnu.org
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.




Could you let us have a copy of the working version, please?

--
Phil Holmes 



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


Re:lilypond input filename access (Paul Morris)

2014-08-30 Thread Patrick or Cynthia Karl

 Message: 8
 Date: Sat, 30 Aug 2014 08:34:40 -0700 (PDT)
 From: Paul Morris p...@paulwmorris.com
 To: lilypond-user@gnu.org
 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
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user