[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Denemo-devel] Question on the object inspector
From: |
Richard Shann |
Subject: |
Re: [Denemo-devel] Question on the object inspector |
Date: |
Tue, 22 Sep 2015 17:43:07 +0100 |
Oh, and does setting minpixels do anything? It gives the space for
standalone directives but I don't recall if it has a function for chord
directives...
Richard
On Tue, 2015-09-22 at 18:13 +0200, Andreas Schneider wrote:
> I am confused by the behaviour of the object inspector. When I open the
> object inspector on the note in the chord staff of the attached file, it
> shows two entries: One with name "Chord Variant (Chord staff)" (the
> label of the command I used to create it, see script below) and one with
> "/e", although I only created one object. The entry "/e" only has a tag
> entry. I find this confusing. Can you please explain the intention of
> this behaviour?
>
> Thanks
>
> Andreas
>
>
>
> ;;;ChordVariant
> (let ((tag "ChordVariant")(thevariant ""))
> (if (d-Directive-chord? tag)
> (d-DirectiveDelete-chord tag)
> (begin
> (d-DirectivePut-chord-prefix tag "\\chordmode{ ")
> (d-DirectivePut-chord-postfix tag "}")
> (set! thevariant (d-GetUserInput "Chord Symbols" "Give chord modifier
> text (without the colon):" ""))
> (disp thevariant)
> (d-DirectivePut-chord-postfix tag (string-append ":" thevariant "} "))
> (d-DirectivePut-chord-override tag DENEMO_OVERRIDE_AFFIX)
> (d-DirectivePut-chord-minpixels thevariant 20)
> (d-DirectivePut-chord-display tag thevariant)
> )
> )
> (d-RefreshDisplay)
> (d-SetSaved #f)
> )
> _______________________________________________
> Denemo-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/denemo-devel