%% 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/repeat-dc-v-ds.ly"
\sourcefileline 0
\version "2.23.6"

\header {
  texidoc="When jumps to different targets occur simultaneously,
LilyPond ignores one and issues a warning.  Either a @emph{D.C.} or a
@emph{D.S.} instruction, but not both, is expected.  Unfolding is not
affected: this case unfolds to EGGEGG."
}

#(ly:set-option 'warning-as-error #t)
#(ly:expect-warning (ly:translate-cpp-warning-scheme
                     "conflict with event: `%s'") "dal-segno-event")
#(ly:expect-warning (ly:translate-cpp-warning-scheme
                     "discarding event: `%s'") "dal-segno-event")

piece = \new Voice \fixed c' {
  \repeat segno 2 {
    e1
    \repeat segno 2 {
      g1
    }
  }
}

\score { \piece }
\score { \unfoldRepeats \piece }



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