Re: filename in markup

2011-03-16 Thread eluze
Am 16.03.2011, 15:36 Uhr, schrieb m...@apollinemike.com : (from Neil Puttock) foo = #(ly:parser-output-name parser) Cheers, Neil thanks, is it possible to get the file-extension, too? ___ lilypond-user mailing list lilypond-user@gnu.org http:

Re: filename in markup

2011-03-16 Thread -Eluze
iters it can not work properly. -- View this message in context: http://old.nabble.com/filename-in-markup-tp31123257p31164344.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org

Re: filename in markup

2011-03-16 Thread m...@apollinemike.com
should be > simple to do. > > Dave. > > From: Trevor Daniels > To: -Eluze ; 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.

Re: filename in markup

2011-03-16 Thread thehalpennys-lilypond
: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 >>

Re: filename in markup

2011-03-16 Thread Trevor Daniels
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 mea

Re: filename in markup

2011-03-16 Thread -Eluze
is filename in triple double-quotes like described in Usage (AU) for convert-ly - i could not find where this is mentioned in the docs. -- View this message in context: http://old.nabble.com/filename-in-markup-tp31123257p31162997.html Sent from the Gnu

Re: filename in markup

2011-03-16 Thread Trevor Daniels
to `bar.ps'... Converting to `./bar.pdf'... error: failed files: "bar.ly foo.ly" It works exactly the same in the bash shell that comes with mingw. Trevor - Original Message - From: To: "-Eluze" Cc: Sent: Wednesday, March 16, 2011 12:36 AM Subject: Re: file

Re: filename in markup

2011-03-15 Thread m...@apollinemike.com
On Mar 15, 2011, at 1:21 PM, -Eluze wrote: > > > m...@apollinemike.com wrote: >> >> >> One issue with this solution is that if you do batch processing from the >> command line: >> >> lilypond foo.ly bar.ly >> >> Then the solution no longer works. Is there a more secure way to get the >> cor

Re: filename in markup

2011-03-15 Thread -Eluze
orks perfectly for me (windows vista, LP version 2.13.53) -- View this message in context: http://old.nabble.com/filename-in-markup-tp31123257p31154468.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mail

Re: filename in markup

2011-03-15 Thread m...@apollinemike.com
On Mar 11, 2011, at 10:57 AM, MING TSANG wrote: > Thank you. > > Additional question: Can the path of the file name be printed also? > > > From: Marek Klein > To: MING TSANG > Cc: lilypond-user@gnu.org > Sent: Fri, March 11, 2011 10:19:01 AM > Subject: Re: fil

Re: filename in markup

2011-03-12 Thread Music Teacher
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 y

Re: filename in markup

2011-03-11 Thread Dmytro O. Redchuk
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 __

Re: filename in markup

2011-03-11 Thread MING TSANG
Thank you. Additional question: Can the path of the file name be printed also? From: Marek Klein To: MING TSANG Cc: lilypond-user@gnu.org Sent: Fri, March 11, 2011 10:19:01 AM Subject: Re: filename in markup 2011/3/11 MING TSANG How can I code this in

Re: filename in markup

2011-03-11 Thread Marek Klein
2011/3/11 MING TSANG > How can I code this in a .ly file? I am just interested in printing the > file name (if possible with the full path) on the bottom of a score sheet. > > Click on the picture (with the text) here: < http://lsr.dsi.unimi.it/LSR/Item?id=197> and you will find the code. Marek

Re: filename in markup

2011-03-11 Thread MING TSANG
How can I code this in a .ly file? I am just interested in printing the file name (if possible with the full path) on the bottom of a score sheet. >Message: 2 >Date: Fri, 11 Mar 2011 11:22:03 +0200 >From: "Dmytro O. Redchuk" >Subject: Re: filename in markup >To: M

Re: filename in markup

2011-03-11 Thread Marek Klein
2011/3/11 Dmytro O. Redchuk > On Fri 11 Mar 2011, 10:04 Marek Klein wrote: > > Hi all, > > is it possible to print name of current source file with markup or some > > title? > http://lsr.dsi.unimi.it/LSR/Item?id=197 ? > > Great!, Thank you! Marek ___ l

Re: filename in markup

2011-03-11 Thread Dmytro O. Redchuk
On Fri 11 Mar 2011, 10:04 Marek Klein wrote: > Hi all, > is it possible to print name of current source file with markup or some > title? http://lsr.dsi.unimi.it/LSR/Item?id=197 ? -- Dmytro O. Redchuk Bug Squad ___ lilypond-user mailing list lilypo

filename in markup

2011-03-11 Thread Marek Klein
Hi all, is it possible to print name of current source file with markup or some title? Thanks, Marek -- Marek Klein http://gregoriana.sk ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user