Apparently, top-level markups are interpreted with \paper, although
grob-interpret-markup interprets with a real \layout?


\version "2.24.0"

#(define-markup-command (whats-layout layout props) ()
   (interpret-markup layout props (symbol->string (ly:output-def-lookup layout 'output-def-kind))))

\markup \whats-layout

{
  c'^\markup \whats-layout
}



Le 08/01/2023 à 17:06, David Kastrup a écrit :
Frankly, I don't get the "layout" parameter in markup.


Me neither. The whole output def setup is quite messy.

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to