denemo-devel
[Top][All Lists]
Advanced

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

[Denemo-devel] Ligatures


From: Andreas Schneider
Subject: [Denemo-devel] Ligatures
Date: Fri, 09 Nov 2012 23:21:37 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.10) Gecko/20121027 Icedove/10.0.10

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



reply via email to

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