Gilles wrote:

Hi.

because Lilypond inserts a space between any two markup components.
I noticed that too, and I'd tend to consider this as a bug.
no, it's the intended behaviour of markup.

It could be possible to write a markup function that concatenates markup words, something like \concatenate { "sym" \eaigu "trique" }. I think such a function would be fairly easy to write, but I don't know because I haven't looked at the code. It might be a sponsorable feature.

Wouldn't it be more logical to do that by default, instead of having
to call a function explicitely to remove something (space) which wasn't
there in the first place?

The current behaviour is certainly logical and intuitive. Your proposal would
imply that a markup such as
\markup{\bold Allegro molto }
would appear as Allegromolto! Of course you are right that there should be
a way to concatenate markups. Some programming languages, like Java,
use a plus-sign or some other character to denote string concatenation,
sym + \eaigu + trique, but as Han-Wen would say, that's syntactic sugar.

In this particular case, it seems like a much better solution to use a text editor
that handles UTF-8, but that's of course another discussion.

  /Mats


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to