lilypond-devel
[Top][All Lists]
Advanced

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

Syntactical question [was: Re: Call for help with bar lines]


From: Marc Hohl
Subject: Syntactical question [was: Re: Call for help with bar lines]
Date: Thu, 27 Sep 2012 08:54:08 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120827 Thunderbird/15.0

Am 26.09.2012 14:45, schrieb Thomas Morley:
[...]
Hi Marc,

an idea, don't know if it's really helpful:

>From 2.16.0-bar-line.scm, bar-glyph-alist:
The old definition of  bar "empty" was: ("empty" . (() . ()))
The old definition of  bar "" was: ("" . ("" . ""))
With regard to that, I have to make a distinction between
"" and '() in the new bar line interface.

What do you think would be better: using a symbol instead of '(),
so one can write

\defineBarLine "|" "|" 'none "|"

or using #f instead:

\defineBarLine "|" "|" #f "|"

or finally defining an "empty stencil" glyph:

\defineBarLine "|" "|" "x" "|"

(note that "" is not the same as "x", as Harm explained; "" draws a stencil with
zero width, "X" would draw *no* stencil at all).

I think I'll go for the second option, but lemme know what you think about it!

Regards,

Marc




reply via email to

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