[Top][All Lists]

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

Re: Inputting special symbols

From: Mats Bengtsson
Subject: Re: Inputting special symbols
Date: Thu, 12 Jan 2006 12:41:20 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511

Gilles wrote:


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.


reply via email to

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