lilypond-user
[Top][All Lists]
Advanced

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

Re: Text centralized above a TextSpan


From: David Kastrup
Subject: Re: Text centralized above a TextSpan
Date: Wed, 23 Sep 2015 01:20:27 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Simon Albrecht <address@hidden> writes:

> I made an essay on a simpler input interface, which redefines
> \startTextSpan as a music function. That would be much preferable at
> least in my eyes. What do you think?
> (I hope there wouldn’t be any merge conflicts here…)
> However, I’m having a problem with this syntax: the attached file
> gives lots of
>
> "text-spanner-inner-text-lyric-mode.ly:615:5: error: wrong type for
> argument 3.  Expecting music, found #<Music function #<procedure #f
> (arg)>>
>   c1
>     \startTextSpan \lyricmode { ral -- len -- tan -- do }"
>
> upon compiling. And I don’t know what my mistake would be…

It's the last line before %%% EXAMPLES where you enter some strange
recursion.  You probably should first save the old value of
\startTextSpan in some differently named variable and use that.  But
really: reusing an existing command name is a bad idea to start with.

-- 
David Kastrup



reply via email to

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