bug-lilypond
[Top][All Lists]
Advanced

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

Re: Inputting special symbols


From: Erik Sandberg
Subject: Re: Inputting special symbols
Date: Thu, 12 Jan 2006 13:20:02 +0100
User-agent: KMail/1.8.3

On Wednesday 11 January 2006 15.39, 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?
>
> > > And there is also the "reverse" behaviour:  Blank spaces at the
> > > beginning or end of double-quoted strings are trimmed.
> >
> > Sorry for not replying. I don't consider this a bug; that behaviour is
> > intended.
>
> Then, maybe could you explain the rationale behind the intention?
> I.e for outputting the opposite of the user's input:
>
>  1. Add a space where there was none

I think the current default behaviour is useful in situations like this:

{ c^ \markup { left \column { up down } right } }

or

{ c^ \markup { bla bla bla } }

>  2. Remove a space where the user wants one

I think this has to do with bounding box calculations, but I'm not sure.

-- 
Erik




reply via email to

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