On 2021-11-02 8:23 am, R. Padraic Springuel wrote:
On Oct 31, 2021, at 6:02 PM, David Kastrup <d...@gnu.org> wrote:
If the ugliness of juxtaposition is ok, you may use things like
\,\man
for concatenating stuff, too.
Not sure if this was already suggested, but could you use something like
this to concatenate arbitrary markup?
%%%%
"\+" =
#(define-scheme-function
(first second) (markup? markup?)
#{ \markup \concat { #first #second } #})
foo =
#(let ((idx 0))
(define (inc) (set! idx (1+ idx)) idx)
(define-scheme-function () ()
#{ \markup $(format #f "~r" (inc)) #}))
{ b'4 4 4 4 }
\addlyrics { \+ \foo , \+ \foo , and \+ \foo ! }
%%%%
-- Aaron Hill