[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: |
Graham Percival |
Subject: |
Re: Accessing the name of the input file from inside LilyPond |
Date: |
Fri, 11 Mar 2011 17:52:30 +0000 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
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