denemo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Denemo-devel] Multiple lilypond postfix


From: Jeremiah Benham
Subject: Re: [Denemo-devel] Multiple lilypond postfix
Date: Sun, 04 Jan 2009 10:23:09 -0600

On Tue, 2008-12-30 at 16:53 +0000, Richard Shann wrote:
> On Mon, 2008-12-29 at 20:24 +0000, Richard Shann wrote:
> > > query corresponding to the name used to set the field.
> > > (So query=display would return the display field of the LilyPond
> > > insert...) 
> > I think this is quite good - I'm implementing it in lilydirectives.c
> > Richard 
> Ok this is done and pushed to git.
> Generally the syntax is
> 
> (d-command "query=<property>")
> which will return a string containing the value of the named property.
> This corresponds to the syntax
> (d-command "<property>=<value>")
> which sets the property. Boolean #f is returned if there is an error.
> The only implementations are
> 
> (d-Open "filename=junk.denemo")
> which opens the file junk.denemo and
> (d-Open "query=filename") which returns the name of the currently opened
> file.
> And
> 
> (d-InsertLilyDirective "lily=directivetext")
> which inserts a lily directive and
> (d-InsertLilyDirective "query=lily")
> which retrieves it. I did wrong to choose a new name for the parameter
> in this last case, internally the field is called "directive" and I
> propose to change this now (before release). You can also set/query
> (d-InsertLilyDirective "query=display")


I inserted a lilydirective and a lily postfix to a note. Then I tried
(display (d-InsertLilyDirective "query=lily"))
(display (d-InsertLilyDirective "query=display"))

(display (d-InsertLilyPostfix "query=lily"))
(display (d-InsertLilyPostfix "query=display"))

Each time it return #f.

I am not sure how this is suppose to work. 

Jeremiah



> and
> (d-InsertLilyDirective "query=minpixels")
> 
> and there is a default parameter
> (d-Open "junk.denemo")
> and correspondingly (d-Open "query=")
> which can save typing...
> Richard
> 
> 
> 
> 
> _______________________________________________
> Denemo-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/denemo-devel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]