This snippet just parses the command line.  It would be nice if there was a way 
to query the file attributes directly. I would expect that it should be simple 
to do.

Dave.  




________________________________
From: Trevor Daniels <t.dani...@treda.co.uk>
To: -Eluze <elu...@gmail.com>; lilypond-user@gnu.org
Sent: Wed, March 16, 2011 9:46:36 AM
Subject: Re: filename in markup


Eluze wrote Wednesday, March 16, 2011 12:31 PM

> m...@apollinemike.com wrote:
>> 
>> 
>> Could you confirm by running the attached two files using the following
>> command:
>> 
>> lilypond foo.ly bar.ly
>> 
>> When I do it, both of them use the "bar" filename.
>> If this works on Windows, then I take back all of the mean things I ever
>> said about the Windows command line.
>> 
> well, sorry for my premature statement: it only works in the sense that it
> compiles "correctly".
> but the result is as you stated: only the name of the latter file is shown!

Whoops, you're right!  I hadn't checked the pdfs.
I just looked at the console output.

Trevor



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to