2016-04-07 0:55 GMT+02:00 Simon Albrecht <simon.albre...@mail.de>: > 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
Hi Simon, I agree the warning is enough, but wanted to add, even if we would consider a more verbose and detailed error massage the cause of the error might not be guessable that easy as Gianmaria suggests. Sorry, not being clear enough, Harm _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user