lilypond-user
[Top][All Lists]
Advanced

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

Re: filename in markup


From: Music Teacher
Subject: Re: filename in markup
Date: Sat, 12 Mar 2011 08:56:57 -0500

I dont understand all this Scheme stuff, but at least I understand

#( define comml    ( object->string ( command-line )))
#( define loc      ( + ( string-rindex comml #\space ) 2 ))
#( define commllen ( - ( string-length comml ) 2 ))
#( define filen    ( substring comml loc commllen ))

... that you should use a
concat { \pwd \filen }
when you have found the equivalent of pwd in Scheme.

Hope this helps...

Francois

2011/3/12, Dmytro O. Redchuk <address@hidden>:
> On Fri 11 Mar 2011, 07:57 MING TSANG wrote:
>> Thank you.
>>
>> Additional question:  Can the path of the file name be printed also?
> I'd say "yes"; i'd try to find the exact answer in guile's reference manual.
>
> Sorry, can not tell more.
>
> --
>   Dmytro O. Redchuk
>   Bug Squad
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>



reply via email to

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