Re: [frogs] Re: Naming output files

2009-03-02 Thread Valentin Villenave
2009/3/2 Valentin Villenave : > Carl, Reinhold, should I open a tracker issue or will this fix get merged > soon? Oops -- just seen the new thread on -devel. My bad, forget it. Regards, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org ht

Re: [frogs] Re: Naming output files

2009-03-02 Thread Valentin Villenave
2009/2/26 Marek Klein : > > now it works as expected: > > (define counter-alist '()) > > (define (print-book-with parser book process-procedure) >   (let* >   ((paper (ly:parser-lookup parser '$defaultpaper)) >    (layout (ly:parser-lookup parser '$defaultlayout)) >    (output-suffix (

Re: [frogs] Re: Naming output files

2009-02-26 Thread Marek Klein
2009/2/26 Reinhold Kainhofer > > On Donnerstag, 26. Februar 2009 22:38:53 Marek Klein wrote: > >(output-count (assoc-ref counter-alist 'output-suffix)) > >(base (ly:parser-output-name parser)) > >(output-suffix (ly:parser-lookup parser 'output-suffix)) ) > > You need to re

Re: Naming output files

2009-02-26 Thread Marek Klein
Sorry, it is not working correctly yet (it does not count) 2009/2/26 Marek Klein > 2009/2/26 Reinhold Kainhofer > >> >> It would actually be quite simple to implement: In scm/lily-library.scm in >> the >> print- book-with function, instead of storing the file count as a number >> in >> 'out

Re: Naming output files

2009-02-26 Thread Marek Klein
2009/2/26 Reinhold Kainhofer > > It would actually be quite simple to implement: In scm/lily-library.scm in > the > print- book-with function, instead of storing the file count as a number in > 'output-count, store it in an alist (which is set as the 'output-count > parser > variable), with the s

Re: Naming output files

2009-02-26 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Donnerstag, 26. Februar 2009 schrieb Carl D. Sorensen: > > PS: Why do we call (string-regexp-substitute "[^a-zA-Z0-9-]" "_" output- > > suffix) on the suffix? This makes it impossible to use e.g. "Flöte" as > > the suffix, which is German for Flute!

Re: Naming output files

2009-02-26 Thread Carl D. Sorensen
On 2/26/09 3:32 AM, "Reinhold Kainhofer" wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Donnerstag, 26. Februar 2009 10:58:19 Mats Bengtsson wrote: >> The obvious follow-up question is, why you get the additional number >> even when the file name would >> be unique without th

Re: Naming output files

2009-02-26 Thread aabb
Thank you all for the replies. Alex Reinhold Kainhofer wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Donnerstag, 26. Februar 2009 10:58:19 Mats Bengtsson wrote: The obvious follow-up question is, why you get the additional number even when the file name would be unique without the

Re: Naming output files

2009-02-26 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Donnerstag, 26. Februar 2009 10:58:19 Mats Bengtsson wrote: > The obvious follow-up question is, why you get the additional number > even when the file name would > be unique without the number, i.e. when the output-suffix is set > differently for e

Re: Naming output files

2009-02-26 Thread Mats Bengtsson
Francisco Vila wrote: ... Is there a command I can add to a \book{} block to specify the output file name, or the suffix to add to the base name. E.g. to get files names such as: song-C.pdf song-Eb.pdf etc. The answer is in the manual, see Application Usage 3.2.1 http://lilypond.org/

Re: Naming output files

2009-02-26 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Donnerstag, 26. Februar 2009 10:45:46 Francisco Vila wrote: > 2009/2/26 aabb : > > I'm using multiple \book{} blocks to create multiple output files from > > the same source (to create versions transposed in different keys). By > > default the secon

Re: Naming output files

2009-02-26 Thread Francisco Vila
2009/2/26 aabb : > I'm using multiple \book{} blocks to create multiple output files from the > same source (to create versions transposed in different keys). By default > the second and subsequent books are named by adding suffix "-1", "-2", "-3", > etc. to the file name. For example, with source

Naming output files

2009-02-25 Thread aabb
I'm using multiple \book{} blocks to create multiple output files from the same source (to create versions transposed in different keys). By default the second and subsequent books are named by adding suffix "-1", "-2", "-3", etc. to the file name. For example, with source file "song.ly" I woul

Re: naming output files (maybe a feature request?)

2007-08-14 Thread Kieren MacMillan
I've occasionally wanted this kind of thing, but I don't believe it can be done right now. I've added it as a feature request, http://code.google.com/p/lilypond/issues/detail?id=404 Thanks! Kieren. ___ lilypond-user mailing list lilypond-user@gnu.

Re: naming output files (maybe a feature request?)

2007-08-14 Thread Graham Percival
I've occasionally wanted this kind of thing, but I don't believe it can be done right now. I've added it as a feature request, http://code.google.com/p/lilypond/issues/detail?id=404 Cheers, - Graham Kieren MacMillan wrote: Hi all, Is there any way to explicitly name the output files of a s

naming output files (maybe a feature request?)

2007-08-02 Thread Kieren MacMillan
Hi all, Is there any way to explicitly name the output files of a score? This is particularly a problem for me when I have multiple \book-s in a single .ly file -- the default file naming (file-1.pdf, file-2.pdf) is not very helpful. I would prefer to do something like: \book { #(set-o