Hello Werner, if you intend to create Markup- or Score-Section from Scheme you might want to directly invoke (add-text some-markup) and (add-score some-score). This would allow you to cleanly handle stuff like inserting multiple markups and scores at the same time from a bit of scheme code.
Inserting a top level score or markup calls the top-level-score/markup-handler, which defaults to doing the same thing. Cheers, Valentin 13.05.2022 13:05:05 Werner LEMBERG <w...@gnu.org>: > >>> On the other hand, a LilyPond input file containing only >>> >>> ``` >>> #(make-italic-markup "foo") >>> ``` >>> >>> prints nothing. I now wonder how I can modify the latter to make >>> it actually work – what is the 'appropriate hook'? >> >> s/#/$ > > This did the trick, thanks! Reading the documentation about '$' with > the benefit of hindsight explains it... > > > Werner