Re: Scheme function and top-level markup

2022-05-27 Thread Simon Albrecht
Hi Jean, On 27/05/2022 12:34, Jean Abou Samra wrote: The solution for now is to use a plain Scheme function: Thanks a bunch for the solution and explanations, that does it! Best, Simon

Re: Scheme function and top-level markup

2022-05-27 Thread Simon Albrecht
Sorry for the garbled line breaks, I’ll try again: %%% \version "2.23.9" pieceTitle = #(define-scheme-function (str) (markup?)    #{ \markup \huge $str \noPageBreak    #}) \pieceTitle "I. Kyrie" { c'1 } % %%%

Re: Scheme function and top-level markup

2022-05-27 Thread Jean Abou Samra
Le 27/05/2022 à 12:21, Simon Albrecht a écrit : Hello everyone, I’m a bit surprised that the following doesn’t work and don’t know where to look for a solution. % \version "2.23.9" pieceTitle = #(define-scheme-function (str) (markup?)    #{ \markup \huge $str   

Scheme function and top-level markup

2022-05-27 Thread Simon Albrecht
Hello everyone, I’m a bit surprised that the following doesn’t work and don’t know where to look for a solution. % \version "2.23.9" pieceTitle = #(define-scheme-function (str) (markup?)    #{ \markup \huge $str \noPageBreak    #}) \pieceTitle "I. Kyrie" { c