On 17 September 2011 20:50, Jonathan Kulp <[email protected]> wrote:
>
> Sorry but first question has to be whether you ran "convert-ly" on all
> of your files to update them?

I just replied on the French users mailing list (where Colette asked
the same question) and that was my first question too!

Here is my reply:

line 25: replace
 \context Staff = vIbis {
by  \context Voice = vIbis {
(Voice instead of Staff)

Also add \voiceOne and \voiceTwo (and then back to \oneVoice when the
polyphonic passage is over) in order to have a better output.

Attached is a corrected (and commented) version of Colette's file.

NB : the vertical spacing has changed a lot between 2.12 and 2.14.
Please read carefully the Notation Reference, section NR 4.1.4
Flexible vertical spacing \paper variables.
http://lilypond.org/doc/v2.14/Documentation/notation/flexible-vertical-spacing-_005cpaper-variables.fr.html

Cheers,
Xavier

-- 
Xavier Scheuer <[email protected]>
\version "2.14.2"

#(set-global-staff-size 19)

\header {
  tagline = ##f
  title = "Boléro" 
  composer = "Maurice Ravel"
  arranger = "arr.C.Schermann"
}


global= {
  \time 3/4
  \key c \major
}

vIRavelBolero = \new Voice {
  \relative c'' {
    \set Staff.instrumentName = "Violon 1"
    \set Staff.shortInstrumentName = "v1"
    g, <d' d' e> <bes d d'> 
    <<
      {
        % XS: stems up, slurs up, etc.
        \voiceOne
        bes''4 ~ bes16 a( g f) bes( c) a( g)
        bes8 a16( g) bes4-> a16( bes a) g ~
      }
      % XS: \context Voice and NOT \context Staff !!
      \context Voice = "vIbis" {
        %XS: stems down, slurs down, etc.
        \voiceTwo
        g,,4 <d' d' e> <bes d d'> 	
        g4 <d' d' e> <bes d d'>
      }
    >>
    \oneVoice  % XS: back to normal (stems, slurs, etc.)
    <g e' c' g'>8-> r r4 r
    \bar"|."
  }
}


cbRavelBolero = \new Voice {
  \relative c' {
    \set Staff.instrumentName = "Contrebasse"
    \set Staff.shortInstrumentName = "cb"
    \clef bass
    c r g8 g
    c4 r g
    c r g8 g
    c8-> r r4 r
    \bar"|."
  }
}

RavelBolero = {
  <<
    \tag #'RavelBoleroEns \tag #'RavelBolerov1 \new PianoStaff << 
        \new Staff  << \global \vIRavelBolero >>
      >>
    \tag #'RavelBoleroEns \tag #'RavelBolerocb \new Staff {
      << \global \cbRavelBolero >>
    }
  >>
}


\score {
  \new StaffGroup \keepWithTag #'RavelBoleroEns \RavelBolero
  \header {
    piece = "Moderato assai"
  }
  %\midi { }
}

\layout { 
  \context { \Score
    % \override SpacingSpanner
    % #'base-shortest-duration = #(ly:make-moment 1 4) %espacement horizontal des portées
    % XS: deprecated!  % \override VerticalAxisGroup #'minimum-Y-extent =
    % #'(-4.5 . 4.5) %espacement vertical des systèmes  (défaut -4.4)
    % XS: vertical spacing between systems is now handled by
    % "system-system-spacing in the \paper block, see NR 4.1.4
    % "Flexible vertical spacing \paper variables"

    \override VerticalAxisGroup #'remove-first = ##t %enlever les mesures de pauses au 1er système
    % XS: deprecated!  % \override head-separation #'padding = #5 %change rien
    % XS: use "markup-system-spacing" in \paper (see NR 4.1.4)
    \override TextScript #'extra-offset = #'(-1 . 1) %place des notations comme "Da Capo", ...
    
  }
  \context {
    % XS: \RemoveEmptyStaffContext %retire les portées de silences
    % XS: is called now:
    \Staff
    \RemoveEmptyStaves
  }
  \context {
    \Voice
    \override Multi_measure_rest_engraver #'restNumberThreshold = #'(4)
  }
}



\paper {
  bookTitleMarkup =  \markup { 
    \override #'(baseline-skip . 3.5)% espace entre les markup mis en column(ici title and subtitle)
    \column {
      \bold { 
        \italic {    
          \fill-line { 
            \fontsize #7.0 { 
              \fromproperty #'header:title
            }
          }
          \fill-line { 
            \fontsize #5.0 {
              \fromproperty #'header:subtitle
            }
          }
          \fill-line { 
            \fontsize #4.0 {
              \fromproperty #'header:subsubtitle
            }
          }
          \fill-line { 
            \fontsize #1.5 { \transparent {"vive"}
              \fromproperty #'header:composer
            }	   
          }
          \fill-line { 
            \fontsize #1.5 { \transparent {"la musique"}  
              \fromproperty #'header:arranger
            }
          }
        }
      }
    }
  }

  scoreTitleMarkup = \markup { 
    \bold { 
      \italic { 
        \hspace #0 {%permet le positionnement
          \translate #(cons 5 0) {%positionne
            \pad-to-box #'(-1 . 1) #'(-1 . 1) { % esp hori autour des titres et esp vert. autour titres
              \fontsize #1.5 { \fromproperty #'header:piece } 
            }
          }
        }
      }
    }
  }
  horizontal-shift = #2.0 % décale vers la gauche pour les noms d'instruments, déf 0
  %line-width = #19\cm %déf paper size moins 20mm
  % XS: oddTitleMarkup = \markup
  % XS: ??  % before-line-breaking = ##t
  % XS: deprecated!  % before-title-space = #10 %déf:10 dist syst pièce d'avant-titre suivant
  % before-title-spacing -> top-markup-spacing
  % XS: deprecated!  % after-title-space = #20 %déf:5 dist titre-1er syst
  % after-title-space -> markup-system-spacing
  % XS: deprecated!  % page-top-space = #50 %déf:12 dist marge-centre du 1er syst,que pr les petites portées
  % page-top-space -> top-system-spacing
  top-margin = #20 %déf 5mm 
  bottom-margin = #15 %def 6mm
  left-margin = #12 %déf unset
  line-width = #190 %déf: paper-width(210mm en a4) moins 20mm
  % XS: deprecated!  % head-separation = #20 %déf:4mm dist 1er syst-page header
  % head-separation -> markup-system-spacing
  % XS: never seen!  % ragged-first-top = ##t
  % XS: never seen!  % ragged-top = ##f
  
  % espacement vertical:
  % XS: deprecated!  between-system-padding = #5 % déf 4mm dist entre les symbols des syst
  % XS: deprecated!  between-system-space = #20 %déf 20mm
  system-system-spacing =
    #'((basic-distance . 12)
       (minimum-distance . 8)
       (padding . 1)
       (stretchability . 60))
  ragged-bottom = ##f  %déf: f:systèmes étalés verticalement sur la page
  ragged-last-bottom = ##f %déf: t:syst pas étalés verticalnt dernière page
}
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to