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: Tue, 9 Aug 2016 20:22:54 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.1.0

I have written the following simple scheme scripts to insert ligatures:

ToggleStartLigature.scm:
(ToggleDirective "chord" "prefix" (cons "Ligature"  "(lig") "\\[ " )

ToggleEndLigature.scm:
(ToggleDirective "chord" "postfix" (cons "Ligature"  "lig)") " \\]" )

However, they do not work as desired. In the attachment, you find a
sample file for the use. I get the Lilypond code
 a'\[ 2( b' \]\AutoBarline
 c''2) a' \AutoEndMovementBarline
which gives an error. What I want is
 \[ a'2( b' \]\AutoBarline
 c''2) a' \AutoEndMovementBarline
which compiles correctly. What is the correct version of the scripts?

Andreas

Attachment: test.denemo.bz2
Description: application/bzip


reply via email to

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