Re: filename in markup

2011-03-16 Thread Trevor Daniels
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: m...@apollinemike.com To: -Eluze elu...@gmail.com Cc: lilypond-user@gnu.org Sent: Wednesday, March 16, 2011 12:36 AM Subject: Re: filename

Re: filename in markup

2011-03-16 Thread -Eluze
) 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 - Lilypond - User mailing list archive at Nabble.com. ___ lilypond

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 mean

Re: filename in markup

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

Re: filename in markup

2011-03-16 Thread m...@apollinemike.com
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

Re: filename in markup

2011-03-16 Thread -Eluze
. -- 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 http://lists.gnu.org/mailman

Re: filename in markup

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

Re: filename in markup

2011-03-15 Thread m...@apollinemike.com
: filename in markup 2011/3/11 MING TSANG tsan...@rogers.com 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

Re: filename in markup

2011-03-15 Thread -Eluze
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 mailing list lilypond-user@gnu.org http

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 correct file name?

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

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

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

Re: filename in markup

2011-03-11 Thread Marek Klein
2011/3/11 Dmytro O. Redchuk brownian@gmail.com 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

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 brownian@gmail.com Subject: Re: filename in markup To: Marek Klein

Re: filename in markup

2011-03-11 Thread Marek Klein
2011/3/11 MING TSANG tsan...@rogers.com 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

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 ma...@gregoriana.sk To: MING TSANG tsan...@rogers.com Cc: lilypond-user@gnu.org Sent: Fri, March 11, 2011 10:19:01 AM Subject: Re: filename in markup 2011/3/11

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