[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Accessing the name of the input file from inside LilyPond
From: |
Mike Solomon |
Subject: |
Re: Accessing the name of the input file from inside LilyPond |
Date: |
Fri, 11 Mar 2011 18:56:08 +0100 |
On Mar 11, 2011, at 6:52 PM, Graham Percival wrote:
> On Fri, Mar 11, 2011 at 06:33:43PM +0100, Mike Solomon wrote:
>> I'm trying to find a way to access the name of input file (i.e.
>> foo.ly) from inside LilyPond. I know that this information is
>> stashed in the parser (and thus accessible from music
>> functions), but I would like to use it in a markup. Is there a
>> way to get it from w/in markups?
>
> Dude, are you joking? Marek answered exactly this question in a
> different email thread this morning:
> http://lsr.dsi.unimi.it/LSR/Item?id=197
>
> Define them as scheme variables, export them as markup
> variables... go nuts with it.
>
> Cheers,
> - Graham
Ha! Sorry: order of events.
(1) Wake up, search online, can't find answer.
(2) Write e-mail, forget to send.
(3) Leave my apartment.
(4) Get home, send.
~Mike