Re: Adding to header using module-define! and alist with markups

2021-12-03 Thread Nate Whetsell
🤦🏻‍♂️ That did it, thank you! > On Dec 3, 2021, at 12:07 PM, Jean Abou Samra wrote: > > Le 03/12/2021 à 18:04, Nate Whetsell a écrit : >> Thanks for your help! >> >> Using \justify as >> >> ``` >> \paper { >> scoreTitleMarkup = \markup { >>\column { >> \fromproperty #'header:piece >

Re: Adding to header using module-define! and alist with markups

2021-12-03 Thread Jean Abou Samra
Le 03/12/2021 à 18:04, Nate Whetsell a écrit : Thanks for your help! Using \justify as ``` \paper {  scoreTitleMarkup = \markup {    \column {      \fromproperty #'header:piece      \justify { #'header:instruction }    }  } } ``` may be on the right track, but this results in (for all cases):

Re: Adding to header using module-define! and alist with markups

2021-12-03 Thread Nate Whetsell
Thanks for your help! Using \justify as ``` \paper { scoreTitleMarkup = \markup { \column { \fromproperty #'header:piece \justify { #'header:instruction } } } } ``` may be on the right track, but this results in (for all cases): ``` test.ly:7:17: error: not a markup \just

Re: Adding to header using module-define! and alist with markups

2021-12-02 Thread David Kastrup
Nate Whetsell writes: > Thanks, but unfortunately using a backtick and commas seems to produce the > same output. If it’s helpful, here’s the same example with a backtick and > commas: > > ``` > \version "2.22.0" > > \paper { > scoreTitleMarkup = \markup { >\column { > \fromproperty #

Re: Adding to header using module-define! and alist with markups

2021-12-02 Thread Nate Whetsell
Thanks, but unfortunately using a backtick and commas seems to produce the same output. If it’s helpful, here’s the same example with a backtick and commas: ``` \version "2.22.0" \paper { scoreTitleMarkup = \markup { \column { \fromproperty #'header:piece \justify-field #'header:in

Re: Adding to header using module-define! and alist with markups

2021-12-02 Thread David Kastrup
Nate Whetsell writes: > I’m trying to programmatically add items to score headers from an alist. This > works when an item consists of just a string. I can’t seem to get this to > work when an item is a markup, no matter how the markup is entered. Is there > some way to store markups in an ali

Adding to header using module-define! and alist with markups

2021-12-02 Thread Nate Whetsell
I’m trying to programmatically add items to score headers from an alist. This works when an item consists of just a string. I can’t seem to get this to work when an item is a markup, no matter how the markup is entered. Is there some way to store markups in an alist, and then use those markups i