[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Markup-Command shortcut
From: |
David Kastrup |
Subject: |
Re: Markup-Command shortcut |
Date: |
Thu, 09 Apr 2020 21:32:47 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
foxfanfare <address@hidden> writes:
> But I don't understand, why is that shortcut also not working then?
>
> #(define-markup-command (subUp layout props f1 f2)
> (string? string?)
> (interpret-markup layout props
> #{
> \markup {
> \overtie \line { \concat { #f1 \hspace #0.15 #f2 } }
> }
> #}))
>
> subst = \finger \markup \subUp \etc
>
> \relative c' {
> c1\finger \markup \subUp "1" "2"
> c\subst "1" "2"
> }
A design decision turning \markup \subUp \etc into a markup function of
its own, then calling \finger with that.
In short, \etc is acting less greedy than expected here. In order to
allow for less greediness in some applications (like with \markupMap)
one would likely want something explicit, but I don't have a definite
idea for that right now.
--
David Kastrup