Yet Another music macro proposal

2006-05-11 Thread Erik Sandberg
Hi, I have yet another suggestion for how \relative can be soft-coded in a generic way. It's inspired by criticism of earlier attempts. It's similar, but not identical, to a previous suggestion. Macros is that they operate on syntax, not on music. And the parser spits out music directly. So wh

Re: implementation plan for music streams

2006-05-11 Thread Erik Sandberg
On Thursday 11 May 2006 00:54, Han-Wen Nienhuys wrote: > 2006/5/10, Erik Sandberg <[EMAIL PROTECTED]>: > > Citerar Han-Wen Nienhuys <[EMAIL PROTECTED]>: > > > > Known issue: unfold-repeats will probably not work for percent > > > I don't understand this. unfold-repeats is on the front end, we can >

Re: (doc/language help) resp?

2006-05-11 Thread Werner LEMBERG
> Sorry, it was a French-ism, where it looks like the Swedish way: > "A, respectivement B, ..." In German we have the same: `A bzw. B' (where `bzw.' is short for `beziehungsweise'). Werner ___ lilypond-devel mailing list lilypond-devel@gnu.org

MergeKern: Failed to find kern info in file

2006-05-11 Thread Karl Hammar
(Current cvs) $ make ... make[1]: Entering directory `/home/karl/most/music/lilypond/head/mf' /usr/bin/fontforge -script ../buildscripts/pfx2ttf.fontforge /usr/X11R6/l... Copyright (c) 2000-2005 by George Williams. Executable based on sources from 12:08 5-Dec-2005. MergeKern: Failed

Re: configure does not check for python version >=2.4

2006-05-11 Thread Karl Hammar
> > Running whith e.g python 2.3.5 gives me: > > $ make > ... > make[1]: Entering directory `/home/karl/most/music/lilypond/head/scripts' > cat convert-ly.py | sed -e '#' -e '[EMAIL PROTECTED]@!/bin/sh!g' -e > '[EMAIL PROTECTED] > chmod 755 out/convert-ly > /usr/bin/perl /home/karl

Re: (doc help) scheme: why not start with define-music-function ?

2006-05-11 Thread Han-Wen Nienhuys
Mats Bengtsson schreef: A related question, how do you define a music function that takes a string or a markup as an argument? You don't. It has to take either a markup or a string. -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen LilyPond Software Design -- Code for

Re: what is 2.8.2?

2006-05-11 Thread Han-Wen Nienhuys
Thomas Bushnell BSG schreef: how is it that there are binary packages for some systems for 2.8.2, but no source? good point. I forgot to upload. -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen LilyPond Software Design -- Code for Music Notation http://www.lilypond-des

configure does not check for python version >=2.4

2006-05-11 Thread Karl Hammar
Running whith e.g python 2.3.5 gives me: $ make ... make[1]: Entering directory `/home/karl/most/music/lilypond/head/scripts' cat convert-ly.py | sed -e '#' -e '[EMAIL PROTECTED]@!/bin/sh!g' -e '[EMAIL PROTECTED] chmod 755 out/convert-ly /usr/bin/perl /home/karl/most/music/lilypond

Re: \displayMusic should begin with a newline

2006-05-11 Thread Paul Scott
Johannes Schindelin wrote: Hi, On Thu, 11 May 2006, Paul Scott wrote: Graham Percival wrote: But IIRC windows doesn't support pipes -- Sure it does. The original DOS came from some version of Unix. Redirection and pipes have always been there. I just taught their use this

Re: \displayMusic should begin with a newline

2006-05-11 Thread Johannes Schindelin
Hi, On Thu, 11 May 2006, Paul Scott wrote: > Graham Percival wrote: > > > But IIRC windows doesn't support pipes -- > Sure it does. The original DOS came from some version of Unix. > Redirection and pipes have always been there. I just taught their use > this week in a WXP class. At least

Re: \displayMusic should begin with a newline

2006-05-11 Thread Paul Scott
Graham Percival wrote: On 11-May-06, at 7:01 AM, Erik Sandberg wrote: On Thursday 11 May 2006 14:30, Graham Percival wrote: Processing `bug.ly' Parsing...(make-music 'SequentialMusic Try redirecting stderr and stdout to different files: lilypond bug.ly 2>err >out and you'll understand

what is 2.8.2?

2006-05-11 Thread Thomas Bushnell BSG
how is it that there are binary packages for some systems for 2.8.2, but no source? ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel

Re: Can't run GUB 2.9.4 on linux

2006-05-11 Thread Joe Neeman
On Fri, 12 May 2006 05:38, Han-Wen Nienhuys wrote: > 2006/5/11, Han-Wen Nienhuys <[EMAIL PROTECTED]>: > > > So it seems 2.8.1 is linked statically with libstdc++ and 2.9.4 isn't. > > > Is this intentional? > > > > No, there was a packaging error with GCC that slipped through in the > > installer. >

Re: (doc help) scheme: why not start with define-music-function ?

2006-05-11 Thread Mats Bengtsson
A related question, how do you define a music function that takes a string or a markup as an argument? For the documentation, we should include a list of predicates (is this the correct term) to use to specify the argument type for all commonly occuring arguments, including: Music expression -

Re: (doc/language help) resp?

2006-05-11 Thread Nicolas Sceaux
Mats Bengtsson <[EMAIL PROTECTED]> writes: > Graham Percival wrote: > >> What does resp mean? I'm guessing something like "and"? Is it >> Dutch, or Latin? >> >> "One can not feed the #:line (resp #:center, #:column) command with >> a variable ..." >> "One should use the make-line-markup (resp.,

Re: (doc help) scheme: why not start with define-music-function ?

2006-05-11 Thread Nicolas Sceaux
Graham Percival <[EMAIL PROTECTED]> writes: > In the current manual, define-music-function is introduced late in the > scheme chapter. I suspect that this is simply because > define-music-function is a more recent lilypond construct, and whoever > added it didn't want to disturb the existing mate

Re: Can't run GUB 2.9.4 on linux

2006-05-11 Thread Han-Wen Nienhuys
2006/5/11, Han-Wen Nienhuys <[EMAIL PROTECTED]>: > So it seems 2.8.1 is linked statically with libstdc++ and 2.9.4 isn't. Is this > intentional? No, there was a packaging error with GCC that slipped through in the installer. can you try the latest 2.9.4 build? thanks -- Han-Wen Nienhuys [EMAI

Re: \displayMusic should begin with a newline

2006-05-11 Thread Mats Bengtsson
Geoff Horton wrote: OK, I suppose that I could add that to the manual; it's easy enough on linux and OSX. But IIRC windows doesn't support pipes -- can I assume that anybody on windows would be using cygwin/bash ? I don't think so. There's not even a cygwin version of 2.8 available. You

Re: (doc help) 11.2, incomprehensible language

2006-05-11 Thread Mats Bengtsson
Since these details on the input and output of the Scheme functions are described in 11.2.3, we could skip it. Or reformulate it into something like: "Markups are implemented as special Scheme functions, that produce a Stencil object given a number of arguments." /Mats Graham Percival wrote

Re: \displayMusic should begin with a newline

2006-05-11 Thread Geoff Horton
OK, I suppose that I could add that to the manual; it's easy enough on linux and OSX. But IIRC windows doesn't support pipes -- can I assume that anybody on windows would be using cygwin/bash ? I don't think so. There's not even a cygwin version of 2.8 available. Or is there another way to ge

Re: \displayMusic should begin with a newline

2006-05-11 Thread Mats Bengtsson
Graham Percival wrote: OK, I suppose that I could add that to the manual; it's easy enough on linux and OSX. But IIRC windows doesn't support pipes -- can I assume that anybody on windows would be using cygwin/bash ? Or is there another way to get stdout and stderr in separate files on win

Re: \displayMusic should begin with a newline

2006-05-11 Thread Graham Percival
On 11-May-06, at 7:01 AM, Erik Sandberg wrote: On Thursday 11 May 2006 14:30, Graham Percival wrote: Processing `bug.ly' Parsing...(make-music 'SequentialMusic Try redirecting stderr and stdout to different files: lilypond bug.ly 2>err >out and you'll understand why the current behaviou

Re: (doc help) scheme: why not start with define-music-function ?

2006-05-11 Thread Mats Bengtsson
Sorry, I mean \displayMusic, nothing else. /Mats Graham Percival wrote: On 11-May-06, at 6:03 AM, Mats Bengtsson wrote: I would start with the last example of current 11.1.6 (or some other similar example(s)). Then, we can introduce the basics of how to replace some of the embedded LilyPo

Re: \displayMusic should begin with a newline

2006-05-11 Thread Erik Sandberg
On Thursday 11 May 2006 14:30, Graham Percival wrote: > A simple example of \displayMusic produces: > > spark:~/tmp gperciva$ lilypond bug.ly > GNU LilyPond 2.8.2 > Processing `bug.ly' > Parsing...(make-music >'SequentialMusic >'elements >(list (make-music >'EventChord >

Re: (doc help) quick check on C++ vs. scheme

2006-05-11 Thread Erik Sandberg
On Thursday 11 May 2006 14:22, Graham Percival wrote: > From 11.1.2 Internal music representation > > C++ object: Each music object is represented by a C++ object. For > technical reasons, different music objects may be represented by > different C++ object types. For example, a note is Event

Re: (doc help) scheme: why not start with define-music-function ?

2006-05-11 Thread Graham Percival
On 11-May-06, at 6:03 AM, Mats Bengtsson wrote: I would start with the last example of current 11.1.6 (or some other similar example(s)). Then, we can introduce the basics of how to replace some of the embedded LilyPond code with Scheme code to get more flexibility. Good, that was my intentio

Re: (doc/language help) resp?

2006-05-11 Thread Graham Percival
On 11-May-06, at 6:16 AM, Mats Bengtsson wrote: It's probably short for "respectively" and placed at the wrong place in the sentence. I don't know about Dutch, but in Swedish, we say something like "A respektive B" where you in English say "A and B, respectively". Thanks, fixed in CVS. - Gra

(doc help) 11.2, incomprehensible language

2006-05-11 Thread Graham Percival
11.2 Markup programmer interface Markups are implemented as special Scheme functions. When applied with as arguments an output definition (\layout or \paper), and a list of properties and other arguments, produce a Stencil object. * Markup construction in Scheme * How markups work int

Re: (doc/language help) resp?

2006-05-11 Thread Mats Bengtsson
It's probably short for "respectively" and placed at the wrong place in the sentence. I don't know about Dutch, but in Swedish, we say something like "A respektive B" where you in English say "A and B, respectively". /Mats Graham Percival wrote: What does resp mean? I'm guessing something l

(doc/language help) resp?

2006-05-11 Thread Graham Percival
What does resp mean? I'm guessing something like "and"? Is it Dutch, or Latin? "One can not feed the #:line (resp #:center, #:column) command with a variable ..." "One should use the make-line-markup (resp., make-center-markup or make-column-markup) function..." This word certainly doesn't

Re: (doc help) scheme: why not start with define-music-function ?

2006-05-11 Thread Mats Bengtsson
I would start with the last example of current 11.1.6 (or some other similar example(s)). Then, we can introduce the basics of how to replace some of the embedded LilyPond code with Scheme code to get more flexibility. This second step, of course, is an excellent example of how to use \displaySche

(doc help) scheme: why not start with define-music-function ?

2006-05-11 Thread Graham Percival
In the current manual, define-music-function is introduced late in the scheme chapter. I suspect that this is simply because define-music-function is a more recent lilypond construct, and whoever added it didn't want to disturb the existing material. Is that correct? I'm revising the chapte

\displayLilyMusic should also have a newline.

2006-05-11 Thread Graham Percival
Sorry, I didn't check this before sending the earlier message. Parsing...{ a, cis e fis g } => Parsing... { a, cis e fis g } Cheers, - Graham ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-deve

\displayMusic should begin with a newline

2006-05-11 Thread Graham Percival
A simple example of \displayMusic produces: spark:~/tmp gperciva$ lilypond bug.ly GNU LilyPond 2.8.2 Processing `bug.ly' Parsing...(make-music 'SequentialMusic 'elements (list (make-music 'EventChord 'elements (list (make-music ... IMO, it would be much nicer

(doc help) quick check on C++ vs. scheme

2006-05-11 Thread Graham Percival
From 11.1.2 Internal music representation C++ object: Each music object is represented by a C++ object. For technical reasons, different music objects may be represented by different C++ object types. For example, a note is Event object, while \grace creates a Grace_music object. We expe

ps changes betweeen 2.7.29 and 2.8.2 broke tabloid booklet

2006-05-11 Thread Graham Percival
I produce tabloid booklets of my music (fold tabloid sheet in half to get letter-sized pages). The method I use to produce them currently does not work; it worked in 2.7.29. I'm not certain if any ps changes went into 2.9 but not 2.8.2. 1) use lilypond-book to produce normal ps and pdf. (we

Re: Can't run GUB 2.9.4 on linux

2006-05-11 Thread Han-Wen Nienhuys
Joe Neeman schreef: I'm trying to install the GUB 2.9.4-1 on gentoo linux (amd64, but with a bunch of x86 compatibility libs). I get $ LD_LIBRARY_PATH=/home/joe/oldlilypond/usr/lib/ /home/joe/oldlilypond/usr/bin/lilypond /home/joe/oldlilypond/usr/bin/lilypond: /usr/lib/gcc/x86_64-pc-linux-gnu/3.