2.24 medium = \normal-weight in 2.26

Richard Shann <[email protected]>
Newsgroups gmane.comp.gnu.lilypond.general
Message-ID <[email protected]>
Is there a way of putting something like
 medium = \normal-weight
in a header file to convert from uses of \medium in markup in LilyPond
2.24 to pass 2.26 (so as to aviud going through physically replacing
\medium with \normal-weight?)
The above doesn't work, I guess because it's being invoked inside
markup...
Here's an MWE
%%%%%%%%%%%%%%
\version "2.26"
%medium = \normal-weight
{
  
  c''1
       \mark \markup {\bold { bold \medium unbold1}}
             
 c''1
       \mark \markup {\bold { bold \normal-weight unbold2}}
}
%%%%%%%%%%%%%%
Only the second markup is valid in 2.26 and uncommenting the definition
doesn't make the first valid.

Richard
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.