On Tue, 2015-09-22 at 18:13 +0200, Andreas Schneider wrote:
> I am confused by the behaviour of the object inspector.
on the contrary, you have been tipped off by the object inspector that
you have accidentally created two directives on this chord.
The line
(d-DirectivePut-chord-minpixels thevariant 20)
was not what you intended surely? This is creating a tag using the
content of the variable thevariant.
I expect you meant
(d-DirectivePut-chord-minpixels tag 20)
Richard
> 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
> [email protected]
> https://lists.gnu.org/mailman/listinfo/denemo-devel
_______________________________________________
Denemo-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/denemo-devel