Re: generating pdf and png but no ps

2008-10-03 Thread Jonathan Kulp
Ah, I understand now. That's nice of you to say... Surely your choir would never mess anything up? :) Jon On Fri, Oct 3, 2008 at 11:19 AM, Alexander Kobel <[EMAIL PROTECTED]> wrote: > > > I didn't dig into your script at all (although I probably will some > time); my "reinvention of the wheel"

Re: generating pdf and png but no ps

2008-10-03 Thread Alexander Kobel
Jonathan Kulp wrote: > [...] > I suppose you could say it's a reinvention of the wheel, but this wheel > rides more smoothly for me :) I didn't dig into your script at all (although I probably will some time); my "reinvention of the wheel" merely refers to my longish post a few minutes before, wit

Re: generating pdf and png but no ps

2008-10-03 Thread Jonathan Kulp
Are you wondering what my lily2image project is about? Well, 1) me learning how to script (biggest reason of all, probably, since this started out only as something I was going to use myself and evolved into something much more complicated) 2) creating musical examples (by which I mean image

Re: generating pdf and png but no ps

2008-10-03 Thread Alexander Kobel
Jonathan Kulp wrote: > [...] > Your situation is perfectly suited for the script that Patrick Horgan > and I wrote. [...] These are the moments when I think I should set up my own little project where I can reinvent the wheel for all basic stuff on myself. I'm just missing an idea what this project

Re: generating pdf and png but no ps

2008-10-03 Thread Sebastian Menge
Am Fri, 03 Oct 2008 16:13:30 +0200 schrieb Alexander Kobel <[EMAIL PROTECTED]>: > > Is there a simple way to see (e.g. from the shell or an external > > programming language) how many png-pages lilypond produced? > Well, three things come into my mind. > > > --png produces file-page1.png file-pag

Re: generating pdf and png but no ps

2008-10-03 Thread Jonathan Kulp
Sebastian, Your situation is perfectly suited for the script that Patrick Horgan and I wrote. Now, the script also crops the extra white space off, so you might need to edit the script a bit if you don't want the margins cropped off. Just look for the part in the loop that uses pnmcrop. It

Re: generating pdf and png but no ps

2008-10-03 Thread Alexander Kobel
Sebastian Menge wrote: > How can I generate pdf and png but no ps? AFAIK for what you want, no; LilyPond needs the PS for PDF output. IIRC, recently there was a discussion about implementing a switch to automatically delete the intermediate PS, but currently there is none. So you'll have to call a

Re: generating pdf and png but no ps

2008-10-03 Thread Sebastian Menge
Am Fri, 3 Oct 2008 15:56:05 +0200 schrieb "Gilles THIBAULT" <[EMAIL PROTECTED]>: > > How can I generate pdf and png but no ps? > Try > #(ly:set-option 'delete-intermediate-files #t) Yeah. that's exactly what I was looking for: lilypond -d delete-intermediate-files=#t test.ly does the job

Re: generating pdf and png but no ps

2008-10-03 Thread Gilles THIBAULT
How can I generate pdf and png but no ps? Try #(ly:set-option 'delete-intermediate-files #t) Gilles ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user

Re: generating pdf and png but no ps

2008-10-03 Thread Sebastian Menge
Am Fri, 3 Oct 2008 16:31:08 +0300 schrieb "Dmytro O. Redchuk" <[EMAIL PROTECTED]>: > 2008/10/3 Gilles Sadowski <[EMAIL PROTECTED]>: > > Hi. > > >> Can I adjust resolution of the png? I just need thumbnails. > > > > $ convert file.png -resize 120 file_resized.png > Probably, lilypond -dresolution

Re: generating pdf and png but no ps

2008-10-03 Thread Sebastian Menge
Am Fri, 3 Oct 2008 14:38:39 +0200 schrieb Sebastian Menge <[EMAIL PROTECTED]>: > How can I generate pdf and png but no ps? > > Can I adjust resolution of the png? I just need thumbnails. > > Is there a simple way to see (e.g. from the shell or an external > programming language) how many png-pag

Re: generating pdf and png but no ps

2008-10-03 Thread Dmytro O. Redchuk
2008/10/3 Gilles Sadowski <[EMAIL PROTECTED]>: > Hi. >> Can I adjust resolution of the png? I just need thumbnails. > > $ convert file.png -resize 120 file_resized.png Probably, lilypond -dresolution can help, too. >> Is there a simple way to see (e.g. from the shell or an external >> programming

Re: generating pdf and png but no ps

2008-10-03 Thread Gilles Sadowski
Hi. > How can I generate pdf and png but no ps? $ lilypond file.ly GNU LilyPond 2.10.33 Processing `file.ly' Parsing... Interpreting music... [2] Preprocessing graphical objects... Layout output to `file.ps'... Converting to `file.pdf'... $ rm file.ps > Can I adjust resolution of the png? I just

Re: generating pdf and png but no ps

2008-10-03 Thread Tim Slattery
Sebastian Menge <[EMAIL PROTECTED]> wrote: >Hi > >How can I generate pdf and png but no ps? AFAIK, you can't. My understanding is that Lilypond generates the *.ps first, then converts that to *.pdf. You could write a script that invokes the program then deletes the *.ps file. -- Tim Slattery [E

generating pdf and png but no ps

2008-10-03 Thread Sebastian Menge
Hi How can I generate pdf and png but no ps? Can I adjust resolution of the png? I just need thumbnails. Is there a simple way to see (e.g. from the shell or an external programming language) how many png-pages lilypond produced? Thanks, Sebastian.