lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Understanding marks in 2.24


From: Jean Abou Samra
Subject: Re: Understanding marks in 2.24
Date: Tue, 31 Jan 2023 22:48:54 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0

On 31/01/2023 22:33, Jean Abou Samra wrote:
> Uh, why did I just write this already? The latter wouldn't
> be a problem. assign_event_once uses "equal?" The former,
> with procedures, is indeed a problem.
> 
> Sorry for the noise.


Looking a bit more into define-markup-commands.scm, this
will occur at least with

\markup \score
\markup \score-lines
\markup \stencil
\markup \on-the-fly
\markup \with-string-transformer
\markup \if
\markup \unless

e.g.

<<
  \new Staff { \mark \markup A c' }
  \new Staff { \mark \markup A c' }
>>

vs.

<<
  \new Staff { \mark \markup \score { c' } c' }
  \new Staff { \mark \markup \score { c' } c' }
>>


Also, allowing several text marks at the same moment
is one of the root motivations for \textMark, so
deduplicating based on markup equality would feel
(IMHO) surprising.


Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]