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 <brownian....@gmail.com>:
> 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
> 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