1\version "2.21.80" 2 3\header { 4 texidoc = "Parts of a string that are the result of an automatic replacement 5are not processed themselves for replacements." 6} 7 8\paper { 9 #(add-text-replacements! 10 '( 11 ; Test that no replacements are performed after the start of 12 ; the replacement string. 13 ("This should not appear!" . "This is good.") 14 ("good." . "BAD!") 15 ; Test that replacements where the replacement is shorter than 16 ; the replaced string are not subject to further replacements. 17 ("This should not appear either!" . "This is shorter.") 18 ("This is shorter." . "BAD!") 19 )) 20} 21 22\markup "This should not appear!" 23\markup "This should not appear either!" 24