Pb de sortie de parties séparées dans un conducteur

Bonsoir a tous.

Je veux ecrire un conducteur et joindre dans un book séparé les partitions par instrument.

la ou je rencontre des soucis c'est dans l'affichage des sous-titres dans le book des partitions par instrument.

Plutôt qu'un grand discourt j'ai préparé 2 fichiers:

fichier un Instrumen****t:

\version "2.24.1"
#(set-global-staff-size 16) %taille des portées
\include "lilyjazz.ily"
%----------------------------------------
\paper
{
oddFooterMarkup = \markup {\override #'(font-name . "Lilyjazz-text")\fontsize #0.4 \fill-line { \fromproperty #'header:title } }
print-page-number = ##t
oddHeaderMarkup =
\markup
{
\if \should-print-page-number
{\fill-line { \null \concat { \fromproperty #'page:page-number-string "/" \page-ref #'theLastPage "00" "?"} } }
}
evenHeaderMarkup =
\markup
{
\if \should-print-page-number
{\fill-line { \concat { \fromproperty #'page:page-number-string "/" \page-ref #'theLastPage "00" "?"} \null }}
}
print-all-headers = ##t
}
%------------------------------------------
Global=
{
\numericTimeSignature
\set Score.rehearsalMarkFormatter = #format-mark-box-alphabet
\time 4/4
\override MultiMeasureRest.expand-limit = #1
\override Staff.TimeSignature.color = #darkblue
\override Staff.KeySignature.color = #darkred
\override Glissando.style = #'zigzag
}
%---------------------------------------------
IBWestern =
\relative c
{
c1
}
%-------------------------------------
IIBJust =
\relative c
{
d1
}
%---------------------------------------------------
IIIBPlay =
\relative c
{
e1

}
%--------------------------------------
IVBSan =
\relative c
{
g1
}
%----------------------------------
VBFinal =
\relative c
{
f1
}
%----------------------------------------------
\book
{
\bookOutputName "The Universal Band Collection (basse)"
%---------------------------------------
\paper
{
oddHeaderMarkup =
\markup
{
\if \should-print-page-number
{\fill-line { \null \concat { \fromproperty #'page:page-number-string "/" \page-ref #'theLastPage "00" "?"} } }
}
evenHeaderMarkup =
\markup
{
\if \should-print-page-number
{\fill-line { \concat { \fromproperty #'page:page-number-string "/" \page-ref #'theLastPage "00" "?"} \null }}
}
oddFooterMarkup = \markup {\override #'(font-name . "Lilyjazz-text")\fontsize #3 \fill-line { \fromproperty #'header:title } }
print-page-number = ##t
}
%--------------------------------------
\header
{
title ="The Universal Band Collection"
tagline = ##f
}
\markup { \vspace #2 }
\score
{
\header
{
title = " I. Western Girl"
subtitle = ##f
}
<<
\new Staff\IBWestern

}
%----------------------------------------------
\score
{
\header
{
title = "II. Just a Ballad"
subtitle = ##f
}
<<
\new Staff \IIBJust

}
%----------------------------------------------
\score
{
\header
{
title = " III. Play the Game"
subtitle = ##f
}
<<
\new Staff \IIIBPlay

}
%----------------------------------------------
\score
{
\header
{
title ="IV. San Diego "
subtitle = ##f
}
<<
\new Staff \IVBSan

}
%----------------------------------------------
\score
{
\header
{
title ="V. Finale Dance "
subtitle = ##f
}
<<
\new Staff \VBFinal

}
}
.
la tout va bien les sous-titres sont bien au milieu, c'est OK

Maintenant le fichier Conducteur:

\version "2.24.1"
#(set-global-staff-size 16) %taille des portées
\include "lilyjazz.ily"
%----------------------------------------
\paper
{
oddFooterMarkup = \markup {\override #'(font-name . "Lilyjazz-text")\fontsize #0.4 \fill-line { \fromproperty #'header:title } }
print-page-number = ##t
oddHeaderMarkup =
\markup
{
\if \should-print-page-number
{\fill-line { \null \concat { \fromproperty #'page:page-number-string "/" \page-ref #'theLastPage "00" "?"} } }
}
evenHeaderMarkup =
\markup
{
\if \should-print-page-number
{\fill-line { \concat { \fromproperty #'page:page-number-string "/" \page-ref #'theLastPage "00" "?"} \null }}
}
}
%------------------------------------------------
CouvSettings =
\paper
{
bookTitleMarkup =
\markup \override #'(font-name . "Lilyjazz-text") \column
{
\fill-line { \lower #12 \abs-fontsize #20 \fromproperty #'header:composer }
\fill-line { \lower #6 \abs-fontsize #16 \fromproperty #'header:dates }
\fill-line { \lower #6 \draw-line #'(30 . 0) }
\fill-line { \lower #6 \abs-fontsize #28 \fromproperty #'header:title }
\fill-line { \lower #6 \abs-fontsize #16 \fromproperty #'header:collection }
\fill-line { \lower #4 \abs-fontsize #14 \fromproperty #'header:collection-info }
\fill-line { \lower #3 \draw-line #'(5 . 0) }
\fill-line { \lower #5 \abs-fontsize #14 \fromproperty #'header:collection-date }
\fill-line { \lower #4 \draw-line #'(14 . 0) }
\fill-line { \lower #10 \abs-fontsize #12 \fromproperty #'header:subtitle }
}
}
%------------------------------------------
Global=
{
\numericTimeSignature
\set Score.rehearsalMarkFormatter = #format-mark-box-alphabet
\time 4/4
% \tempo 4 = 132
\override MultiMeasureRest.expand-limit = #1
\override Staff.TimeSignature.color = #darkblue
\override Staff.KeySignature.color = #darkred
\override Glissando.style = #'zigzag
}
%---------------------------------------------
IBWestern =
\relative c'
{
c1
}
%-------------------------------------
IIBJust =
\relative c
{
d1
}
%---------------------------------------------------
IIIBPlay =
\relative c
{
e1
}
%----------------------------------------
IVBSan =
\relative c
{
f1
}
%--------------------------------------
VBFinal =
<<
\relative c
{
g1
}

%----------------------------------
IWFluteUnDeux =
\relative c''
{
a1
}
%----------------------------------
IIJFluteUnDeux =
\relative c''
{
b1
}
%-------------------------------
IIIPFluteUnDeux =
\relative c''
{
\Global
cis1
}
%-------------------------------
IVSFluteUnDeux =
\relative c'
{
dis1
}
%-------------------------------
VFFluteUnDeux =
\relative c''
{
fis1
}
%---------------------------------------------
\book
{
\markup { \null }
\paper
{ \CouvSettings
print-all-headers = ##t
}
\header
{
title = "The Universal Band Collection"
subtitle =
\markup \column
{ "Piccolo"
"Flute 1"
"Flute 2"
"Flute3"
"Clarinette(option)"
"Clarinette1"
"Clarinette2"
"Clarinette3"
"Clarinette alto"
"Clarinette basse"
"Basson"
"Saxo alto 1"
"Saxo alto 2"
"Saxo ténor"
"Saxo Bariton"
"Tronpette1"
"Tronpette2"
"Tronpette3"
"Cor1"
"Cor2"
"Cor3"
"Trombone 1"
"Trombone 2 "
"Trombone 3"
"Euphonium"
"Tuba"
"Basse"
"Timbales"
"Percussion1"
"Percussion2"
"Percussion3"
}
composer = "Jacob de Haan"
collection-info = "Version 1"
collection-date = "01-03-2023"
}
\markup { \vspace #2 }
%-------------------------------------------
\score
{
\header
{
title =" I. Western Girl"
subtitle = ##f
}
<<
\override Score.RehearsalMark.color = #darkgreen
\override Score.BarNumber.break-visibility = ##(#t #t #t)
\override Score.BarNumber.font-size = #3
\set Score.currentBarNumber = #1
\new Staff ="Contrebasse"\with{instrumentName ="Contrebasse" shortInstrumentName ="Ctb"}
\IBWestern

\layout {indent = 8 short-indent = 0 }
}%score
%-------------------------------------------
\markup { \vspace #1 }
%-----------------------------------------
\score
{
\header
{
title = "II. Just a Ballad"
subtitle = ##f
}
<<
\override Score.BarNumber.break-visibility = ##(#t #t #t)
\override Score.BarNumber.font-size = #3
\set Score.currentBarNumber = #1
\new Staff ="Contrebasse"\with{instrumentName ="Contrebasse" shortInstrumentName ="Ctb"}
\IIBJust

\layout {indent = 8 short-indent = 0 }
}%score
%-------------------------------------------
\markup { \vspace #1 }
%-----------------------------------------
\score
{
\header
{
title = " III. Play the Game"
subtitle = ##f
}
<<
\override Score.BarNumber.break-visibility = ##(#t #t #t)
\override Score.BarNumber.font-size = #3
\set Score.currentBarNumber = #1
\new Staff ="Contrebasse"\with{instrumentName ="Contrebasse" shortInstrumentName ="Ctb"}
\IIIBPlay

\layout {indent = 8 short-indent = 0 }
}%score
%-------------------------------------------
\markup { \vspace #1 }
%-----------------------------------------
\score
{
\header
{
title ="IV. San Diego "
subtitle = ##f
}
<<
\override Score.BarNumber.break-visibility = ##(#t #t #t)
\override Score.BarNumber.font-size = #3
\set Score.currentBarNumber = #1
\new Staff ="Contrebasse"\with{instrumentName ="Contrebasse" shortInstrumentName ="Ctb"}
\IVBSan

\layout {indent = 8 short-indent = 0 }
}%score
%-------------------------------------------
\markup { \vspace #1 }
%-----------------------------------------
\score
{
\header
{
title ="V. Finale Dance "
subtitle = ##f
}
<<
\override Score.BarNumber.break-visibility = ##(#t #t #t)
\override Score.BarNumber.font-size = #3
\set Score.currentBarNumber = #1
\new Staff ="Contrebasse"\with{instrumentName ="Contrebasse" shortInstrumentName ="Ctb"}
\VBFinal

\layout {indent = 8 short-indent = 0 }
}%score
}
%----------------------------------------------

%je joins mon fichier instrument

%----------------------------------------------

\book
{
\bookOutputName "The Universal Band Collection (basse)"
%---------------------------------------
\paper
{
oddHeaderMarkup =
\markup
{
\if \should-print-page-number
{\fill-line { \null \concat { \fromproperty #'page:page-number-string "/" \page-ref #'theLastPage "00" "?"} } }
}
evenHeaderMarkup =
\markup
{
\if \should-print-page-number
{\fill-line { \concat { \fromproperty #'page:page-number-string "/" \page-ref #'theLastPage "00" "?"} \null }}
}
oddFooterMarkup = \markup {\override #'(font-name . "Lilyjazz-text")\fontsize #3 \fill-line { \fromproperty #'header:title } }
print-page-number = ##t
}
%--------------------------------------
\header
{
title = "The Universal Band Collection"
}
\markup { \vspace #2 }
\score
{
\header
{
title = " I. Western Girl"
subtitle = ##f
}
<<
\new Staff\IBWestern

}
%----------------------------------------------
\score
{
\header
{
title = "II. Just a Ballad"
subtitle = ##f
}
<<
\new Staff \IIBJust

}
%----------------------------------------------
\score
{
\header
{
title = " III. Play the Game"
subtitle = ##f
}
<<
\new Staff \IIIBPlay

}
%----------------------------------------------
\score
{
\header
{
title ="IV. San Diego "
subtitle = ##f
}
<<
\new Staff \IVBSan

}
%----------------------------------------------
\score
{
\header
{
title ="V. Finale Dance "
subtitle = ##f
}
<<
\new Staff \VBFinal

}
}

en 2ème partie j'ai joint mon fichier par instrument;

Et la cela va pas lily refuse d'écrire les sous-titres ,

qu'elle accepte dans le fichier "stand alone"

Quelle est mon erreur?

PS: j'utilise titre parce que je veux les sous titres au milieu de la page

Merci par avance

Cordialement

Christian

Le jeudi 02 mars 2023 à 22:56 +0100, Christian LE BARS a écrit :

Quelle est mon erreur?

Dans le \paper du \book où il manque des titres, tu as oublié le

print-all-headers = ##t

Cordialement,

Jean

Bonjour Jean et les autres.

Dire que j'ai passé toute une journée pour régler ce problème! GRRR....

cela n'est pas bon d'avoir la tête dans le guidon.

Maintenant mon conducteur est ok

Merci