%% Generated by lilypond-book
%% Options: [exampleindent=10.16\mm,indent=0\mm,line-width=160\mm]
\include "lilypond-book-preamble.ly"


% ****************************************************************
% Start cut-&-pastable-section
% ****************************************************************

#(ly:set-option 'eps-box-padding 3.000000)



\paper {
  indent = 0\mm
  line-width = 160\mm
  % offset the left padding, also add 1mm as lilypond creates cropped
  % images with a little space on the right
  line-width = #(- line-width (* mm  3.000000) (* mm 1))
}

\layout {
  
}




% ****************************************************************
% ly snippet:
% ****************************************************************
\sourcefilename "/lilypond-2.24.4/input/regression/recursive-text-replacement.ly"
\sourcefileline 0
\version "2.21.80"

\header {
  texidoc = "Parts of a string that are the result of an automatic replacement
are not processed themselves for replacements."
}

\paper {
  #(add-text-replacements!
    '(
      ; Test that no replacements are performed after the start of
      ; the replacement string.
      ("This should not appear!" . "This is good.")
      ("good." . "BAD!")
      ; Test that replacements where the replacement is shorter than
      ; the replaced string are not subject to further replacements.
      ("This should not appear either!" . "This is shorter.")
      ("This is shorter." . "BAD!")
     ))
}

\markup "This should not appear!"
\markup "This should not appear either!"



% ****************************************************************
% end ly snippet
% ****************************************************************
