Simon Albrecht <simon.albre...@mail.de> writes:

> On 08.03.2016 22:06, Michael Rivers wrote:
>> Thanks for the solutions. I'm OK with an error message!
>
> Or you can insert
>
> #(ly:expect-warning "strange")
>
> in your source.
Here is a warning-less version:

\version "2.19.28"

show =
#(define-music-function (mup item) (markup? symbol-list-or-music?)
  (propertyTweak 'stencil
   (lambda (grob)
    (grob-interpret-markup grob mup))
   item))

\relative c' \new Staff {
  \show \markup \compound-meter #'(4 . 3)
  \time 3/4
  c4 c c | c c c
}
Maybe we should have \show (possibly with a different name) as a nice
supplement to \omit/\hide.

-- 
David Kastrup
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to