As I didn't find support for ligatures (lilypond \[ and \]), I tried to
write scripts for that, using the similar scripts StartBeam and EndBeam
as sample:

;;; StartLigature
(d-DirectivePut-chord-prefix "Ligature" "\\[")
(d-DirectivePut-chord-display "Ligature"  "\\[")
(d-DirectivePut-chord-override tag DENEMO_OVERRIDE_AFFIX)
(d-RefreshDisplay)
(d-SetSaved #f)

;;; EndLigature
(d-DirectivePut-chord-postfix "Ligature" "\\]")
(d-DirectivePut-chord-display "Ligature"  "\\]")
(d-RefreshDisplay)
(d-SetSaved #f)

;;; DeleteLigatureDirective
(d-DirectiveDelete-chord "Ligature")
(d-SetSaved #f)

Unfortunately, the \[ is put between note and duration in the lilypond
code, not before the note. What do I do wrong?

Btw, while looking at the scripts I saw that DeleteBeamingDirective does
not have a (d-SetSaved #f). Shouldn't it have it? Or did I understand
something wrong?

Andreas

_______________________________________________
Denemo-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/denemo-devel

Reply via email to