lilypond-user
[Top][All Lists]
Advanced

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

Re: chordmode and markup


From: Simon Albrecht
Subject: Re: chordmode and markup
Date: Thu, 7 Apr 2016 00:55:58 +0200

On 07.04.2016 00:49, Thomas Morley wrote:
3 Would it be possible to write in the compiler error a hint for the user?
Something like:

     Error: markup outside of text script or \lyricmode
       \chordmode {c} _\markup {test}

     Maybe you want to do
       \chordmode{c _\markup {test}}
     ?

If I run the wrong example, I get
document.ly:3:18: error: markup outside of text script or \lyricmode
   \chordmode {c}
                  \markup {test}
and no markup shows up. I’d say that’s enough hints.

Best, Simon
And how to distinguish from
\chordmode {c} \markup {test}
which is viable code?
So no error at all.
Guessing what a user may have intended is very difficult task.

Who did you direct that to? I wanted to confirm that the warning now given was enough.

Best, Simon



reply via email to

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