env-fold for Guile?

2010-02-10 Thread Carl Sorensen
I'm trying to look through all the bindings in a top-level environment and pull out any that include "-tuning" in their name. It appears to me that the bindings are stored in a hash table, and I ought to be able to do a fold procedure on a hash-table to check out all the bindings. But I can't fin

Re: Solution for including a file only once

2010-02-10 Thread Carl Sorensen
On 2/10/10 9:16 PM, "Michael J. O'Donnell" wrote: > > I have been hunting, so far in vain, for the code implementing \include, > in the hope that I can tweak that code to get the right behavior. It appears to me that \include is implemented in two places: 1) lily/lexer.ll, lines 304-336 2)

Re: Solution for including a file only once

2010-02-10 Thread Michael J. O'Donnell
My proposed solution behaves as though you had written { \include "MyFile.ly" } rather than the desired \include "MyFile.ly" Lots of simple debugging code works fine, but in the usual case where MyFile.ly is full of variable definitions, those definitions are not parsed in the outermo

Re: Determining location of the staff lines

2010-02-10 Thread Carl Sorensen
On 2/10/10 6:42 PM, "Eric Knapp" wrote: > > With this in mind, my string marker function needs to have all the > pitches and strings for a chord to determine where to draw the > markers. I'm envisioning a function that receives two lists and can > work out all the combinations. What I can't fig

Re: Determining location of the staff lines

2010-02-10 Thread Eric Knapp
On Wed, Feb 3, 2010 at 10:19 PM, Carl Sorensen wrote: > On 2/3/10 8:38 PM, "Carl Sorensen" wrote: > Just a little more detail on this.  Stencils are always placed in relative > mode, i.e. they are placed relative to other stencils.  They have an > X-parent and a Y-parent.  So it's only necessary

Re: LilyPond Report will be returning; submissions

2010-02-10 Thread Valentin Villenave
On Thu, Feb 11, 2010 at 1:28 AM, Graham Percival wrote: > I'm not going to bother with any of the cutesy fun stuff like > snippets, interviews, postcards, statistics... or pretty much > anything in the old ones.  My contribution will be a mostly > factual (possibly with grumpy editorializing) repo

LilyPond Report will be returning; submissions

2010-02-10 Thread Graham Percival
Hi all, Valentin and I are bringing back the LilyPond Report. The current plan is one issue every two months. If more people get involved, we might make it once a month. I'm not going to bother with any of the cutesy fun stuff like snippets, interviews, postcards, statistics... or pretty much a

Re: problem with right-edge extra-space after \stopStaff

2010-02-10 Thread Neil Puttock
On 9 February 2010 09:20, Marc Hohl wrote: > So \stopStaff does currently not end the line prematurely, but > simply tells lilypond not to draw the staff lines any further, right? Yes. If it did the former, you'd get an automatic line break, and you'd never be able to do a \stopStaff & \startSt

Creating Lilypond files with TablEdit

2010-02-10 Thread Matthieu Leschemelle
Hello, I'm the designer and programmer of TablEdit ( http://www.tabledit.com www.tabledit.com ). I wanted to inform you that TablEdit will be able to export Lilypond files in a near future. Your comments and suggestions are welcome. -- View this message in context: http://old.nabble.com/Creating

Re: Line breaking, simple-spacer, etc.

2010-02-10 Thread Trevor Daniels
Werner LEMBERG Wednesday, February 10, 2010 8:01 AM In define-markup-commands.scm, there are references to things like wordwrap-internal-markup-list and make-wordwrap-internal-markup-list. For example, in the function define-builtin-markup-list-command, there is the application (make-wordwra

Re: Scheme engraver structure questions

2010-02-10 Thread David Kastrup
Nicolas Sceaux writes: > Le 9 févr. 2010 à 21:32, David Kastrup a écrit : > >> If you really must, you should probably use make-procedure-with-setter >> in order to be able to use >> >> (define (engraver-method engraver 'initialize) ... > > According to: > > >

Re: Line breaking, simple-spacer, etc.

2010-02-10 Thread Werner LEMBERG
> In define-markup-commands.scm, there are references to things like > wordwrap-internal-markup-list and > make-wordwrap-internal-markup-list. For example, in the function > define-builtin-markup-list-command, there is the application > (make-wordwrap-internal-markup-list #t args). I can not fin