Re: search and replace on all included files on compile

2024-03-06 Thread Michael Winter via LilyPond user discussion
perfect thanks! Mar 6, 2024, 14:35 by lilyp...@hillvisions.com: > On 2024-03-06 10:56 am, Michael Winter via LilyPond user discussion wrote: > >> I have a programmatically generated score and am now realizing that I want >> to make a small tweak to text markups that are throughout the score in

Re: search and replace on all included files on compile

2024-03-06 Thread Michael Winter via LilyPond user discussion
double thanks Mar 6, 2024, 14:36 by j...@abou-samra.fr: > > Try > > \version "2.24.2"\paper { #(add-text-replacements!'(("1↑" . "1")))}{ > c'^\markup "1↑" } > > Best, > > > Jean > >

Re: search and replace on all included files on compile

2024-03-06 Thread Jean Abou Samra
Try ``` \version "2.24.2" \paper { #(add-text-replacements! '(("1↑" . "1"))) } { c'^\markup "1↑" } ``` Best, Jean signature.asc Description: This is a digitally signed message part

Re: search and replace on all included files on compile

2024-03-06 Thread Aaron Hill
On 2024-03-06 10:56 am, Michael Winter via LilyPond user discussion wrote: I have a programmatically generated score and am now realizing that I want to make a small tweak to text markups that are throughout the score in multiple files that are included at multiple levels.  " 1↑"  replace with

Re: search and replace on all included files on compile

2024-03-06 Thread Michael Winter via LilyPond user discussion
Thanks Curt, Unfortunately, I have already manually edited to the extent that tweaking the generating program would result in a lot of lost work. Typically I try not to edit post generation, but that was not possible in this particular case. I am on arch linux. And yes, I am sure it would be po

Re: search and replace on all included files on compile

2024-03-06 Thread Curt McDowell
Michael, You mentioned that the score is programmatically generated. If so, can you modify the generating program and regenerate the score? Otherwise, a more complete example would be nice. Are you trying to do a simple string replacement of a few (unicode) characters, or are you trying to repla

search and replace on all included files on compile

2024-03-06 Thread Michael Winter via LilyPond user discussion
I have a programmatically generated score and am now realizing that I want to make a small tweak to text markups that are throughout the score in multiple files that are included at multiple levels.  " 1↑"  replace with " 1" (e.g. remove the up arrow when it is preceded by a 1) Is it possible t