Re: New lyrics trick available in 2.9.6

2006-05-29 Thread Graham Percival
Neat trick! I've added it to the manual. An example without tags might be useful to help explain it (although in practice this trick is probably better with tags); people interested in vocal music are invited to improve this section. :) Cheers, - Graham On 28-May-06, at 3:38 PM, Erik Sandb

Re: New lyrics trick available in 2.9.6

2006-05-29 Thread Erik Sandberg
On Tuesday 30 May 2006 08:16, Werner LEMBERG wrote: > > However, this looks like a nice solution, even though the name > > DevNull only makes sense to UNIX hackers. > > Indeed. This could be renamed to `Nirvana', to have an international > background -- we already use `Harakiri' (which should be c

Re: New lyrics trick available in 2.9.6

2006-05-29 Thread Werner LEMBERG
> However, this looks like a nice solution, even though the name > DevNull only makes sense to UNIX hackers. Indeed. This could be renamed to `Nirvana', to have an international background -- we already use `Harakiri' (which should be called `Seppuku', BTW, because Japanese normally use the Chin

Re: New lyrics trick available in 2.9.6

2006-05-29 Thread Mats Bengtsson
I seem to remember that you or somebody else came up with another solution to the same problem some time ago, using \addquote. However, this looks like a nice solution, even though the name DevNull only makes sense to UNIX hackers. One standard situation where this would be useful is instrument

make web fails

2006-05-29 Thread Erik Sandberg
Hi, Using gs 8.50 from 2.8.3 GUB, I get the error below with make web. I have set GS_LIB and PATH as I should (GS_LIB=/usr/local/lilypond/usr/share/ghostscript/8.50/lib/; which gs says /usr/local/lilypond/usr/bin/gs.) If I retry without doing make web-clean, make web finishes successfully. Er

Re: Updated parser patch

2006-05-29 Thread Han-Wen Nienhuys
Erik Sandberg schreef: Can you make it accept arbitrary arguments in the spirit of (format ..)? you will have to change argument order, of course. Hm, then input has to be non-optional. Why not just let the caller use _? Good point. Error messages have to be internationalized anyway. -- Ha

Re: music events vs stream events

2006-05-29 Thread Erik Sandberg
On 5/29/06, Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote: Erik Sandberg schreef: > On 5/29/06, Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote: > Your example does however illustrate a different problem: There will > have to be some kind of distinction between music functions that > return music and str

Re: Updated parser patch

2006-05-29 Thread Erik Sandberg
On 5/29/06, Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote: Erik Sandberg schreef: > +LY_DEFINE (ly_parser_error, "ly:parser-error", > +2, 1, 0, (SCM parser, SCM msg, SCM input), > +"Display an error message, and make the parser fail") > +{ > + Lily_parser *p = unsmob_lily_parser (pa

Re: music events vs stream events

2006-05-29 Thread Han-Wen Nienhuys
[ccing list for general education] Erik Sandberg schreef: On 5/29/06, Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote: Erik Sandberg schreef: > One way to achieve this change would be to provide a music type Event, which > wraps around a stream event and reports it, and to let the elements of > E

Re: Yet another 2 patches for music streams

2006-05-29 Thread Han-Wen Nienhuys
Erik Sandberg schreef: On Monday 22 May 2006 11:47, Han-Wen Nienhuys wrote: Erik Sandberg schreef: + if (start_moment_.main_part_.is_infinity () && start_moment_ < 0) +start_moment_ = now; + I don't understand. What is this for? I remember now. When I streamified Score::Prepare, I intr

Re: music events vs stream events

2006-05-29 Thread Han-Wen Nienhuys
Erik Sandberg schreef: One way to achieve this change would be to provide a music type Event, which wraps around a stream event and reports it, and to let the elements of EventChord be a list of stream events instead of music (which of course means that EventChord's 'elements will be renamed t

Re: Updated parser patch

2006-05-29 Thread Han-Wen Nienhuys
Erik Sandberg schreef: Hi, The attached patch is an updated version of the previous parser patch. News: - new syntax rule for property settings - The music function handler now signals errors through the parser. I have added a new function ly:parser-error, which music functions can use to sign

Re: interactive Lilypond

2006-05-29 Thread Guido Amoruso
Il giorno dom, 28/05/2006 alle 16.03 +0200, Nicolas Sceaux ha scritto: > Guido Amoruso <[EMAIL PROTECTED]> writes: > > > 2. Creation of music expression. I'd like to be able to do something > >like > > > > "(define music (parse-string "{c'' dd'}")" > > > >in order to build scores bot