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: Richard Shann
Subject: Re: [Denemo-devel] Multiple lilypond postfix
Date: Tue, 30 Dec 2008 16:53:42 +0000

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")
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






reply via email to

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