Re: embedded-ps stencil confusion

2008-10-03 Thread Mark Polesky
Ha! I figured it out... - Mark --- \version "2.11.61-1" squareNoteHeads = { \override Voice.NoteHead #'stencil = #(ly:make-stencil (list 'embedded-ps "gsave currentpoint translate BeginEPSF %%BeginDocument: newpath -0.5 -0.5 moveto -0.5 0.5 lineto 0.5

embedded-ps stencil confusion

2008-10-03 Thread Mark Polesky
Hi. I'd like to make my own stencils using PostScript commands, but the documentation on this topic isn't quite there yet, I guess. I don't understand how the "string" passed to 'embedded-ps is supposed to be formatted. I'm using the ps backend, and the relevant lines in /scm/output-ps.scm (line

Re: Does lilypond takes advantage of multi-cores on windows?

2008-10-03 Thread sdfgsdhdshd
Han-Wen Nienhuys-5 wrote: > > this option is mainly for lilypond-book use: it halves the time to > build the lilypond documentation on my dual core notebook. > This option is not used for musical scores? -- View this message in context: http://www.nabble.com/Does-lilypond-takes-advantage-o

Re: Does lilypond takes advantage of multi-cores on windows?

2008-10-03 Thread sdfgsdhdshd
Han-Wen Nienhuys-5 wrote: > > this option is mainly for lilypond-book use: it halves the time to > build the lilypond documentation on my dual core notebook. > This option is not used for musical scores? -- View this message in context: http://www.nabble.com/Does-lilypond-takes-advantage-o

Re: Does lilypond takes advantage of multi-cores on windows?

2008-10-03 Thread sdfgsdhdshd
Han-Wen Nienhuys-5 wrote: > > On Fri, Oct 3, 2008 at 4:33 PM, John Mandereau <[EMAIL PROTECTED]> > wrote: >> It may be possible to parallelize some portions of LilyPond code to take >> advantage of multi-core machines, which gradually become quite common, >> I'm tempted to have a look at it in

Re: Does lilypond takes advantage of multi-cores on windows?

2008-10-03 Thread Han-Wen Nienhuys
On Fri, Oct 3, 2008 at 1:45 PM, Anthony <[EMAIL PROTECTED]> wrote: >> No, lilypond will only use one core. That said, you would be able >> to compile multiple scores at once. > >> -djob-count=[number of cores] >> >> Regards, >> Neil > > I don't think that job count changes things when you process

Re: Does lilypond takes advantage of multi-cores on windows?

2008-10-03 Thread Han-Wen Nienhuys
On Fri, Oct 3, 2008 at 4:33 PM, John Mandereau <[EMAIL PROTECTED]> wrote: > It may be possible to parallelize some portions of LilyPond code to take > advantage of multi-core machines, which gradually become quite common, > I'm tempted to have a look at it in the next months, but don't hold your >

Re: Does lilypond takes advantage of multi-cores on windows?

2008-10-03 Thread Anthony W. Youngman
In message <[EMAIL PROTECTED]>, Graham Percival <[EMAIL PROTECTED]> writes On Fri, 3 Oct 2008 08:46:06 -0700 (PDT) sdfgsdhdshd <[EMAIL PROTECTED]> wrote: I'm about to buy a new PC with Windows Vista (shame on me), which will mainly be used to compile lilypond files, all day long. Will a du

Re: Notation Reference 1.8 "Text" : ready for review

2008-10-03 Thread Valentin Villenave
2008/10/3 Graham Percival <[EMAIL PROTECTED]>: > Be afraid. Be very afraid. :) I am. Why do you think it took me eight months to complete this section? :-) > - inspirational headword only uses \italics. Boring. (yeah, I > know it fits the theme of Beethoven stuff, but since NR 2 > doesn't al

Re: Does lilypond takes advantage of multi-cores on windows?

2008-10-03 Thread sdfgsdhdshd
john.mandereau wrote: > > It may be possible to parallelize some portions of LilyPond code to take > advantage of multi-core machines, which gradually become quite common, > I'm tempted to have a look at it in the next months, but don't hold your > breath :-) > Thanks for the info. As i have t

Re: Does lilypond takes advantage of multi-cores on windows?

2008-10-03 Thread John Mandereau
On 2008/10/03 11:14 -0700, sdfgsdhdshd wrote: > Anthony Boyd-2 wrote: > >> -djob-count=[number of cores] > > > > I don't think that job count changes things when you process a single > > input file though. If you specify multiple input files to process > > then lilypond will fork off into differen

Re: Does lilypond takes advantage of multi-cores on windows?

2008-10-03 Thread sdfgsdhdshd
Anthony Boyd-2 wrote: > >> -djob-count=[number of cores] > > I don't think that job count changes things when you process a single > input file though. If you specify multiple input files to process > then lilypond will fork off into different jobs to get the work done. > Are the new proces

Re: Does lilypond takes advantage of multi-cores on windows?

2008-10-03 Thread Patrick Horgan
Graham Percival wrote: No, since the -dhelp options change more often, and they're more advanced stuff anyway. If they continue to change frequently, it'd be a good target for a script building the documentation page from the output of the -dhelp Patrick __

Re: Does lilypond takes advantage of multi-cores on windows?

2008-10-03 Thread Graham Percival
On Fri, 3 Oct 2008 18:16:11 +0100 "Neil Puttock" <[EMAIL PROTECTED]> wrote: > 2008/10/3 <[EMAIL PROTECTED]>: > > > > Where is the doc about this option? i didn't find it in the > > command-line options doc. > > lilypond -dhelp ;) > > Perhaps we should document more of the command-line options.

Re: png cropping

2008-10-03 Thread Jonathan Kulp
Yes, that would probably do it. I'll see if I can sort any of it out tonight after the kids are in bed. Thanks for the suggestion, as always, Patrick. :) Jon Patrick Horgan wrote: Jonathan Kulp wrote: I've actually tried to do this. I booted into the Windows partition of my machine and in

Re: png cropping

2008-10-03 Thread Patrick Horgan
Francisco Vila wrote: 2008/10/3 Jonathan Kulp <[EMAIL PROTECTED]>: Patrick, you mentioned at some point along the way that it would have been better if I had started the whole thing in Python instead of bash. Would this also have made it easier to port to Windows? It wouldn't make it an

Re: Does lilypond takes advantage of multi-cores on windows?

2008-10-03 Thread Neil Puttock
2008/10/3 <[EMAIL PROTECTED]>: > > Neil Puttock wrote: >> -djob-count=[number of cores] > > Tx. > Where is the doc about this option? i didn't find it in the command-line > options doc. lilypond -dhelp ;) Perhaps we should document more of the command-line options. As Anthony points out though

Re: png cropping

2008-10-03 Thread Patrick Horgan
Jonathan Kulp wrote: I've actually tried to do this. I booted into the Windows partition of my machine and installed Cygwin and the netpbm package, but I had trouble finding the netpbm stuff from the Cygwin bash shell. The shell seemed very isolated from the rest of the machine, as I couldn't

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: Does lilypond takes advantage of multi-cores on windows?

2008-10-03 Thread Anthony
> On Fri, 3 Oct 2008 08:46:06 -0700 (PDT) > sdfgsdhdshd <[EMAIL PROTECTED]> wrote: > > No, lilypond will only use one core. That said, you would be able > to compile multiple scores at once. > -djob-count=[number of cores] > > Regards, > Neil I don't think that job count changes things when you

Re: Does lilypond takes advantage of multi-cores on windows?

2008-10-03 Thread Neil Puttock
2008/10/3 Graham Percival <[EMAIL PROTECTED]>: > On Fri, 3 Oct 2008 08:46:06 -0700 (PDT) > sdfgsdhdshd <[EMAIL PROTECTED]> wrote: > >> >> I'm about to buy a new PC with Windows Vista (shame on me), which >> will mainly be used to compile lilypond files, all day long. >> Will a duo-core or bette

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: Does lilypond takes advantage of multi-cores on windows?

2008-10-03 Thread Graham Percival
On Fri, 3 Oct 2008 08:46:06 -0700 (PDT) sdfgsdhdshd <[EMAIL PROTECTED]> wrote: > > I'm about to buy a new PC with Windows Vista (shame on me), which > will mainly be used to compile lilypond files, all day long. > Will a duo-core or better quad-core accelerate the compilations, > all others c

Administrivia - digests now working?

2008-10-03 Thread drl
I never got any response from the GNU postmaster or listmaster folks but I got a digest for lilypond-user today. If you reported about lack of digests as a problem to me directly or to the list in general, would you please confirm to me (not the list) that you also received a digest today. -- Dav

Re: Notation Reference 1.8 "Text" : ready for review

2008-10-03 Thread Graham Percival
On Thu, 2 Oct 2008 18:51:36 +0200 "Valentin Villenave" <[EMAIL PROTECTED]> wrote: > I'd like to declare that I officially don't feel competetent enough to > find anything more on my own to improve the 1.8 section of the > Notation Reference, aka "Text". Be afraid. Be very afraid. :) > So, I de

Does lilypond takes advantage of multi-cores on windows?

2008-10-03 Thread sdfgsdhdshd
I'm about to buy a new PC with Windows Vista (shame on me), which will mainly be used to compile lilypond files, all day long. Will a duo-core or better quad-core accelerate the compilations, all others characteristics being the same, including processor speed? Thank you. -- View this mess

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.

Re: Notation Reference 1.8 "Text" : ready for review

2008-10-03 Thread Jonathan Kulp
This is really good, Valentin! The examples are very clear and easy to understand. And although I've followed the thread on documentation design, this was the first significant time I'd spent looking at docs in the new design. It looks really nice. Thanks for all the work on design, guys!

Re: png cropping

2008-10-03 Thread Francisco Vila
2008/10/3 Jonathan Kulp <[EMAIL PROTECTED]>: > Patrick, you mentioned at some point along the way that it would have been > better if I had started the whole thing in Python instead of bash. Would > this also have made it easier to port to Windows? IMO yes, as for the script itself, and no, as fo

Re: stem direction \longa

2008-10-03 Thread Mats Bengtsson
Strange, it works find over here, both with versions 2.10 and 2.11 \version "2.10.33" \relative c'{ \time 4/1 c\longa c'' \stemUp c,, c'' \stemDown c,, c'' } However, if you use \override NoteHead #'style = #'baroque then the neo-mensural note head style is used for brevis, longa and maxima note